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 void wxSpinCtrl_SetSelection(wxSpinCtrl
*self
,long from
,long to
){
381 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
382 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
383 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
384 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
385 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
387 #include <wx/slider.h>
390 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
391 static const wxString
wxPyToggleButtonNameStr(wxT(_T("wxToggleButton")));
394 // implement dummy classes and such for wxMac
396 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
398 class wxToggleButton
: public wxControl
401 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
402 const wxPoint
&, const wxSize
&, long,
403 const wxValidator
&, const wxString
&)
404 { PyErr_SetNone(PyExc_NotImplementedError
); }
407 { PyErr_SetNone(PyExc_NotImplementedError
); }
411 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
412 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
413 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
414 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
416 Py_INCREF(udata
->m_obj
);
423 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
424 self
->SetClientData(new wxPyUserData(clientData
));
426 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
){
427 wxPyUserData
* udata
= NULL
;
428 if (clientData
&& clientData
!= Py_None
)
429 udata
= new wxPyUserData(clientData
);
430 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
431 shortHelp
, longHelp
, udata
);
433 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
){
434 wxPyUserData
* udata
= NULL
;
435 if (clientData
&& clientData
!= Py_None
)
436 udata
= new wxPyUserData(clientData
);
437 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
438 shortHelp
, longHelp
, udata
);
440 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
441 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
443 Py_INCREF(udata
->m_obj
);
450 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
451 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
454 #include <wx/listctrl.h>
457 static const wxString
wxPyListCtrlNameStr(wxT(_T("wxListCtrl")));
458 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
459 // Python aware sorting function for wxPyListCtrl
460 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
462 PyObject
* func
= (PyObject
*)funcPtr
;
463 wxPyBeginBlockThreads();
465 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
466 PyObject
* result
= PyEval_CallObject(func
, args
);
469 retval
= PyInt_AsLong(result
);
473 wxPyEndBlockThreads();
477 // C++ Version of a Python aware class
478 class wxPyListCtrl
: public wxListCtrl
{
479 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
481 wxPyListCtrl() : wxListCtrl() {}
482 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
486 const wxValidator
& validator
,
487 const wxString
& name
) :
488 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
490 bool Create(wxWindow
* parent
, wxWindowID id
,
494 const wxValidator
& validator
,
495 const wxString
& name
) {
496 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
499 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
500 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
501 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
506 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
508 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
509 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
510 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
512 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
514 item
.SetMask( wxLIST_MASK_STATE
|
522 if (self
->GetColumn(col
, item
))
523 return new wxListItem(item
);
527 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
528 wxListItem
* info
= new wxListItem
;
529 info
->m_itemId
= itemId
;
531 info
->m_mask
= 0xFFFF;
532 self
->GetItem(*info
);
535 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
537 self
->GetItemPosition(item
, pos
);
540 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
542 self
->GetItemRect(item
, rect
, code
);
545 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
546 if (!PyCallable_Check(func
))
548 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
550 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
554 return (wxWindow
*)self
->m_mainWin
;
558 #include <wx/treectrl.h>
559 #include "wx/wxPython/pytree.h"
561 static const wxString
wxPyTreeCtrlNameStr(wxT(_T("wxTreeCtrl")));
562 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
563 if (!other
) return False
;
564 return *self
== *other
;
566 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
567 if (!other
) return True
;
568 return *self
!= *other
;
570 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
571 // C++ version of Python aware wxTreeCtrl
572 class wxPyTreeCtrl
: public wxTreeCtrl
{
573 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
575 wxPyTreeCtrl() : wxTreeCtrl() {}
576 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
580 const wxValidator
& validator
,
581 const wxString
& name
) :
582 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
584 bool Create(wxWindow
*parent
, wxWindowID id
,
588 const wxValidator
& validator
,
589 const wxString
& name
) {
590 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
594 int OnCompareItems(const wxTreeItemId
& item1
,
595 const wxTreeItemId
& item2
) {
598 wxPyBeginBlockThreads();
599 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
600 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
601 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
602 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
606 wxPyEndBlockThreads();
608 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
614 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
617 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
618 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
620 data
= new wxPyTreeItemData();
621 data
->SetId(item
); // set the id
622 self
->SetItemData(item
, data
);
626 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
627 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
629 data
= new wxPyTreeItemData();
630 data
->SetId(item
); // set the id
631 self
->SetItemData(item
, data
);
633 return data
->GetData();
635 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
636 data
->SetId(item
); // set the id
637 self
->SetItemData(item
, data
);
639 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
640 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
642 data
= new wxPyTreeItemData(obj
);
643 data
->SetId(item
); // set the id
644 self
->SetItemData(item
, data
);
648 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
649 wxPyBeginBlockThreads();
650 PyObject
* rval
= PyList_New(0);
651 wxArrayTreeItemIds array
;
653 num
= self
->GetSelections(array
);
654 for (x
=0; x
< num
; x
++) {
655 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
656 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
657 PyList_Append(rval
, item
);
659 wxPyEndBlockThreads();
662 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
663 wxTreeItemIdValue cookie
= 0;
664 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
665 wxPyBeginBlockThreads();
666 PyObject
* tup
= PyTuple_New(2);
667 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
668 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
669 wxPyEndBlockThreads();
672 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
673 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
674 wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
677 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
678 wxPyEndBlockThreads();
681 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
683 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
684 wxPyBeginBlockThreads();
685 wxRect
* r
= new wxRect(rect
);
686 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
687 wxPyEndBlockThreads();
693 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
694 // C++ version of Python aware wxControl
695 class wxPyControl
: public wxControl
697 DECLARE_DYNAMIC_CLASS(wxPyControl
)
699 wxPyControl() : wxControl() {}
700 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
701 const wxPoint
& pos
= wxDefaultPosition
,
702 const wxSize
& size
= wxDefaultSize
,
704 const wxValidator
& validator
=wxDefaultValidator
,
705 const wxString
& name
= wxPyControlNameStr
)
706 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
709 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
710 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
711 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
712 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
714 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
715 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
716 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
718 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
719 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
721 DEC_PYCALLBACK__(InitDialog
);
722 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
723 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
724 DEC_PYCALLBACK_BOOL_(Validate
);
726 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
727 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
728 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
730 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
731 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
736 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
738 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
739 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
740 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
741 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
743 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
744 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
745 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
747 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
748 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
750 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
751 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
752 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
753 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
755 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
756 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
757 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
759 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
760 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
765 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
767 #include <wx/generic/dragimgg.h>
772 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
773 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
778 static PyObject
*_wrap_ButtonNameStr_get() {
783 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
785 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
792 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
794 wxWindow
*arg1
= (wxWindow
*) 0 ;
797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
801 long arg6
= (long) 0 ;
802 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
803 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
804 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
805 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
811 PyObject
* obj0
= 0 ;
812 PyObject
* obj2
= 0 ;
813 PyObject
* obj3
= 0 ;
814 PyObject
* obj4
= 0 ;
815 PyObject
* obj6
= 0 ;
816 PyObject
* obj7
= 0 ;
818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
824 arg3
= wxString_in_helper(obj2
);
825 if (arg3
== NULL
) SWIG_fail
;
831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
841 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
848 arg8
= wxString_in_helper(obj7
);
849 if (arg8
== NULL
) SWIG_fail
;
854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
855 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
857 wxPyEndAllowThreads(__tstate
);
858 if (PyErr_Occurred()) SWIG_fail
;
861 resultobj
= wxPyMake_wxObject(result
);
885 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
895 result
= (wxButton
*)new wxButton();
897 wxPyEndAllowThreads(__tstate
);
898 if (PyErr_Occurred()) SWIG_fail
;
901 resultobj
= wxPyMake_wxObject(result
);
909 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 wxButton
*arg1
= (wxButton
*) 0 ;
912 wxWindow
*arg2
= (wxWindow
*) 0 ;
915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
919 long arg7
= (long) 0 ;
920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
922 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
929 PyObject
* obj0
= 0 ;
930 PyObject
* obj1
= 0 ;
931 PyObject
* obj3
= 0 ;
932 PyObject
* obj4
= 0 ;
933 PyObject
* obj5
= 0 ;
934 PyObject
* obj7
= 0 ;
935 PyObject
* obj8
= 0 ;
937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
942 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
944 arg4
= wxString_in_helper(obj3
);
945 if (arg4
== NULL
) SWIG_fail
;
951 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
957 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
961 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
963 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
968 arg9
= wxString_in_helper(obj8
);
969 if (arg9
== NULL
) SWIG_fail
;
974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
977 wxPyEndAllowThreads(__tstate
);
978 if (PyErr_Occurred()) SWIG_fail
;
980 resultobj
= PyInt_FromLong((long)result
);
1003 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1004 PyObject
*resultobj
;
1005 wxButton
*arg1
= (wxButton
*) 0 ;
1006 PyObject
* obj0
= 0 ;
1008 (char *) "self", NULL
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1015 (arg1
)->SetDefault();
1017 wxPyEndAllowThreads(__tstate
);
1018 if (PyErr_Occurred()) SWIG_fail
;
1020 Py_INCREF(Py_None
); resultobj
= Py_None
;
1027 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1028 PyObject
*resultobj
;
1034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1037 result
= wxButton::GetDefaultSize();
1039 wxPyEndAllowThreads(__tstate
);
1040 if (PyErr_Occurred()) SWIG_fail
;
1044 resultptr
= new wxSize((wxSize
&) result
);
1045 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1053 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1056 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1058 return Py_BuildValue((char *)"");
1060 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
*resultobj
;
1062 wxWindow
*arg1
= (wxWindow
*) 0 ;
1064 wxBitmap
*arg3
= 0 ;
1065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1069 long arg6
= (long) wxBU_AUTODRAW
;
1070 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1071 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1072 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1074 wxBitmapButton
*result
;
1077 bool temp8
= False
;
1078 PyObject
* obj0
= 0 ;
1079 PyObject
* obj2
= 0 ;
1080 PyObject
* obj3
= 0 ;
1081 PyObject
* obj4
= 0 ;
1082 PyObject
* obj6
= 0 ;
1083 PyObject
* obj7
= 0 ;
1085 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1090 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1092 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1107 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1114 arg8
= wxString_in_helper(obj7
);
1115 if (arg8
== NULL
) SWIG_fail
;
1120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1121 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1123 wxPyEndAllowThreads(__tstate
);
1124 if (PyErr_Occurred()) SWIG_fail
;
1127 resultobj
= wxPyMake_wxObject(result
);
1143 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1144 PyObject
*resultobj
;
1145 wxBitmapButton
*result
;
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1153 result
= (wxBitmapButton
*)new wxBitmapButton();
1155 wxPyEndAllowThreads(__tstate
);
1156 if (PyErr_Occurred()) SWIG_fail
;
1159 resultobj
= wxPyMake_wxObject(result
);
1167 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
*resultobj
;
1169 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1170 wxWindow
*arg2
= (wxWindow
*) 0 ;
1172 wxBitmap
*arg4
= 0 ;
1173 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1174 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1175 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1176 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1177 long arg7
= (long) wxBU_AUTODRAW
;
1178 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1179 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1180 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1181 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1185 bool temp9
= False
;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj3
= 0 ;
1189 PyObject
* obj4
= 0 ;
1190 PyObject
* obj5
= 0 ;
1191 PyObject
* obj7
= 0 ;
1192 PyObject
* obj8
= 0 ;
1194 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1200 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1207 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1213 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1217 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1224 arg9
= wxString_in_helper(obj8
);
1225 if (arg9
== NULL
) SWIG_fail
;
1230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1231 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1233 wxPyEndAllowThreads(__tstate
);
1234 if (PyErr_Occurred()) SWIG_fail
;
1236 resultobj
= PyInt_FromLong((long)result
);
1251 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
*resultobj
;
1253 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1255 PyObject
* obj0
= 0 ;
1257 (char *) "self", NULL
1260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1264 result
= (arg1
)->GetBitmapLabel();
1266 wxPyEndAllowThreads(__tstate
);
1267 if (PyErr_Occurred()) SWIG_fail
;
1270 wxBitmap
* resultptr
;
1271 resultptr
= new wxBitmap((wxBitmap
&) result
);
1272 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1280 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1281 PyObject
*resultobj
;
1282 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1284 PyObject
* obj0
= 0 ;
1286 (char *) "self", NULL
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1293 result
= (arg1
)->GetBitmapDisabled();
1295 wxPyEndAllowThreads(__tstate
);
1296 if (PyErr_Occurred()) SWIG_fail
;
1299 wxBitmap
* resultptr
;
1300 resultptr
= new wxBitmap((wxBitmap
&) result
);
1301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1309 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
*resultobj
;
1311 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1313 PyObject
* obj0
= 0 ;
1315 (char *) "self", NULL
1318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 result
= (arg1
)->GetBitmapFocus();
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1328 wxBitmap
* resultptr
;
1329 resultptr
= new wxBitmap((wxBitmap
&) result
);
1330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1338 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
*resultobj
;
1340 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1342 PyObject
* obj0
= 0 ;
1344 (char *) "self", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1351 result
= (arg1
)->GetBitmapSelected();
1353 wxPyEndAllowThreads(__tstate
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1357 wxBitmap
* resultptr
;
1358 resultptr
= new wxBitmap((wxBitmap
&) result
);
1359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1367 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1370 wxBitmap
*arg2
= 0 ;
1371 PyObject
* obj0
= 0 ;
1372 PyObject
* obj1
= 0 ;
1374 (char *) "self",(char *) "bitmap", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1379 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1381 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 Py_INCREF(Py_None
); resultobj
= Py_None
;
1397 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1398 PyObject
*resultobj
;
1399 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1400 wxBitmap
*arg2
= 0 ;
1401 PyObject
* obj0
= 0 ;
1402 PyObject
* obj1
= 0 ;
1404 (char *) "self",(char *) "bitmap", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1415 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1417 wxPyEndAllowThreads(__tstate
);
1418 if (PyErr_Occurred()) SWIG_fail
;
1420 Py_INCREF(Py_None
); resultobj
= Py_None
;
1427 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1430 wxBitmap
*arg2
= 0 ;
1431 PyObject
* obj0
= 0 ;
1432 PyObject
* obj1
= 0 ;
1434 (char *) "self",(char *) "bitmap", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1450 Py_INCREF(Py_None
); resultobj
= Py_None
;
1457 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1458 PyObject
*resultobj
;
1459 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1460 wxBitmap
*arg2
= 0 ;
1461 PyObject
* obj0
= 0 ;
1462 PyObject
* obj1
= 0 ;
1464 (char *) "self",(char *) "bitmap", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1475 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) SWIG_fail
;
1480 Py_INCREF(Py_None
); resultobj
= Py_None
;
1487 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1492 PyObject
* obj0
= 0 ;
1494 (char *) "self",(char *) "x",(char *) "y", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1501 (arg1
)->SetMargins(arg2
,arg3
);
1503 wxPyEndAllowThreads(__tstate
);
1504 if (PyErr_Occurred()) SWIG_fail
;
1506 Py_INCREF(Py_None
); resultobj
= Py_None
;
1513 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1517 PyObject
* obj0
= 0 ;
1519 (char *) "self", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1531 resultobj
= PyInt_FromLong((long)result
);
1538 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "self", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1551 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1553 wxPyEndAllowThreads(__tstate
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1556 resultobj
= PyInt_FromLong((long)result
);
1563 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1566 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1568 return Py_BuildValue((char *)"");
1570 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1571 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1576 static PyObject
*_wrap_CheckBoxNameStr_get() {
1581 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1583 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1590 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxWindow
*arg1
= (wxWindow
*) 0 ;
1594 wxString
*arg3
= 0 ;
1595 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1596 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1597 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1598 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1599 long arg6
= (long) 0 ;
1600 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1601 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1602 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1603 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1605 bool temp3
= False
;
1608 bool temp8
= False
;
1609 PyObject
* obj0
= 0 ;
1610 PyObject
* obj2
= 0 ;
1611 PyObject
* obj3
= 0 ;
1612 PyObject
* obj4
= 0 ;
1613 PyObject
* obj6
= 0 ;
1614 PyObject
* obj7
= 0 ;
1616 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 arg3
= wxString_in_helper(obj2
);
1623 if (arg3
== NULL
) SWIG_fail
;
1629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1639 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1641 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1646 arg8
= wxString_in_helper(obj7
);
1647 if (arg8
== NULL
) SWIG_fail
;
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) SWIG_fail
;
1658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1681 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1691 result
= (wxCheckBox
*)new wxCheckBox();
1693 wxPyEndAllowThreads(__tstate
);
1694 if (PyErr_Occurred()) SWIG_fail
;
1696 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1703 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1705 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1706 wxWindow
*arg2
= (wxWindow
*) 0 ;
1708 wxString
*arg4
= 0 ;
1709 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1710 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1711 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1712 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1713 long arg7
= (long) 0 ;
1714 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1715 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1716 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1717 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1719 bool temp4
= False
;
1722 bool temp9
= False
;
1723 PyObject
* obj0
= 0 ;
1724 PyObject
* obj1
= 0 ;
1725 PyObject
* obj3
= 0 ;
1726 PyObject
* obj4
= 0 ;
1727 PyObject
* obj5
= 0 ;
1728 PyObject
* obj7
= 0 ;
1729 PyObject
* obj8
= 0 ;
1731 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1738 arg4
= wxString_in_helper(obj3
);
1739 if (arg4
== NULL
) SWIG_fail
;
1745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1755 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1762 arg9
= wxString_in_helper(obj8
);
1763 if (arg9
== NULL
) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 resultobj
= PyInt_FromLong((long)result
);
1797 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "self", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1810 result
= (bool)(arg1
)->GetValue();
1812 wxPyEndAllowThreads(__tstate
);
1813 if (PyErr_Occurred()) SWIG_fail
;
1815 resultobj
= PyInt_FromLong((long)result
);
1822 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1823 PyObject
*resultobj
;
1824 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1826 PyObject
* obj0
= 0 ;
1828 (char *) "self", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1835 result
= (bool)(arg1
)->IsChecked();
1837 wxPyEndAllowThreads(__tstate
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 resultobj
= PyInt_FromLong((long)result
);
1847 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
*resultobj
;
1849 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1851 PyObject
* obj0
= 0 ;
1852 PyObject
* obj1
= 0 ;
1854 (char *) "self",(char *) "state", NULL
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1859 arg2
= PyInt_AsLong(obj1
) ? true : false;
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1863 (arg1
)->SetValue(arg2
);
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 Py_INCREF(Py_None
); resultobj
= Py_None
;
1875 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1881 (char *) "self", NULL
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= PyInt_FromLong((long)result
);
1900 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self",(char *) "state", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1918 Py_INCREF(Py_None
); resultobj
= Py_None
;
1925 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1929 PyObject
* obj0
= 0 ;
1931 (char *) "self", NULL
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1938 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1940 wxPyEndAllowThreads(__tstate
);
1941 if (PyErr_Occurred()) SWIG_fail
;
1943 resultobj
= PyInt_FromLong((long)result
);
1950 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1954 PyObject
* obj0
= 0 ;
1956 (char *) "self", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 resultobj
= PyInt_FromLong((long)result
);
1975 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
1977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1978 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
1980 return Py_BuildValue((char *)"");
1982 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
1983 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
1988 static PyObject
*_wrap_ChoiceNameStr_get() {
1993 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
1995 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2002 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxWindow
*arg1
= (wxWindow
*) 0 ;
2006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2010 int arg5
= (int) 0 ;
2011 wxString
*arg6
= (wxString
*) NULL
;
2012 long arg7
= (long) 0 ;
2013 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2014 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2015 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2016 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2020 bool temp8
= False
;
2021 PyObject
* obj0
= 0 ;
2022 PyObject
* obj2
= 0 ;
2023 PyObject
* obj3
= 0 ;
2024 PyObject
* obj4
= 0 ;
2025 PyObject
* obj6
= 0 ;
2026 PyObject
* obj7
= 0 ;
2028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2047 arg5
= PyList_Size(obj4
);
2048 arg6
= wxString_LIST_helper(obj4
);
2049 if (arg6
== NULL
) SWIG_fail
;
2053 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2060 arg9
= wxString_in_helper(obj7
);
2061 if (arg9
== NULL
) SWIG_fail
;
2066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2067 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2069 wxPyEndAllowThreads(__tstate
);
2070 if (PyErr_Occurred()) SWIG_fail
;
2072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2074 if (arg6
) delete [] arg6
;
2083 if (arg6
) delete [] arg6
;
2093 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
*resultobj
;
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= (wxChoice
*)new wxChoice();
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2115 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxChoice
*arg1
= (wxChoice
*) 0 ;
2118 wxWindow
*arg2
= (wxWindow
*) 0 ;
2120 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2121 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2122 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2123 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2124 int arg6
= (int) 0 ;
2125 wxString
*arg7
= (wxString
*) NULL
;
2126 long arg8
= (long) 0 ;
2127 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2128 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2129 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2130 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2134 bool temp9
= False
;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2137 PyObject
* obj3
= 0 ;
2138 PyObject
* obj4
= 0 ;
2139 PyObject
* obj5
= 0 ;
2140 PyObject
* obj7
= 0 ;
2141 PyObject
* obj8
= 0 ;
2143 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2163 arg6
= PyList_Size(obj5
);
2164 arg7
= wxString_LIST_helper(obj5
);
2165 if (arg7
== NULL
) SWIG_fail
;
2169 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2176 arg10
= wxString_in_helper(obj8
);
2177 if (arg10
== NULL
) SWIG_fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2188 resultobj
= PyInt_FromLong((long)result
);
2190 if (arg7
) delete [] arg7
;
2199 if (arg7
) delete [] arg7
;
2209 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2211 wxChoice
*arg1
= (wxChoice
*) 0 ;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "self", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (int)(arg1
)->GetColumns();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxChoice
*arg1
= (wxChoice
*) 0 ;
2237 int arg2
= (int) (int)1 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self",(char *) "n", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->SetColumns(arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxChoice
*arg1
= (wxChoice
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2265 (char *) "self",(char *) "n", NULL
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 (arg1
)->SetSelection(arg2
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2277 Py_INCREF(Py_None
); resultobj
= Py_None
;
2284 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
*resultobj
;
2286 wxChoice
*arg1
= (wxChoice
*) 0 ;
2287 wxString
*arg2
= 0 ;
2288 bool temp2
= False
;
2289 PyObject
* obj0
= 0 ;
2290 PyObject
* obj1
= 0 ;
2292 (char *) "self",(char *) "string", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2298 arg2
= wxString_in_helper(obj1
);
2299 if (arg2
== NULL
) SWIG_fail
;
2303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2304 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2306 wxPyEndAllowThreads(__tstate
);
2307 if (PyErr_Occurred()) SWIG_fail
;
2309 Py_INCREF(Py_None
); resultobj
= Py_None
;
2324 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxChoice
*arg1
= (wxChoice
*) 0 ;
2328 wxString
*arg3
= 0 ;
2329 bool temp3
= False
;
2330 PyObject
* obj0
= 0 ;
2331 PyObject
* obj2
= 0 ;
2333 (char *) "self",(char *) "n",(char *) "s", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2339 arg3
= wxString_in_helper(obj2
);
2340 if (arg3
== NULL
) SWIG_fail
;
2344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2347 wxPyEndAllowThreads(__tstate
);
2348 if (PyErr_Occurred()) SWIG_fail
;
2350 Py_INCREF(Py_None
); resultobj
= Py_None
;
2365 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2368 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2370 return Py_BuildValue((char *)"");
2372 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2373 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2378 static PyObject
*_wrap_ComboBoxNameStr_get() {
2383 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2385 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2392 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxWindow
*arg1
= (wxWindow
*) 0 ;
2396 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2397 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2398 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2399 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2400 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2401 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2402 int arg6
= (int) 0 ;
2403 wxString
*arg7
= (wxString
*) NULL
;
2404 long arg8
= (long) 0 ;
2405 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2406 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2407 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2408 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2410 bool temp3
= False
;
2413 bool temp9
= False
;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj2
= 0 ;
2416 PyObject
* obj3
= 0 ;
2417 PyObject
* obj4
= 0 ;
2418 PyObject
* obj5
= 0 ;
2419 PyObject
* obj7
= 0 ;
2420 PyObject
* obj8
= 0 ;
2422 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2429 arg3
= wxString_in_helper(obj2
);
2430 if (arg3
== NULL
) SWIG_fail
;
2437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2448 arg6
= PyList_Size(obj5
);
2449 arg7
= wxString_LIST_helper(obj5
);
2450 if (arg7
== NULL
) SWIG_fail
;
2454 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2461 arg10
= wxString_in_helper(obj8
);
2462 if (arg10
== NULL
) SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2468 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2470 wxPyEndAllowThreads(__tstate
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2479 if (arg7
) delete [] arg7
;
2492 if (arg7
) delete [] arg7
;
2502 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
*resultobj
;
2509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (wxComboBox
*)new wxComboBox();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2524 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2527 wxWindow
*arg2
= (wxWindow
*) 0 ;
2529 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2530 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2531 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2532 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2533 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2534 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2535 int arg7
= (int) 0 ;
2536 wxString
*arg8
= (wxString
*) NULL
;
2537 long arg9
= (long) 0 ;
2538 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2539 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2540 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2541 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2543 bool temp4
= False
;
2546 bool temp10
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj3
= 0 ;
2550 PyObject
* obj4
= 0 ;
2551 PyObject
* obj5
= 0 ;
2552 PyObject
* obj6
= 0 ;
2553 PyObject
* obj8
= 0 ;
2554 PyObject
* obj9
= 0 ;
2556 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 arg4
= wxString_in_helper(obj3
);
2565 if (arg4
== NULL
) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2583 arg7
= PyList_Size(obj6
);
2584 arg8
= wxString_LIST_helper(obj6
);
2585 if (arg8
== NULL
) SWIG_fail
;
2589 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2590 if (arg10
== NULL
) {
2591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2596 arg11
= wxString_in_helper(obj9
);
2597 if (arg11
== NULL
) SWIG_fail
;
2602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2603 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2605 wxPyEndAllowThreads(__tstate
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2608 resultobj
= PyInt_FromLong((long)result
);
2614 if (arg8
) delete [] arg8
;
2627 if (arg8
) delete [] arg8
;
2637 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2643 (char *) "self", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= ((wxComboBox
const *)arg1
)->GetValue();
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2668 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2671 wxString
*arg2
= 0 ;
2672 bool temp2
= False
;
2673 PyObject
* obj0
= 0 ;
2674 PyObject
* obj1
= 0 ;
2676 (char *) "self",(char *) "value", NULL
2679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2682 arg2
= wxString_in_helper(obj1
);
2683 if (arg2
== NULL
) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 (arg1
)->SetValue((wxString
const &)*arg2
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2693 Py_INCREF(Py_None
); resultobj
= Py_None
;
2708 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2711 PyObject
* obj0
= 0 ;
2713 (char *) "self", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 Py_INCREF(Py_None
); resultobj
= Py_None
;
2732 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2737 (char *) "self", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2759 PyObject
* obj0
= 0 ;
2761 (char *) "self", NULL
2764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 wxPyEndAllowThreads(__tstate
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2773 Py_INCREF(Py_None
); resultobj
= Py_None
;
2780 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2784 PyObject
* obj0
= 0 ;
2786 (char *) "self",(char *) "pos", NULL
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2793 (arg1
)->SetInsertionPoint(arg2
);
2795 wxPyEndAllowThreads(__tstate
);
2796 if (PyErr_Occurred()) SWIG_fail
;
2798 Py_INCREF(Py_None
); resultobj
= Py_None
;
2805 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2806 PyObject
*resultobj
;
2807 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2809 PyObject
* obj0
= 0 ;
2811 (char *) "self", NULL
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2823 resultobj
= PyInt_FromLong((long)result
);
2830 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
*resultobj
;
2832 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2834 PyObject
* obj0
= 0 ;
2836 (char *) "self", NULL
2839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2848 resultobj
= PyInt_FromLong((long)result
);
2855 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2856 PyObject
*resultobj
;
2857 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2860 wxString
*arg4
= 0 ;
2861 bool temp4
= False
;
2862 PyObject
* obj0
= 0 ;
2863 PyObject
* obj3
= 0 ;
2865 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2871 arg4
= wxString_in_helper(obj3
);
2872 if (arg4
== NULL
) SWIG_fail
;
2876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2877 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2879 wxPyEndAllowThreads(__tstate
);
2880 if (PyErr_Occurred()) SWIG_fail
;
2882 Py_INCREF(Py_None
); resultobj
= Py_None
;
2897 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2898 PyObject
*resultobj
;
2899 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2901 PyObject
* obj0
= 0 ;
2903 (char *) "self",(char *) "n", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 (arg1
)->SetSelection(arg2
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2915 Py_INCREF(Py_None
); resultobj
= Py_None
;
2922 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2923 PyObject
*resultobj
;
2924 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2927 PyObject
* obj0
= 0 ;
2929 (char *) "self",(char *) "from",(char *) "to", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 (arg1
)->SetSelection(arg2
,arg3
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2941 Py_INCREF(Py_None
); resultobj
= Py_None
;
2948 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
*resultobj
;
2950 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2952 PyObject
* obj0
= 0 ;
2953 PyObject
* obj1
= 0 ;
2955 (char *) "self",(char *) "editable", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2960 arg2
= PyInt_AsLong(obj1
) ? true : false;
2961 if (PyErr_Occurred()) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 (arg1
)->SetEditable(arg2
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2969 Py_INCREF(Py_None
); resultobj
= Py_None
;
2976 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2988 (arg1
)->SetInsertionPointEnd();
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 Py_INCREF(Py_None
); resultobj
= Py_None
;
3000 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3005 PyObject
* obj0
= 0 ;
3007 (char *) "self",(char *) "from",(char *) "to", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 (arg1
)->Remove(arg2
,arg3
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3029 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3031 return Py_BuildValue((char *)"");
3033 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3034 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3039 static PyObject
*_wrap_GaugeNameStr_get() {
3044 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3046 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3053 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxWindow
*arg1
= (wxWindow
*) 0 ;
3058 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3059 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3060 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3061 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3062 long arg6
= (long) wxGA_HORIZONTAL
;
3063 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3064 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3065 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3066 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3070 bool temp8
= False
;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj3
= 0 ;
3073 PyObject
* obj4
= 0 ;
3074 PyObject
* obj6
= 0 ;
3075 PyObject
* obj7
= 0 ;
3077 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3085 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3091 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3095 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3102 arg8
= wxString_in_helper(obj7
);
3103 if (arg8
== NULL
) SWIG_fail
;
3108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3109 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3111 wxPyEndAllowThreads(__tstate
);
3112 if (PyErr_Occurred()) SWIG_fail
;
3114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3129 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 result
= (wxGauge
*)new wxGauge();
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3151 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxGauge
*arg1
= (wxGauge
*) 0 ;
3154 wxWindow
*arg2
= (wxWindow
*) 0 ;
3157 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3158 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3159 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3160 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3161 long arg7
= (long) wxGA_HORIZONTAL
;
3162 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3163 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3164 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3165 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3169 bool temp9
= False
;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3172 PyObject
* obj4
= 0 ;
3173 PyObject
* obj5
= 0 ;
3174 PyObject
* obj7
= 0 ;
3175 PyObject
* obj8
= 0 ;
3177 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3192 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3196 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3198 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3203 arg9
= wxString_in_helper(obj8
);
3204 if (arg9
== NULL
) SWIG_fail
;
3209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3210 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3212 wxPyEndAllowThreads(__tstate
);
3213 if (PyErr_Occurred()) SWIG_fail
;
3215 resultobj
= PyInt_FromLong((long)result
);
3230 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3232 wxGauge
*arg1
= (wxGauge
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3236 (char *) "self",(char *) "range", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 (arg1
)->SetRange(arg2
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3248 Py_INCREF(Py_None
); resultobj
= Py_None
;
3255 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
*resultobj
;
3257 wxGauge
*arg1
= (wxGauge
*) 0 ;
3259 PyObject
* obj0
= 0 ;
3261 (char *) "self", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= PyInt_FromLong((long)result
);
3280 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxGauge
*arg1
= (wxGauge
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self",(char *) "pos", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->SetValue(arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3305 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxGauge
*arg1
= (wxGauge
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3318 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3320 wxPyEndAllowThreads(__tstate
);
3321 if (PyErr_Occurred()) SWIG_fail
;
3323 resultobj
= PyInt_FromLong((long)result
);
3330 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3332 wxGauge
*arg1
= (wxGauge
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= PyInt_FromLong((long)result
);
3355 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxGauge
*arg1
= (wxGauge
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3361 (char *) "self",(char *) "w", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3368 (arg1
)->SetShadowWidth(arg2
);
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3380 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxGauge
*arg1
= (wxGauge
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3398 resultobj
= PyInt_FromLong((long)result
);
3405 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3407 wxGauge
*arg1
= (wxGauge
*) 0 ;
3409 PyObject
* obj0
= 0 ;
3411 (char *) "self",(char *) "w", NULL
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 (arg1
)->SetBezelFace(arg2
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3423 Py_INCREF(Py_None
); resultobj
= Py_None
;
3430 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxGauge
*arg1
= (wxGauge
*) 0 ;
3434 PyObject
* obj0
= 0 ;
3436 (char *) "self", NULL
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= PyInt_FromLong((long)result
);
3455 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3458 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3460 return Py_BuildValue((char *)"");
3462 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3463 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3468 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3473 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3475 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3482 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3483 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3488 static PyObject
*_wrap_StaticBoxNameStr_get() {
3493 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3495 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3502 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3503 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3508 static PyObject
*_wrap_StaticTextNameStr_get() {
3513 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3515 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3522 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxWindow
*arg1
= (wxWindow
*) 0 ;
3526 wxString
*arg3
= 0 ;
3527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3531 long arg6
= (long) 0 ;
3532 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3533 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3534 wxStaticBox
*result
;
3535 bool temp3
= False
;
3538 bool temp7
= False
;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj2
= 0 ;
3541 PyObject
* obj3
= 0 ;
3542 PyObject
* obj4
= 0 ;
3543 PyObject
* obj6
= 0 ;
3545 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3551 arg3
= wxString_in_helper(obj2
);
3552 if (arg3
== NULL
) SWIG_fail
;
3558 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3564 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3569 arg7
= wxString_in_helper(obj6
);
3570 if (arg7
== NULL
) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3582 resultobj
= wxPyMake_wxObject(result
);
3606 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxStaticBox
*result
;
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 result
= (wxStaticBox
*)new wxStaticBox();
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3622 resultobj
= wxPyMake_wxObject(result
);
3630 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
*resultobj
;
3632 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3633 wxWindow
*arg2
= (wxWindow
*) 0 ;
3635 wxString
*arg4
= 0 ;
3636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3640 long arg7
= (long) 0 ;
3641 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3642 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3644 bool temp4
= False
;
3647 bool temp8
= False
;
3648 PyObject
* obj0
= 0 ;
3649 PyObject
* obj1
= 0 ;
3650 PyObject
* obj3
= 0 ;
3651 PyObject
* obj4
= 0 ;
3652 PyObject
* obj5
= 0 ;
3653 PyObject
* obj7
= 0 ;
3655 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3660 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3662 arg4
= wxString_in_helper(obj3
);
3663 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3680 arg8
= wxString_in_helper(obj7
);
3681 if (arg8
== NULL
) SWIG_fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= PyInt_FromLong((long)result
);
3715 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3718 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3720 return Py_BuildValue((char *)"");
3722 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxWindow
*arg1
= (wxWindow
*) 0 ;
3726 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3727 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3728 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3729 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3730 long arg5
= (long) wxLI_HORIZONTAL
;
3731 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3732 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3733 wxStaticLine
*result
;
3736 bool temp6
= False
;
3737 PyObject
* obj0
= 0 ;
3738 PyObject
* obj2
= 0 ;
3739 PyObject
* obj3
= 0 ;
3740 PyObject
* obj5
= 0 ;
3742 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3750 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3756 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3761 arg6
= wxString_in_helper(obj5
);
3762 if (arg6
== NULL
) SWIG_fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3788 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3789 PyObject
*resultobj
;
3790 wxStaticLine
*result
;
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (wxStaticLine
*)new wxStaticLine();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3810 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3813 wxWindow
*arg2
= (wxWindow
*) 0 ;
3815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3819 long arg6
= (long) wxLI_HORIZONTAL
;
3820 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3825 bool temp7
= False
;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3828 PyObject
* obj3
= 0 ;
3829 PyObject
* obj4
= 0 ;
3830 PyObject
* obj6
= 0 ;
3832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3841 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3847 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3852 arg7
= wxString_in_helper(obj6
);
3853 if (arg7
== NULL
) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= PyInt_FromLong((long)result
);
3879 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "self", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 resultobj
= PyInt_FromLong((long)result
);
3904 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (int)wxStaticLine::GetDefaultSize();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= PyInt_FromLong((long)result
);
3926 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3929 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3931 return Py_BuildValue((char *)"");
3933 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxWindow
*arg1
= (wxWindow
*) 0 ;
3937 wxString
*arg3
= 0 ;
3938 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3939 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3940 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3941 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3942 long arg6
= (long) 0 ;
3943 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3945 wxStaticText
*result
;
3946 bool temp3
= False
;
3949 bool temp7
= False
;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj2
= 0 ;
3952 PyObject
* obj3
= 0 ;
3953 PyObject
* obj4
= 0 ;
3954 PyObject
* obj6
= 0 ;
3956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3962 arg3
= wxString_in_helper(obj2
);
3963 if (arg3
== NULL
) SWIG_fail
;
3969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3980 arg7
= wxString_in_helper(obj6
);
3981 if (arg7
== NULL
) SWIG_fail
;
3986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3987 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3989 wxPyEndAllowThreads(__tstate
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4015 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
*resultobj
;
4017 wxStaticText
*result
;
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (wxStaticText
*)new wxStaticText();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4037 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4040 wxWindow
*arg2
= (wxWindow
*) 0 ;
4042 wxString
*arg4
= 0 ;
4043 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4044 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4045 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4046 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4047 long arg7
= (long) 0 ;
4048 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4051 bool temp4
= False
;
4054 bool temp8
= False
;
4055 PyObject
* obj0
= 0 ;
4056 PyObject
* obj1
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 PyObject
* obj7
= 0 ;
4062 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4069 arg4
= wxString_in_helper(obj3
);
4070 if (arg4
== NULL
) SWIG_fail
;
4076 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4082 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4087 arg8
= wxString_in_helper(obj7
);
4088 if (arg8
== NULL
) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= PyInt_FromLong((long)result
);
4122 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4125 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4127 return Py_BuildValue((char *)"");
4129 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxWindow
*arg1
= (wxWindow
*) 0 ;
4133 wxBitmap
*arg3
= 0 ;
4134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4138 long arg6
= (long) 0 ;
4139 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4141 wxStaticBitmap
*result
;
4144 bool temp7
= False
;
4145 PyObject
* obj0
= 0 ;
4146 PyObject
* obj2
= 0 ;
4147 PyObject
* obj3
= 0 ;
4148 PyObject
* obj4
= 0 ;
4149 PyObject
* obj6
= 0 ;
4151 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4156 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4163 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4169 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4174 arg7
= wxString_in_helper(obj6
);
4175 if (arg7
== NULL
) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4201 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxStaticBitmap
*result
;
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4223 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4226 wxWindow
*arg2
= (wxWindow
*) 0 ;
4228 wxBitmap
*arg4
= 0 ;
4229 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4230 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4231 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4232 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4233 long arg7
= (long) 0 ;
4234 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4235 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4239 bool temp8
= False
;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4242 PyObject
* obj3
= 0 ;
4243 PyObject
* obj4
= 0 ;
4244 PyObject
* obj5
= 0 ;
4245 PyObject
* obj7
= 0 ;
4247 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4253 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4260 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4266 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4271 arg8
= wxString_in_helper(obj7
);
4272 if (arg8
== NULL
) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= PyInt_FromLong((long)result
);
4298 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4299 PyObject
*resultobj
;
4300 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4302 PyObject
* obj0
= 0 ;
4304 (char *) "self", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 result
= (arg1
)->GetBitmap();
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4317 wxBitmap
* resultptr
;
4318 resultptr
= new wxBitmap((wxBitmap
&) result
);
4319 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4327 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4330 wxBitmap
*arg2
= 0 ;
4331 PyObject
* obj0
= 0 ;
4332 PyObject
* obj1
= 0 ;
4334 (char *) "self",(char *) "bitmap", NULL
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4341 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 Py_INCREF(Py_None
); resultobj
= Py_None
;
4357 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4361 PyObject
* obj0
= 0 ;
4362 PyObject
* obj1
= 0 ;
4364 (char *) "self",(char *) "icon", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4371 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4375 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4377 wxPyEndAllowThreads(__tstate
);
4378 if (PyErr_Occurred()) SWIG_fail
;
4380 Py_INCREF(Py_None
); resultobj
= Py_None
;
4387 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4390 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4392 return Py_BuildValue((char *)"");
4394 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4395 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4400 static PyObject
*_wrap_ListBoxNameStr_get() {
4405 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4407 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4414 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxWindow
*arg1
= (wxWindow
*) 0 ;
4418 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4419 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4420 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4421 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4422 int arg5
= (int) 0 ;
4423 wxString
*arg6
= (wxString
*) NULL
;
4424 long arg7
= (long) 0 ;
4425 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4426 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4427 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4428 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4432 bool temp8
= False
;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj2
= 0 ;
4435 PyObject
* obj3
= 0 ;
4436 PyObject
* obj4
= 0 ;
4437 PyObject
* obj6
= 0 ;
4438 PyObject
* obj7
= 0 ;
4440 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4459 arg5
= PyList_Size(obj4
);
4460 arg6
= wxString_LIST_helper(obj4
);
4461 if (arg6
== NULL
) SWIG_fail
;
4465 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4467 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4472 arg9
= wxString_in_helper(obj7
);
4473 if (arg9
== NULL
) SWIG_fail
;
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4486 if (arg6
) delete [] arg6
;
4495 if (arg6
) delete [] arg6
;
4505 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
*resultobj
;
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 result
= (wxListBox
*)new wxListBox();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4527 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxListBox
*arg1
= (wxListBox
*) 0 ;
4530 wxWindow
*arg2
= (wxWindow
*) 0 ;
4532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4536 int arg6
= (int) 0 ;
4537 wxString
*arg7
= (wxString
*) NULL
;
4538 long arg8
= (long) 0 ;
4539 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4540 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4541 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4542 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4546 bool temp9
= False
;
4547 PyObject
* obj0
= 0 ;
4548 PyObject
* obj1
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 PyObject
* obj4
= 0 ;
4551 PyObject
* obj5
= 0 ;
4552 PyObject
* obj7
= 0 ;
4553 PyObject
* obj8
= 0 ;
4555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4575 arg6
= PyList_Size(obj5
);
4576 arg7
= wxString_LIST_helper(obj5
);
4577 if (arg7
== NULL
) SWIG_fail
;
4581 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4588 arg10
= wxString_in_helper(obj8
);
4589 if (arg10
== NULL
) SWIG_fail
;
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4597 wxPyEndAllowThreads(__tstate
);
4598 if (PyErr_Occurred()) SWIG_fail
;
4600 resultobj
= PyInt_FromLong((long)result
);
4602 if (arg7
) delete [] arg7
;
4611 if (arg7
) delete [] arg7
;
4621 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxListBox
*arg1
= (wxListBox
*) 0 ;
4624 wxString
*arg2
= 0 ;
4626 PyObject
*arg4
= (PyObject
*) NULL
;
4627 bool temp2
= False
;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 PyObject
* obj3
= 0 ;
4632 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 arg2
= wxString_in_helper(obj1
);
4639 if (arg2
== NULL
) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4667 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
;
4669 wxListBox
*arg1
= (wxListBox
*) 0 ;
4670 wxArrayString
*arg2
= 0 ;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4675 (char *) "self",(char *) "items",(char *) "pos", NULL
4678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4681 if (! PySequence_Check(obj1
)) {
4682 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4685 arg2
= new wxArrayString
;
4686 int i
, len
=PySequence_Length(obj1
);
4687 for (i
=0; i
<len
; i
++) {
4688 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4690 PyObject
* str
= PyObject_Unicode(item
);
4692 PyObject
* str
= PyObject_Str(item
);
4694 arg2
->Add(Py2wxString(str
));
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 if (arg2
) delete arg2
;
4713 if (arg2
) delete arg2
;
4719 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxListBox
*arg1
= (wxListBox
*) 0 ;
4722 wxArrayString
*arg2
= 0 ;
4723 PyObject
* obj0
= 0 ;
4724 PyObject
* obj1
= 0 ;
4726 (char *) "self",(char *) "items", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) 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
)->Set((wxArrayString
const &)*arg2
);
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_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxListBox
*arg1
= (wxListBox
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self",(char *) "n", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= PyInt_FromLong((long)result
);
4796 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxListBox
*arg1
= (wxListBox
*) 0 ;
4800 bool arg3
= (bool) True
;
4801 PyObject
* obj0
= 0 ;
4802 PyObject
* obj2
= 0 ;
4804 (char *) "self",(char *) "n",(char *) "select", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4810 arg3
= PyInt_AsLong(obj2
) ? true : false;
4811 if (PyErr_Occurred()) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 (arg1
)->SetSelection(arg2
,arg3
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4827 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxListBox
*arg1
= (wxListBox
*) 0 ;
4831 PyObject
* obj0
= 0 ;
4833 (char *) "self",(char *) "n", NULL
4836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 (arg1
)->Select(arg2
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 Py_INCREF(Py_None
); resultobj
= Py_None
;
4852 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxListBox
*arg1
= (wxListBox
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4858 (char *) "self",(char *) "n", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 (arg1
)->Deselect(arg2
);
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 Py_INCREF(Py_None
); resultobj
= Py_None
;
4877 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4878 PyObject
*resultobj
;
4879 wxListBox
*arg1
= (wxListBox
*) 0 ;
4880 int arg2
= (int) -1 ;
4881 PyObject
* obj0
= 0 ;
4883 (char *) "self",(char *) "itemToLeaveSelected", NULL
4886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->DeselectAll(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxListBox
*arg1
= (wxListBox
*) 0 ;
4905 wxString
*arg2
= 0 ;
4906 bool arg3
= (bool) True
;
4908 bool temp2
= False
;
4909 PyObject
* obj0
= 0 ;
4910 PyObject
* obj1
= 0 ;
4911 PyObject
* obj2
= 0 ;
4913 (char *) "self",(char *) "s",(char *) "select", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 arg2
= wxString_in_helper(obj1
);
4920 if (arg2
== NULL
) SWIG_fail
;
4924 arg3
= PyInt_AsLong(obj2
) ? true : false;
4925 if (PyErr_Occurred()) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= PyInt_FromLong((long)result
);
4949 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
*resultobj
;
4951 wxListBox
*arg1
= (wxListBox
*) 0 ;
4953 PyObject
* obj0
= 0 ;
4955 (char *) "self", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4974 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxListBox
*arg1
= (wxListBox
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self",(char *) "n", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 (arg1
)->SetFirstItem(arg2
);
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4992 Py_INCREF(Py_None
); resultobj
= Py_None
;
4999 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5001 wxListBox
*arg1
= (wxListBox
*) 0 ;
5002 wxString
*arg2
= 0 ;
5003 bool temp2
= False
;
5004 PyObject
* obj0
= 0 ;
5005 PyObject
* obj1
= 0 ;
5007 (char *) "self",(char *) "s", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 arg2
= wxString_in_helper(obj1
);
5014 if (arg2
== NULL
) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxListBox
*arg1
= (wxListBox
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self",(char *) "n", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5052 (arg1
)->EnsureVisible(arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 Py_INCREF(Py_None
); resultobj
= Py_None
;
5064 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxListBox
*arg1
= (wxListBox
*) 0 ;
5067 wxString
*arg2
= 0 ;
5068 bool temp2
= False
;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5072 (char *) "self",(char *) "s", NULL
5075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5078 arg2
= wxString_in_helper(obj1
);
5079 if (arg2
== NULL
) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxListBox
*arg1
= (wxListBox
*) 0 ;
5108 PyObject
* obj0
= 0 ;
5110 (char *) "self", NULL
5113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5117 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5119 wxPyEndAllowThreads(__tstate
);
5120 if (PyErr_Occurred()) SWIG_fail
;
5122 resultobj
= PyInt_FromLong((long)result
);
5129 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5132 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5134 return Py_BuildValue((char *)"");
5136 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxWindow
*arg1
= (wxWindow
*) 0 ;
5140 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5141 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5142 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5143 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5144 int arg5
= (int) 0 ;
5145 wxString
*arg6
= (wxString
*) NULL
;
5146 long arg7
= (long) 0 ;
5147 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5148 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5149 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5150 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5151 wxCheckListBox
*result
;
5154 bool temp8
= False
;
5155 PyObject
* obj0
= 0 ;
5156 PyObject
* obj2
= 0 ;
5157 PyObject
* obj3
= 0 ;
5158 PyObject
* obj4
= 0 ;
5159 PyObject
* obj6
= 0 ;
5160 PyObject
* obj7
= 0 ;
5162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5170 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5176 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5181 arg5
= PyList_Size(obj4
);
5182 arg6
= wxString_LIST_helper(obj4
);
5183 if (arg6
== NULL
) SWIG_fail
;
5187 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5194 arg9
= wxString_in_helper(obj7
);
5195 if (arg9
== NULL
) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5208 if (arg6
) delete [] arg6
;
5217 if (arg6
) delete [] arg6
;
5227 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxCheckListBox
*result
;
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxCheckListBox
*)new wxCheckListBox();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5249 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5252 wxWindow
*arg2
= (wxWindow
*) 0 ;
5254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5258 int arg6
= (int) 0 ;
5259 wxString
*arg7
= (wxString
*) NULL
;
5260 long arg8
= (long) 0 ;
5261 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5262 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5263 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5264 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5268 bool temp9
= False
;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5271 PyObject
* obj3
= 0 ;
5272 PyObject
* obj4
= 0 ;
5273 PyObject
* obj5
= 0 ;
5274 PyObject
* obj7
= 0 ;
5275 PyObject
* obj8
= 0 ;
5277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5286 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5292 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5297 arg6
= PyList_Size(obj5
);
5298 arg7
= wxString_LIST_helper(obj5
);
5299 if (arg7
== NULL
) SWIG_fail
;
5303 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5305 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5310 arg10
= wxString_in_helper(obj8
);
5311 if (arg10
== NULL
) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= PyInt_FromLong((long)result
);
5324 if (arg7
) delete [] arg7
;
5333 if (arg7
) delete [] arg7
;
5343 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5344 PyObject
*resultobj
;
5345 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5348 PyObject
* obj0
= 0 ;
5350 (char *) "self",(char *) "index", NULL
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 result
= (bool)(arg1
)->IsChecked(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 resultobj
= PyInt_FromLong((long)result
);
5369 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5373 int arg3
= (int) True
;
5374 PyObject
* obj0
= 0 ;
5376 (char *) "self",(char *) "index",(char *) "check", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 (arg1
)->Check(arg2
,arg3
);
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 Py_INCREF(Py_None
); resultobj
= Py_None
;
5395 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5401 (char *) "self", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) 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
= (int)(arg1
)->GetItemHeight();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 resultobj
= PyInt_FromLong((long)result
);
5420 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5426 PyObject
* obj0
= 0 ;
5427 PyObject
* obj1
= 0 ;
5429 (char *) "self",(char *) "pt", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5442 wxPyEndAllowThreads(__tstate
);
5443 if (PyErr_Occurred()) SWIG_fail
;
5445 resultobj
= PyInt_FromLong((long)result
);
5452 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5460 (char *) "self",(char *) "x",(char *) "y", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= PyInt_FromLong((long)result
);
5479 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5482 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5484 return Py_BuildValue((char *)"");
5486 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5487 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5492 static PyObject
*_wrap_TextCtrlNameStr_get() {
5497 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5499 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5506 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5507 PyObject
*resultobj
;
5510 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 result
= (wxTextAttr
*)new wxTextAttr();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5525 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5526 PyObject
*resultobj
;
5527 wxColour
*arg1
= 0 ;
5528 wxColour
const &arg2_defvalue
= wxNullColour
;
5529 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5530 wxFont
const &arg3_defvalue
= wxNullFont
;
5531 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5532 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 PyObject
* obj2
= 0 ;
5540 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5543 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5552 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5571 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5576 argc
= PyObject_Length(args
);
5577 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5578 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5581 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5583 if ((argc
>= 1) && (argc
<= 4)) {
5586 _v
= wxColour_typecheck(argv
[0]);
5590 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5593 _v
= wxColour_typecheck(argv
[1]);
5597 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5601 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5610 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5613 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5616 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5623 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5628 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5629 PyObject
*resultobj
;
5630 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "self", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5655 wxColour
*arg2
= 0 ;
5657 PyObject
* obj0
= 0 ;
5658 PyObject
* obj1
= 0 ;
5660 (char *) "self",(char *) "colText", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5667 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5686 wxColour
*arg2
= 0 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5691 (char *) "self",(char *) "colBack", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5707 Py_INCREF(Py_None
); resultobj
= Py_None
;
5714 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5718 long arg3
= (long) wxTEXT_ATTR_FONT
;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj1
= 0 ;
5722 (char *) "self",(char *) "font",(char *) "flags", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5729 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 Py_INCREF(Py_None
); resultobj
= Py_None
;
5745 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5749 PyObject
* obj0
= 0 ;
5751 (char *) "self",(char *) "alignment", NULL
5754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 Py_INCREF(Py_None
); resultobj
= Py_None
;
5770 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
*resultobj
;
5772 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5773 wxArrayInt
*arg2
= 0 ;
5774 PyObject
* obj0
= 0 ;
5775 PyObject
* obj1
= 0 ;
5777 (char *) "self",(char *) "tabs", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5783 if (! PySequence_Check(obj1
)) {
5784 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5787 arg2
= new wxArrayInt
;
5788 int i
, len
=PySequence_Length(obj1
);
5789 for (i
=0; i
<len
; i
++) {
5790 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5791 PyObject
* number
= PyNumber_Int(item
);
5792 arg2
->Add(PyInt_AS_LONG(number
));
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 Py_INCREF(Py_None
); resultobj
= Py_None
;
5806 if (arg2
) delete arg2
;
5811 if (arg2
) delete arg2
;
5817 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self",(char *) "indent", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->SetLeftIndent(arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self",(char *) "indent", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 (arg1
)->SetRightIndent(arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 Py_INCREF(Py_None
); resultobj
= Py_None
;
5867 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self",(char *) "flags", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 (arg1
)->SetFlags(arg2
);
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 Py_INCREF(Py_None
); resultobj
= Py_None
;
5892 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5910 resultobj
= PyInt_FromLong((long)result
);
5917 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5921 PyObject
* obj0
= 0 ;
5923 (char *) "self", NULL
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= PyInt_FromLong((long)result
);
5942 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5948 (char *) "self", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5960 resultobj
= PyInt_FromLong((long)result
);
5967 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
*resultobj
;
5969 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5971 PyObject
* obj0
= 0 ;
5973 (char *) "self", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= PyInt_FromLong((long)result
);
5992 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6010 resultobj
= PyInt_FromLong((long)result
);
6017 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6023 (char *) "self", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= PyInt_FromLong((long)result
);
6042 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6043 PyObject
*resultobj
;
6044 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6048 (char *) "self", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 resultobj
= PyInt_FromLong((long)result
);
6067 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
*resultobj
;
6069 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6072 PyObject
* obj0
= 0 ;
6074 (char *) "self",(char *) "flag", NULL
6077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) 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
)->HasFlag(arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= PyInt_FromLong((long)result
);
6093 static PyObject
*_wrap_TextAttr_GetTextColour(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_GetTextColour",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();
6107 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6108 result
= (wxColour
*) &_result_ref
;
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6121 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
;
6123 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6125 PyObject
* obj0
= 0 ;
6127 (char *) "self", NULL
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6136 result
= (wxColour
*) &_result_ref
;
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6149 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6155 (char *) "self", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6164 result
= (wxFont
*) &_result_ref
;
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6177 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6181 PyObject
* obj0
= 0 ;
6183 (char *) "self", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= PyInt_FromLong((long)result
);
6202 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6217 result
= (wxArrayInt
*) &_result_ref
;
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= PyList_New(0);
6226 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6227 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6228 PyList_Append(resultobj
, val
);
6238 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 resultobj
= PyInt_FromLong((long)result
);
6263 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6269 (char *) "self", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6278 wxPyEndAllowThreads(__tstate
);
6279 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= PyInt_FromLong((long)result
);
6288 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= PyInt_FromLong((long)result
);
6313 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
;
6315 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6317 PyObject
* obj0
= 0 ;
6319 (char *) "self", NULL
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= PyInt_FromLong((long)result
);
6338 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6340 wxTextAttr
*arg1
= 0 ;
6341 wxTextAttr
*arg2
= 0 ;
6342 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6345 PyObject
* obj1
= 0 ;
6346 PyObject
* obj2
= 0 ;
6348 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6354 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6356 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6360 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6363 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6365 wxPyEndAllowThreads(__tstate
);
6366 if (PyErr_Occurred()) SWIG_fail
;
6369 wxTextAttr
* resultptr
;
6370 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6379 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6382 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6384 return Py_BuildValue((char *)"");
6386 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxWindow
*arg1
= (wxWindow
*) 0 ;
6390 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6391 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6396 long arg6
= (long) 0 ;
6397 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6398 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6399 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6400 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6402 bool temp3
= False
;
6405 bool temp8
= False
;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj2
= 0 ;
6408 PyObject
* obj3
= 0 ;
6409 PyObject
* obj4
= 0 ;
6410 PyObject
* obj6
= 0 ;
6411 PyObject
* obj7
= 0 ;
6413 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6420 arg3
= wxString_in_helper(obj2
);
6421 if (arg3
== NULL
) SWIG_fail
;
6428 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6434 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6438 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6445 arg8
= wxString_in_helper(obj7
);
6446 if (arg8
== NULL
) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6458 resultobj
= wxPyMake_wxObject(result
);
6482 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 result
= (wxTextCtrl
*)new wxTextCtrl();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6498 resultobj
= wxPyMake_wxObject(result
);
6506 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
;
6508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6509 wxWindow
*arg2
= (wxWindow
*) 0 ;
6511 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6512 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6513 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6514 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6515 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6516 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6517 long arg7
= (long) 0 ;
6518 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6519 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6520 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6521 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6523 bool temp4
= False
;
6526 bool temp9
= False
;
6527 PyObject
* obj0
= 0 ;
6528 PyObject
* obj1
= 0 ;
6529 PyObject
* obj3
= 0 ;
6530 PyObject
* obj4
= 0 ;
6531 PyObject
* obj5
= 0 ;
6532 PyObject
* obj7
= 0 ;
6533 PyObject
* obj8
= 0 ;
6535 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6540 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6543 arg4
= wxString_in_helper(obj3
);
6544 if (arg4
== NULL
) SWIG_fail
;
6551 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6557 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6561 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6568 arg9
= wxString_in_helper(obj8
);
6569 if (arg9
== NULL
) SWIG_fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= PyInt_FromLong((long)result
);
6603 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6634 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6637 wxString
*arg2
= 0 ;
6638 bool temp2
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "value", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6648 arg2
= wxString_in_helper(obj1
);
6649 if (arg2
== NULL
) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 (arg1
)->SetValue((wxString
const &)*arg2
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6659 Py_INCREF(Py_None
); resultobj
= Py_None
;
6674 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6680 PyObject
* obj0
= 0 ;
6682 (char *) "self",(char *) "from",(char *) "to", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6707 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6714 (char *) "self",(char *) "lineNo", NULL
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= PyInt_FromLong((long)result
);
6733 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6734 PyObject
*resultobj
;
6735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6740 (char *) "self",(char *) "lineNo", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6754 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6756 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6765 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6769 PyObject
* obj0
= 0 ;
6771 (char *) "self", NULL
6774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6783 resultobj
= PyInt_FromLong((long)result
);
6790 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
*resultobj
;
6792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6794 PyObject
* obj0
= 0 ;
6796 (char *) "self", NULL
6799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6803 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6805 wxPyEndAllowThreads(__tstate
);
6806 if (PyErr_Occurred()) SWIG_fail
;
6808 resultobj
= PyInt_FromLong((long)result
);
6815 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "self", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= PyInt_FromLong((long)result
);
6840 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6844 PyObject
* obj0
= 0 ;
6846 (char *) "self", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= PyInt_FromLong((long)result
);
6865 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
*resultobj
;
6867 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6869 PyObject
* obj0
= 0 ;
6871 (char *) "self", NULL
6874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6878 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6880 wxPyEndAllowThreads(__tstate
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6883 resultobj
= PyInt_FromLong((long)result
);
6890 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6893 long *arg2
= (long *) 0 ;
6894 long *arg3
= (long *) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 Py_INCREF(Py_None
); resultobj
= Py_None
;
6915 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6916 resultobj
= t_output_helper(resultobj
,o
);
6919 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6920 resultobj
= t_output_helper(resultobj
,o
);
6928 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6941 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6943 wxPyEndAllowThreads(__tstate
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6959 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6962 PyObject
* obj0
= 0 ;
6964 (char *) "self", NULL
6967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
6968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 Py_INCREF(Py_None
); resultobj
= Py_None
;
6983 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6988 wxString
*arg4
= 0 ;
6989 bool temp4
= False
;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj3
= 0 ;
6993 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6999 arg4
= wxString_in_helper(obj3
);
7000 if (arg4
== NULL
) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7010 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self",(char *) "from",(char *) "to", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 (arg1
)->Remove(arg2
,arg3
);
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7054 wxString
*arg2
= 0 ;
7056 bool temp2
= False
;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7060 (char *) "self",(char *) "file", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7066 arg2
= wxString_in_helper(obj1
);
7067 if (arg2
== NULL
) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= PyInt_FromLong((long)result
);
7092 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7095 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7096 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7098 bool temp2
= False
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "file", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7109 arg2
= wxString_in_helper(obj1
);
7110 if (arg2
== NULL
) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= PyInt_FromLong((long)result
);
7136 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "self", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 (arg1
)->MarkDirty();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 Py_INCREF(Py_None
); resultobj
= Py_None
;
7160 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7163 PyObject
* obj0
= 0 ;
7165 (char *) "self", NULL
7168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 (arg1
)->DiscardEdits();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7187 unsigned long arg2
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 (char *) "self",(char *) "len", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7196 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->SetMaxLength(arg2
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7215 wxString
*arg2
= 0 ;
7216 bool temp2
= False
;
7217 PyObject
* obj0
= 0 ;
7218 PyObject
* obj1
= 0 ;
7220 (char *) "self",(char *) "text", NULL
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7226 arg2
= wxString_in_helper(obj1
);
7227 if (arg2
== NULL
) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 (arg1
)->WriteText((wxString
const &)*arg2
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7255 wxString
*arg2
= 0 ;
7256 bool temp2
= False
;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7260 (char *) "self",(char *) "text", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7266 arg2
= wxString_in_helper(obj1
);
7267 if (arg2
== NULL
) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->AppendText((wxString
const &)*arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7295 wxKeyEvent
*arg2
= 0 ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7300 (char *) "self",(char *) "event", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= PyInt_FromLong((long)result
);
7323 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7328 wxTextAttr
*arg4
= 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj3
= 0 ;
7333 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7338 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7340 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 resultobj
= PyInt_FromLong((long)result
);
7356 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7360 wxTextAttr
*arg3
= 0 ;
7362 PyObject
* obj0
= 0 ;
7363 PyObject
* obj2
= 0 ;
7365 (char *) "self",(char *) "position",(char *) "style", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7370 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= PyInt_FromLong((long)result
);
7388 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7391 wxTextAttr
*arg2
= 0 ;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7396 (char *) "self",(char *) "style", NULL
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= PyInt_FromLong((long)result
);
7419 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "self", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7434 result
= (wxTextAttr
*) &_result_ref
;
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7447 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7448 PyObject
*resultobj
;
7449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "self",(char *) "x",(char *) "y", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= PyInt_FromLong((long)result
);
7474 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7478 long *arg3
= (long *) 0 ;
7479 long *arg4
= (long *) 0 ;
7482 PyObject
* obj0
= 0 ;
7484 (char *) "self",(char *) "pos", NULL
7489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7498 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7501 resultobj
= t_output_helper(resultobj
,o
);
7504 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7505 resultobj
= t_output_helper(resultobj
,o
);
7513 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self",(char *) "pos", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 (arg1
)->ShowPosition(arg2
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 Py_INCREF(Py_None
); resultobj
= Py_None
;
7538 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7539 PyObject
*resultobj
;
7540 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7541 PyObject
* obj0
= 0 ;
7543 (char *) "self", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 Py_INCREF(Py_None
); resultobj
= Py_None
;
7562 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7563 PyObject
*resultobj
;
7564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7565 PyObject
* obj0
= 0 ;
7567 (char *) "self", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxPyEndAllowThreads(__tstate
);
7577 if (PyErr_Occurred()) SWIG_fail
;
7579 Py_INCREF(Py_None
); resultobj
= Py_None
;
7586 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7587 PyObject
*resultobj
;
7588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "self", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 Py_INCREF(Py_None
); resultobj
= Py_None
;
7610 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "self", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= PyInt_FromLong((long)result
);
7635 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= PyInt_FromLong((long)result
);
7660 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
;
7662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7664 PyObject
* obj0
= 0 ;
7666 (char *) "self", NULL
7669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= PyInt_FromLong((long)result
);
7685 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
;
7687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= PyInt_FromLong((long)result
);
7758 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= PyInt_FromLong((long)result
);
7783 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7787 PyObject
* obj0
= 0 ;
7789 (char *) "self",(char *) "pos", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 (arg1
)->SetInsertionPoint(arg2
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 PyObject
* obj0
= 0 ;
7813 (char *) "self", NULL
7816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 (arg1
)->SetInsertionPointEnd();
7822 wxPyEndAllowThreads(__tstate
);
7823 if (PyErr_Occurred()) SWIG_fail
;
7825 Py_INCREF(Py_None
); resultobj
= Py_None
;
7832 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
*resultobj
;
7834 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7836 PyObject
* obj0
= 0 ;
7838 (char *) "self", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7845 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7847 wxPyEndAllowThreads(__tstate
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 resultobj
= PyInt_FromLong((long)result
);
7857 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7861 PyObject
* obj0
= 0 ;
7863 (char *) "self", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= PyInt_FromLong((long)result
);
7882 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7887 PyObject
* obj0
= 0 ;
7889 (char *) "self",(char *) "from",(char *) "to", NULL
7892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->SetSelection(arg2
,arg3
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 (arg1
)->SelectAll();
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 Py_INCREF(Py_None
); resultobj
= Py_None
;
7932 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7936 PyObject
* obj0
= 0 ;
7937 PyObject
* obj1
= 0 ;
7939 (char *) "self",(char *) "editable", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7944 arg2
= PyInt_AsLong(obj1
) ? true : false;
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->SetEditable(arg2
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7963 wxString
*arg2
= 0 ;
7964 bool temp2
= False
;
7965 PyObject
* obj0
= 0 ;
7966 PyObject
* obj1
= 0 ;
7968 (char *) "self",(char *) "text", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
7972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7974 arg2
= wxString_in_helper(obj1
);
7975 if (arg2
== NULL
) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
8000 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self",(char *) "from",(char *) "to", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8033 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8036 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8038 return Py_BuildValue((char *)"");
8040 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8043 wxMouseEvent
*arg2
= 0 ;
8046 wxTextUrlEvent
*result
;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8071 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
;
8073 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8074 wxMouseEvent
*result
;
8075 PyObject
* obj0
= 0 ;
8077 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8086 result
= (wxMouseEvent
*) &_result_ref
;
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8099 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8105 (char *) "self", NULL
8108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8112 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= PyInt_FromLong((long)result
);
8124 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "self", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= PyInt_FromLong((long)result
);
8149 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8154 return Py_BuildValue((char *)"");
8156 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8157 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8162 static PyObject
*_wrap_ScrollBarNameStr_get() {
8167 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8169 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8176 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxWindow
*arg1
= (wxWindow
*) 0 ;
8179 int arg2
= (int) -1 ;
8180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8184 long arg5
= (long) wxSB_HORIZONTAL
;
8185 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8186 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8187 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8188 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8189 wxScrollBar
*result
;
8192 bool temp7
= False
;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj2
= 0 ;
8195 PyObject
* obj3
= 0 ;
8196 PyObject
* obj5
= 0 ;
8197 PyObject
* obj6
= 0 ;
8199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8217 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8224 arg7
= wxString_in_helper(obj6
);
8225 if (arg7
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8251 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxScrollBar
*result
;
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxScrollBar
*)new wxScrollBar();
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8273 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8276 wxWindow
*arg2
= (wxWindow
*) 0 ;
8277 int arg3
= (int) -1 ;
8278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8282 long arg6
= (long) wxSB_HORIZONTAL
;
8283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8285 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8290 bool temp8
= False
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj3
= 0 ;
8294 PyObject
* obj4
= 0 ;
8295 PyObject
* obj6
= 0 ;
8296 PyObject
* obj7
= 0 ;
8298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8307 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8313 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8317 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8324 arg8
= wxString_in_helper(obj7
);
8325 if (arg8
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyInt_FromLong((long)result
);
8351 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8357 (char *) "self", NULL
8360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= PyInt_FromLong((long)result
);
8376 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8380 PyObject
* obj0
= 0 ;
8382 (char *) "self", NULL
8385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= PyInt_FromLong((long)result
);
8401 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8419 resultobj
= PyInt_FromLong((long)result
);
8426 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8427 PyObject
*resultobj
;
8428 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= PyInt_FromLong((long)result
);
8451 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8455 PyObject
* obj0
= 0 ;
8457 (char *) "self", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8464 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 resultobj
= PyInt_FromLong((long)result
);
8476 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8480 PyObject
* obj0
= 0 ;
8482 (char *) "self",(char *) "viewStart", NULL
8485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 (arg1
)->SetThumbPosition(arg2
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8508 bool arg6
= (bool) True
;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj5
= 0 ;
8512 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8518 arg6
= PyInt_AsLong(obj5
) ? true : false;
8519 if (PyErr_Occurred()) SWIG_fail
;
8522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8525 wxPyEndAllowThreads(__tstate
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8528 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8538 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8540 return Py_BuildValue((char *)"");
8542 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8543 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8548 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8553 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8555 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8562 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8563 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8568 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8573 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8575 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8582 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxWindow
*arg1
= (wxWindow
*) 0 ;
8585 int arg2
= (int) -1 ;
8586 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8587 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8588 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8589 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8590 long arg5
= (long) wxSP_HORIZONTAL
;
8591 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8592 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8593 wxSpinButton
*result
;
8596 bool temp6
= False
;
8597 PyObject
* obj0
= 0 ;
8598 PyObject
* obj2
= 0 ;
8599 PyObject
* obj3
= 0 ;
8600 PyObject
* obj5
= 0 ;
8602 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8610 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8616 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8621 arg6
= wxString_in_helper(obj5
);
8622 if (arg6
== NULL
) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8648 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxSpinButton
*result
;
8655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 result
= (wxSpinButton
*)new wxSpinButton();
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8670 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8671 PyObject
*resultobj
;
8672 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8673 wxWindow
*arg2
= (wxWindow
*) 0 ;
8674 int arg3
= (int) -1 ;
8675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8679 long arg6
= (long) wxSP_HORIZONTAL
;
8680 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8685 bool temp7
= False
;
8686 PyObject
* obj0
= 0 ;
8687 PyObject
* obj1
= 0 ;
8688 PyObject
* obj3
= 0 ;
8689 PyObject
* obj4
= 0 ;
8690 PyObject
* obj6
= 0 ;
8692 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8712 arg7
= wxString_in_helper(obj6
);
8713 if (arg7
== NULL
) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= PyInt_FromLong((long)result
);
8739 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8743 PyObject
* obj0
= 0 ;
8745 (char *) "self", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= PyInt_FromLong((long)result
);
8764 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= PyInt_FromLong((long)result
);
8789 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8793 PyObject
* obj0
= 0 ;
8795 (char *) "self", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= PyInt_FromLong((long)result
);
8814 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8815 PyObject
*resultobj
;
8816 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8818 PyObject
* obj0
= 0 ;
8820 (char *) "self",(char *) "val", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 (arg1
)->SetValue(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 Py_INCREF(Py_None
); resultobj
= Py_None
;
8839 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8840 PyObject
*resultobj
;
8841 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8845 (char *) "self",(char *) "minVal", NULL
8848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 (arg1
)->SetMin(arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self",(char *) "maxVal", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 (arg1
)->SetMax(arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 Py_INCREF(Py_None
); resultobj
= Py_None
;
8889 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8894 PyObject
* obj0
= 0 ;
8896 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetRange(arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 Py_INCREF(Py_None
); resultobj
= Py_None
;
8915 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= PyInt_FromLong((long)result
);
8940 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
8942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8943 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
8945 return Py_BuildValue((char *)"");
8947 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxWindow
*arg1
= (wxWindow
*) 0 ;
8950 int arg2
= (int) -1 ;
8951 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8952 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8953 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8954 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8955 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8956 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8957 long arg6
= (long) wxSP_ARROW_KEYS
;
8958 int arg7
= (int) 0 ;
8959 int arg8
= (int) 100 ;
8960 int arg9
= (int) 0 ;
8961 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
8962 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
8964 bool temp3
= False
;
8967 bool temp10
= False
;
8968 PyObject
* obj0
= 0 ;
8969 PyObject
* obj2
= 0 ;
8970 PyObject
* obj3
= 0 ;
8971 PyObject
* obj4
= 0 ;
8972 PyObject
* obj9
= 0 ;
8974 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
8978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8981 arg3
= wxString_in_helper(obj2
);
8982 if (arg3
== NULL
) SWIG_fail
;
8989 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8995 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9000 arg10
= wxString_in_helper(obj9
);
9001 if (arg10
== NULL
) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9035 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9057 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9060 wxWindow
*arg2
= (wxWindow
*) 0 ;
9061 int arg3
= (int) -1 ;
9062 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9063 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9064 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9065 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9066 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9067 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9068 long arg7
= (long) wxSP_ARROW_KEYS
;
9069 int arg8
= (int) 0 ;
9070 int arg9
= (int) 100 ;
9071 int arg10
= (int) 0 ;
9072 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9073 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9075 bool temp4
= False
;
9078 bool temp11
= False
;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj3
= 0 ;
9082 PyObject
* obj4
= 0 ;
9083 PyObject
* obj5
= 0 ;
9084 PyObject
* obj10
= 0 ;
9086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9094 arg4
= wxString_in_helper(obj3
);
9095 if (arg4
== NULL
) SWIG_fail
;
9102 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9108 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9113 arg11
= wxString_in_helper(obj10
);
9114 if (arg11
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= PyInt_FromLong((long)result
);
9148 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= PyInt_FromLong((long)result
);
9173 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self",(char *) "value", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 (arg1
)->SetValue(arg2
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9201 wxString
*arg2
= 0 ;
9202 bool temp2
= False
;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9206 (char *) "self",(char *) "text", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9212 arg2
= wxString_in_helper(obj1
);
9213 if (arg2
== NULL
) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 (arg1
)->SetValue((wxString
const &)*arg2
);
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 Py_INCREF(Py_None
); resultobj
= Py_None
;
9238 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9245 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 (arg1
)->SetRange(arg2
,arg3
);
9254 wxPyEndAllowThreads(__tstate
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 Py_INCREF(Py_None
); resultobj
= Py_None
;
9264 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
;
9266 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9268 PyObject
* obj0
= 0 ;
9270 (char *) "self", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 resultobj
= PyInt_FromLong((long)result
);
9289 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "self", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 resultobj
= PyInt_FromLong((long)result
);
9314 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
*resultobj
;
9316 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self",(char *) "from",(char *) "to", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 wxSpinCtrl_SetSelection(arg1
,arg2
,arg3
);
9330 wxPyEndAllowThreads(__tstate
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 Py_INCREF(Py_None
); resultobj
= Py_None
;
9340 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9343 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9345 return Py_BuildValue((char *)"");
9347 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9348 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9353 static PyObject
*_wrap_RadioBoxNameStr_get() {
9358 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9360 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9367 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9368 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9373 static PyObject
*_wrap_RadioButtonNameStr_get() {
9378 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9380 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9387 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxWindow
*arg1
= (wxWindow
*) 0 ;
9391 wxString
*arg3
= 0 ;
9392 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9393 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9394 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9395 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9396 int arg6
= (int) 0 ;
9397 wxString
*arg7
= (wxString
*) NULL
;
9398 int arg8
= (int) 0 ;
9399 long arg9
= (long) wxRA_HORIZONTAL
;
9400 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9401 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9402 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9403 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9405 bool temp3
= False
;
9408 bool temp10
= False
;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj2
= 0 ;
9411 PyObject
* obj3
= 0 ;
9412 PyObject
* obj4
= 0 ;
9413 PyObject
* obj5
= 0 ;
9414 PyObject
* obj8
= 0 ;
9415 PyObject
* obj9
= 0 ;
9417 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9423 arg3
= wxString_in_helper(obj2
);
9424 if (arg3
== NULL
) SWIG_fail
;
9430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9441 arg6
= PyList_Size(obj5
);
9442 arg7
= wxString_LIST_helper(obj5
);
9443 if (arg7
== NULL
) SWIG_fail
;
9447 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 if (arg10
== NULL
) {
9449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9454 arg11
= wxString_in_helper(obj9
);
9455 if (arg11
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 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
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9472 if (arg7
) delete [] arg7
;
9485 if (arg7
) delete [] arg7
;
9495 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (wxRadioBox
*)new wxRadioBox();
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9517 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9520 wxWindow
*arg2
= (wxWindow
*) 0 ;
9522 wxString
*arg4
= 0 ;
9523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9527 int arg7
= (int) 0 ;
9528 wxString
*arg8
= (wxString
*) NULL
;
9529 int arg9
= (int) 0 ;
9530 long arg10
= (long) wxRA_HORIZONTAL
;
9531 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9532 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9533 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9534 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9536 bool temp4
= False
;
9539 bool temp11
= False
;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 PyObject
* obj3
= 0 ;
9543 PyObject
* obj4
= 0 ;
9544 PyObject
* obj5
= 0 ;
9545 PyObject
* obj6
= 0 ;
9546 PyObject
* obj9
= 0 ;
9547 PyObject
* obj10
= 0 ;
9549 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9556 arg4
= wxString_in_helper(obj3
);
9557 if (arg4
== NULL
) SWIG_fail
;
9563 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9569 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9574 arg7
= PyList_Size(obj6
);
9575 arg8
= wxString_LIST_helper(obj6
);
9576 if (arg8
== NULL
) SWIG_fail
;
9580 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 if (arg11
== NULL
) {
9582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9587 arg12
= wxString_in_helper(obj10
);
9588 if (arg12
== NULL
) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 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
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9599 resultobj
= PyInt_FromLong((long)result
);
9605 if (arg8
) delete [] arg8
;
9618 if (arg8
) delete [] arg8
;
9628 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "self",(char *) "n", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->SetSelection(arg2
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9657 PyObject
* obj0
= 0 ;
9659 (char *) "self", NULL
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= PyInt_FromLong((long)result
);
9678 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
;
9680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "self", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9709 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9712 wxString
*arg2
= 0 ;
9714 bool temp2
= False
;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9718 (char *) "self",(char *) "s", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 arg2
= wxString_in_helper(obj1
);
9725 if (arg2
== NULL
) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= PyInt_FromLong((long)result
);
9750 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= PyInt_FromLong((long)result
);
9775 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9776 PyObject
*resultobj
;
9777 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9778 wxString
*arg2
= 0 ;
9780 bool temp2
= False
;
9781 PyObject
* obj0
= 0 ;
9782 PyObject
* obj1
= 0 ;
9784 (char *) "self",(char *) "s", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9790 arg2
= wxString_in_helper(obj1
);
9791 if (arg2
== NULL
) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= PyInt_FromLong((long)result
);
9816 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self",(char *) "n", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9839 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9848 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9852 wxString
*arg3
= 0 ;
9853 bool temp3
= False
;
9854 PyObject
* obj0
= 0 ;
9855 PyObject
* obj2
= 0 ;
9857 (char *) "self",(char *) "n",(char *) "label", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9863 arg3
= wxString_in_helper(obj2
);
9864 if (arg3
== NULL
) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9893 bool arg3
= (bool) True
;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj2
= 0 ;
9897 (char *) "self",(char *) "n",(char *) "enable", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9903 arg3
= PyInt_AsLong(obj2
) ? true : false;
9904 if (PyErr_Occurred()) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 (arg1
)->Enable(arg2
,arg3
);
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 Py_INCREF(Py_None
); resultobj
= Py_None
;
9920 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9924 bool arg3
= (bool) True
;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj2
= 0 ;
9928 (char *) "self",(char *) "n",(char *) "show", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9934 arg3
= PyInt_AsLong(obj2
) ? true : false;
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 (arg1
)->Show(arg2
,arg3
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9951 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= PyInt_FromLong((long)result
);
9976 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "self", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= PyInt_FromLong((long)result
);
10001 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= PyInt_FromLong((long)result
);
10029 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10032 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10034 return Py_BuildValue((char *)"");
10036 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
;
10038 wxWindow
*arg1
= (wxWindow
*) 0 ;
10040 wxString
*arg3
= 0 ;
10041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10045 long arg6
= (long) 0 ;
10046 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10047 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10048 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10050 wxRadioButton
*result
;
10051 bool temp3
= False
;
10054 bool temp8
= False
;
10055 PyObject
* obj0
= 0 ;
10056 PyObject
* obj2
= 0 ;
10057 PyObject
* obj3
= 0 ;
10058 PyObject
* obj4
= 0 ;
10059 PyObject
* obj6
= 0 ;
10060 PyObject
* obj7
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10068 arg3
= wxString_in_helper(obj2
);
10069 if (arg3
== NULL
) SWIG_fail
;
10075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10085 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10086 if (arg7
== NULL
) {
10087 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10092 arg8
= wxString_in_helper(obj7
);
10093 if (arg8
== NULL
) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10127 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxRadioButton
*result
;
10130 char *kwnames
[] = {
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (wxRadioButton
*)new wxRadioButton();
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10149 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10152 wxWindow
*arg2
= (wxWindow
*) 0 ;
10154 wxString
*arg4
= 0 ;
10155 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10156 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10157 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10158 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10159 long arg7
= (long) 0 ;
10160 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10161 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10162 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10163 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10165 bool temp4
= False
;
10168 bool temp9
= False
;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 PyObject
* obj3
= 0 ;
10172 PyObject
* obj4
= 0 ;
10173 PyObject
* obj5
= 0 ;
10174 PyObject
* obj7
= 0 ;
10175 PyObject
* obj8
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10182 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10184 arg4
= wxString_in_helper(obj3
);
10185 if (arg4
== NULL
) SWIG_fail
;
10191 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10197 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10201 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10202 if (arg8
== NULL
) {
10203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10208 arg9
= wxString_in_helper(obj8
);
10209 if (arg9
== NULL
) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= PyInt_FromLong((long)result
);
10243 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (bool)(arg1
)->GetValue();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= PyInt_FromLong((long)result
);
10268 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self",(char *) "value", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10280 arg2
= PyInt_AsLong(obj1
) ? true : false;
10281 if (PyErr_Occurred()) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetValue(arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10299 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10301 return Py_BuildValue((char *)"");
10303 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10304 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10309 static PyObject
*_wrap_SliderNameStr_get() {
10314 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10316 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10323 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxWindow
*arg1
= (wxWindow
*) 0 ;
10330 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10331 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10332 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10333 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10334 long arg8
= (long) wxSL_HORIZONTAL
;
10335 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10336 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10337 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10338 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10342 bool temp10
= False
;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj5
= 0 ;
10345 PyObject
* obj6
= 0 ;
10346 PyObject
* obj8
= 0 ;
10347 PyObject
* obj9
= 0 ;
10348 char *kwnames
[] = {
10349 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10357 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10363 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10367 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10368 if (arg9
== NULL
) {
10369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10374 arg10
= wxString_in_helper(obj9
);
10375 if (arg10
== NULL
) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10401 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10404 char *kwnames
[] = {
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (wxSlider
*)new wxSlider();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10423 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxSlider
*arg1
= (wxSlider
*) 0 ;
10426 wxWindow
*arg2
= (wxWindow
*) 0 ;
10431 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10432 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10433 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10434 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10435 long arg9
= (long) wxSL_HORIZONTAL
;
10436 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10437 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10438 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10439 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10443 bool temp11
= False
;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj6
= 0 ;
10447 PyObject
* obj7
= 0 ;
10448 PyObject
* obj9
= 0 ;
10449 PyObject
* obj10
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10466 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10470 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10471 if (arg10
== NULL
) {
10472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10477 arg11
= wxString_in_helper(obj10
);
10478 if (arg11
== NULL
) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= PyInt_FromLong((long)result
);
10504 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10505 PyObject
*resultobj
;
10506 wxSlider
*arg1
= (wxSlider
*) 0 ;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10517 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10519 wxPyEndAllowThreads(__tstate
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= PyInt_FromLong((long)result
);
10529 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10530 PyObject
*resultobj
;
10531 wxSlider
*arg1
= (wxSlider
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 char *kwnames
[] = {
10535 (char *) "self",(char *) "value", NULL
10538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 (arg1
)->SetValue(arg2
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10547 Py_INCREF(Py_None
); resultobj
= Py_None
;
10554 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10555 PyObject
*resultobj
;
10556 wxSlider
*arg1
= (wxSlider
*) 0 ;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 (arg1
)->SetRange(arg2
,arg3
);
10570 wxPyEndAllowThreads(__tstate
);
10571 if (PyErr_Occurred()) SWIG_fail
;
10573 Py_INCREF(Py_None
); resultobj
= Py_None
;
10580 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10581 PyObject
*resultobj
;
10582 wxSlider
*arg1
= (wxSlider
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= PyInt_FromLong((long)result
);
10605 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxSlider
*arg1
= (wxSlider
*) 0 ;
10609 PyObject
* obj0
= 0 ;
10610 char *kwnames
[] = {
10611 (char *) "self", NULL
10614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= PyInt_FromLong((long)result
);
10630 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxSlider
*arg1
= (wxSlider
*) 0 ;
10634 PyObject
* obj0
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "minValue", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10643 (arg1
)->SetMin(arg2
);
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 Py_INCREF(Py_None
); resultobj
= Py_None
;
10655 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxSlider
*arg1
= (wxSlider
*) 0 ;
10659 PyObject
* obj0
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self",(char *) "maxValue", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10668 (arg1
)->SetMax(arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10673 Py_INCREF(Py_None
); resultobj
= Py_None
;
10680 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10681 PyObject
*resultobj
;
10682 wxSlider
*arg1
= (wxSlider
*) 0 ;
10684 PyObject
* obj0
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "lineSize", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 (arg1
)->SetLineSize(arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 Py_INCREF(Py_None
); resultobj
= Py_None
;
10705 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10706 PyObject
*resultobj
;
10707 wxSlider
*arg1
= (wxSlider
*) 0 ;
10709 PyObject
* obj0
= 0 ;
10710 char *kwnames
[] = {
10711 (char *) "self",(char *) "pageSize", NULL
10714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10718 (arg1
)->SetPageSize(arg2
);
10720 wxPyEndAllowThreads(__tstate
);
10721 if (PyErr_Occurred()) SWIG_fail
;
10723 Py_INCREF(Py_None
); resultobj
= Py_None
;
10730 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
;
10732 wxSlider
*arg1
= (wxSlider
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 char *kwnames
[] = {
10736 (char *) "self", NULL
10739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= PyInt_FromLong((long)result
);
10755 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxSlider
*arg1
= (wxSlider
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10770 wxPyEndAllowThreads(__tstate
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 resultobj
= PyInt_FromLong((long)result
);
10780 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxSlider
*arg1
= (wxSlider
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self",(char *) "lenPixels", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 (arg1
)->SetThumbLength(arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 Py_INCREF(Py_None
); resultobj
= Py_None
;
10805 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxSlider
*arg1
= (wxSlider
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 resultobj
= PyInt_FromLong((long)result
);
10830 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxSlider
*arg1
= (wxSlider
*) 0 ;
10835 PyObject
* obj0
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "n",(char *) "pos", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 (arg1
)->SetTickFreq(arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 Py_INCREF(Py_None
); resultobj
= Py_None
;
10856 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxSlider
*arg1
= (wxSlider
*) 0 ;
10860 PyObject
* obj0
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= PyInt_FromLong((long)result
);
10881 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxSlider
*arg1
= (wxSlider
*) 0 ;
10884 PyObject
* obj0
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->ClearTicks();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxSlider
*arg1
= (wxSlider
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self",(char *) "tickPos", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetTick(arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxSlider
*arg1
= (wxSlider
*) 0 ;
10933 PyObject
* obj0
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->ClearSel();
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxSlider
*arg1
= (wxSlider
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10967 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= PyInt_FromLong((long)result
);
10979 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
;
10981 wxSlider
*arg1
= (wxSlider
*) 0 ;
10983 PyObject
* obj0
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= PyInt_FromLong((long)result
);
11004 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxSlider
*arg1
= (wxSlider
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "min",(char *) "max", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->SetSelection(arg2
,arg3
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11033 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11035 return Py_BuildValue((char *)"");
11037 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11038 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11043 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11048 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11050 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11057 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11058 PyObject
*resultobj
;
11059 wxWindow
*arg1
= (wxWindow
*) 0 ;
11061 wxString
*arg3
= 0 ;
11062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11066 long arg6
= (long) 0 ;
11067 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11068 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11069 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11071 wxToggleButton
*result
;
11072 bool temp3
= False
;
11075 bool temp8
= False
;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj2
= 0 ;
11078 PyObject
* obj3
= 0 ;
11079 PyObject
* obj4
= 0 ;
11080 PyObject
* obj6
= 0 ;
11081 PyObject
* obj7
= 0 ;
11082 char *kwnames
[] = {
11083 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11089 arg3
= wxString_in_helper(obj2
);
11090 if (arg3
== NULL
) SWIG_fail
;
11096 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11102 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11106 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11107 if (arg7
== NULL
) {
11108 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11113 arg8
= wxString_in_helper(obj7
);
11114 if (arg8
== NULL
) SWIG_fail
;
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11122 wxPyEndAllowThreads(__tstate
);
11123 if (PyErr_Occurred()) SWIG_fail
;
11125 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11148 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxToggleButton
*result
;
11151 char *kwnames
[] = {
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 result
= (wxToggleButton
*)new wxToggleButton();
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11170 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11173 wxWindow
*arg2
= (wxWindow
*) 0 ;
11175 wxString
*arg4
= 0 ;
11176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11180 long arg7
= (long) 0 ;
11181 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11182 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11183 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11184 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11186 bool temp4
= False
;
11189 bool temp9
= False
;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj3
= 0 ;
11193 PyObject
* obj4
= 0 ;
11194 PyObject
* obj5
= 0 ;
11195 PyObject
* obj7
= 0 ;
11196 PyObject
* obj8
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11205 arg4
= wxString_in_helper(obj3
);
11206 if (arg4
== NULL
) SWIG_fail
;
11212 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11218 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11222 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11223 if (arg8
== NULL
) {
11224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11229 arg9
= wxString_in_helper(obj8
);
11230 if (arg9
== NULL
) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= PyInt_FromLong((long)result
);
11264 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
;
11266 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "value", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11276 arg2
= PyInt_AsLong(obj1
) ? true : false;
11277 if (PyErr_Occurred()) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 (arg1
)->SetValue(arg2
);
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 Py_INCREF(Py_None
); resultobj
= Py_None
;
11292 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11296 PyObject
* obj0
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11305 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= PyInt_FromLong((long)result
);
11317 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11318 PyObject
*resultobj
;
11319 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11320 wxString
*arg2
= 0 ;
11321 bool temp2
= False
;
11322 PyObject
* obj0
= 0 ;
11323 PyObject
* obj1
= 0 ;
11324 char *kwnames
[] = {
11325 (char *) "self",(char *) "label", NULL
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11331 arg2
= wxString_in_helper(obj1
);
11332 if (arg2
== NULL
) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 (arg1
)->SetLabel((wxString
const &)*arg2
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 Py_INCREF(Py_None
); resultobj
= Py_None
;
11357 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11360 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11362 return Py_BuildValue((char *)"");
11364 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11365 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11370 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11375 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11377 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11384 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11388 PyObject
* obj0
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11397 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= PyInt_FromLong((long)result
);
11409 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11410 PyObject
*resultobj
;
11411 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "n", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11422 arg2
= (size_t) PyInt_AsLong(obj1
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= wxPyMake_wxObject(result
);
11440 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= PyInt_FromLong((long)result
);
11465 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11466 PyObject
*resultobj
;
11467 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11469 wxString
*arg3
= 0 ;
11471 bool temp3
= False
;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "n",(char *) "strText", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11481 arg2
= (size_t) PyInt_AsLong(obj1
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 arg3
= wxString_in_helper(obj2
);
11485 if (arg3
== NULL
) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= PyInt_FromLong((long)result
);
11510 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11515 PyObject
* obj0
= 0 ;
11516 PyObject
* obj1
= 0 ;
11517 char *kwnames
[] = {
11518 (char *) "self",(char *) "n", NULL
11521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11523 arg2
= (size_t) PyInt_AsLong(obj1
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11545 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11548 wxImageList
*arg2
= (wxImageList
*) 0 ;
11549 PyObject
* obj0
= 0 ;
11550 PyObject
* obj1
= 0 ;
11551 char *kwnames
[] = {
11552 (char *) "self",(char *) "imageList", NULL
11555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11557 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11560 (arg1
)->SetImageList(arg2
);
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 Py_INCREF(Py_None
); resultobj
= Py_None
;
11572 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11575 wxImageList
*arg2
= (wxImageList
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self",(char *) "imageList", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11587 (arg1
)->AssignImageList(arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 Py_INCREF(Py_None
); resultobj
= Py_None
;
11599 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11602 wxImageList
*result
;
11603 PyObject
* obj0
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11618 resultobj
= wxPyMake_wxObject(result
);
11626 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "n", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11639 arg2
= (size_t) PyInt_AsLong(obj1
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= PyInt_FromLong((long)result
);
11655 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self",(char *) "n",(char *) "imageId", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11669 arg2
= (size_t) PyInt_AsLong(obj1
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= PyInt_FromLong((long)result
);
11685 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "size", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 Py_INCREF(Py_None
); resultobj
= Py_None
;
11716 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "sizePage", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11742 wxSize
* resultptr
;
11743 resultptr
= new wxSize((wxSize
&) result
);
11744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11752 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11757 PyObject
* obj0
= 0 ;
11758 PyObject
* obj1
= 0 ;
11759 char *kwnames
[] = {
11760 (char *) "self",(char *) "n", NULL
11763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11765 arg2
= (size_t) PyInt_AsLong(obj1
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->DeletePage(arg2
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 resultobj
= PyInt_FromLong((long)result
);
11781 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 char *kwnames
[] = {
11789 (char *) "self",(char *) "n", NULL
11792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11794 arg2
= (size_t) PyInt_AsLong(obj1
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (bool)(arg1
)->RemovePage(arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= PyInt_FromLong((long)result
);
11810 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 char *kwnames
[] = {
11816 (char *) "self", NULL
11819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
11820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (bool)(arg1
)->DeleteAllPages();
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11828 resultobj
= PyInt_FromLong((long)result
);
11835 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11836 PyObject
*resultobj
;
11837 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11838 wxWindow
*arg2
= (wxWindow
*) 0 ;
11839 wxString
*arg3
= 0 ;
11840 bool arg4
= (bool) False
;
11841 int arg5
= (int) -1 ;
11843 bool temp3
= False
;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
11853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11854 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11856 arg3
= wxString_in_helper(obj2
);
11857 if (arg3
== NULL
) SWIG_fail
;
11861 arg4
= PyInt_AsLong(obj3
) ? true : false;
11862 if (PyErr_Occurred()) SWIG_fail
;
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
11868 wxPyEndAllowThreads(__tstate
);
11869 if (PyErr_Occurred()) SWIG_fail
;
11871 resultobj
= PyInt_FromLong((long)result
);
11886 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11890 wxWindow
*arg3
= (wxWindow
*) 0 ;
11891 wxString
*arg4
= 0 ;
11892 bool arg5
= (bool) False
;
11893 int arg6
= (int) -1 ;
11895 bool temp4
= False
;
11896 PyObject
* obj0
= 0 ;
11897 PyObject
* obj1
= 0 ;
11898 PyObject
* obj2
= 0 ;
11899 PyObject
* obj3
= 0 ;
11900 PyObject
* obj4
= 0 ;
11901 char *kwnames
[] = {
11902 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
11906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11907 arg2
= (size_t) PyInt_AsLong(obj1
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11909 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11911 arg4
= wxString_in_helper(obj3
);
11912 if (arg4
== NULL
) SWIG_fail
;
11916 arg5
= PyInt_AsLong(obj4
) ? true : false;
11917 if (PyErr_Occurred()) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 resultobj
= PyInt_FromLong((long)result
);
11941 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "n", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11954 arg2
= (size_t) PyInt_AsLong(obj1
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (int)(arg1
)->SetSelection(arg2
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= PyInt_FromLong((long)result
);
11970 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11973 bool arg2
= (bool) True
;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "forward", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11983 arg2
= PyInt_AsLong(obj1
) ? true : false;
11984 if (PyErr_Occurred()) SWIG_fail
;
11987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11988 (arg1
)->AdvanceSelection(arg2
);
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 Py_INCREF(Py_None
); resultobj
= Py_None
;
12000 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12003 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12005 return Py_BuildValue((char *)"");
12007 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12010 int arg2
= (int) 0 ;
12011 int arg3
= (int) -1 ;
12012 int arg4
= (int) -1 ;
12013 wxBookCtrlEvent
*result
;
12014 char *kwnames
[] = {
12015 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12033 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= PyInt_FromLong((long)result
);
12058 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "nSel", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 (arg1
)->SetSelection(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 Py_INCREF(Py_None
); resultobj
= Py_None
;
12083 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= PyInt_FromLong((long)result
);
12108 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "nOldSel", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->SetOldSelection(arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12138 return Py_BuildValue((char *)"");
12140 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxWindow
*arg1
= (wxWindow
*) 0 ;
12144 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12145 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12146 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12147 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12148 long arg5
= (long) 0 ;
12149 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12150 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12151 wxNotebook
*result
;
12154 bool temp6
= False
;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj2
= 0 ;
12157 PyObject
* obj3
= 0 ;
12158 PyObject
* obj5
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12168 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12174 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12179 arg6
= wxString_in_helper(obj5
);
12180 if (arg6
== NULL
) SWIG_fail
;
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12188 wxPyEndAllowThreads(__tstate
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= wxPyMake_wxObject(result
);
12208 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxNotebook
*result
;
12211 char *kwnames
[] = {
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (wxNotebook
*)new wxNotebook();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= wxPyMake_wxObject(result
);
12232 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12235 wxWindow
*arg2
= (wxWindow
*) 0 ;
12237 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12238 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12239 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12240 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12241 long arg6
= (long) 0 ;
12242 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12243 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12247 bool temp7
= False
;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 PyObject
* obj3
= 0 ;
12251 PyObject
* obj4
= 0 ;
12252 PyObject
* obj6
= 0 ;
12253 char *kwnames
[] = {
12254 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12259 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12263 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12269 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12274 arg7
= wxString_in_helper(obj6
);
12275 if (arg7
== NULL
) SWIG_fail
;
12280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12281 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= PyInt_FromLong((long)result
);
12301 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= PyInt_FromLong((long)result
);
12326 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "padding", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12341 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 PyObject
* obj1
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "sz", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12372 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12381 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12391 wxPoint
*arg2
= 0 ;
12392 long *arg3
= (long *) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 char *kwnames
[] = {
12399 (char *) "self",(char *) "pt", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= PyInt_FromLong((long)result
);
12418 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12419 resultobj
= t_output_helper(resultobj
,o
);
12427 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12428 PyObject
*resultobj
;
12429 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 PyObject
* obj1
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self",(char *) "sizePage", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 wxSize
* resultptr
;
12454 resultptr
= new wxSize((wxSize
&) result
);
12455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12463 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12466 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12468 return Py_BuildValue((char *)"");
12470 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12473 int arg2
= (int) 0 ;
12474 int arg3
= (int) -1 ;
12475 int arg4
= (int) -1 ;
12476 wxNotebookEvent
*result
;
12477 char *kwnames
[] = {
12478 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12496 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12499 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12501 return Py_BuildValue((char *)"");
12503 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxWindow
*arg1
= (wxWindow
*) 0 ;
12507 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12508 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12509 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12510 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12511 long arg5
= (long) 0 ;
12512 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12513 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12514 wxListbook
*result
;
12517 bool temp6
= False
;
12518 PyObject
* obj0
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 PyObject
* obj3
= 0 ;
12521 PyObject
* obj5
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12531 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12537 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12542 arg6
= wxString_in_helper(obj5
);
12543 if (arg6
== NULL
) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12569 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxListbook
*result
;
12572 char *kwnames
[] = {
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 result
= (wxListbook
*)new wxListbook();
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12591 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 wxListbook
*arg1
= (wxListbook
*) 0 ;
12594 wxWindow
*arg2
= (wxWindow
*) 0 ;
12596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12600 long arg6
= (long) 0 ;
12601 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12606 bool temp7
= False
;
12607 PyObject
* obj0
= 0 ;
12608 PyObject
* obj1
= 0 ;
12609 PyObject
* obj3
= 0 ;
12610 PyObject
* obj4
= 0 ;
12611 PyObject
* obj6
= 0 ;
12612 char *kwnames
[] = {
12613 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12622 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12628 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12633 arg7
= wxString_in_helper(obj6
);
12634 if (arg7
== NULL
) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= PyInt_FromLong((long)result
);
12660 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxListbook
*arg1
= (wxListbook
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= PyInt_FromLong((long)result
);
12685 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12688 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12690 return Py_BuildValue((char *)"");
12692 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12695 int arg2
= (int) 0 ;
12696 int arg3
= (int) -1 ;
12697 int arg4
= (int) -1 ;
12698 wxListbookEvent
*result
;
12699 char *kwnames
[] = {
12700 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12706 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12718 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12721 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12723 return Py_BuildValue((char *)"");
12725 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12728 wxBookCtrlSizer
*result
;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "nb", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12750 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 (arg1
)->RecalcSizes();
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 Py_INCREF(Py_None
); resultobj
= Py_None
;
12774 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
;
12776 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12778 PyObject
* obj0
= 0 ;
12779 char *kwnames
[] = {
12780 (char *) "self", NULL
12783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (arg1
)->CalcMin();
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12793 wxSize
* resultptr
;
12794 resultptr
= new wxSize((wxSize
&) result
);
12795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12803 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12804 PyObject
*resultobj
;
12805 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12806 wxBookCtrl
*result
;
12807 PyObject
* obj0
= 0 ;
12808 char *kwnames
[] = {
12809 (char *) "self", NULL
12812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
12813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 result
= (wxBookCtrl
*)(arg1
)->GetControl();
12818 wxPyEndAllowThreads(__tstate
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
12828 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12831 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
12833 return Py_BuildValue((char *)"");
12835 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
;
12837 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12838 wxNotebookSizer
*result
;
12839 PyObject
* obj0
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "nb", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
12860 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12861 PyObject
*resultobj
;
12862 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 (arg1
)->RecalcSizes();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 Py_INCREF(Py_None
); resultobj
= Py_None
;
12884 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (arg1
)->CalcMin();
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12903 wxSize
* resultptr
;
12904 resultptr
= new wxSize((wxSize
&) result
);
12905 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12913 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
12916 wxNotebook
*result
;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (wxNotebook
*)(arg1
)->GetNotebook();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= wxPyMake_wxObject(result
);
12940 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
12942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12943 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
12945 return Py_BuildValue((char *)"");
12947 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12948 PyObject
*resultobj
;
12949 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12951 PyObject
* obj0
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (int)(arg1
)->GetId();
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= PyInt_FromLong((long)result
);
12972 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 result
= (wxControl
*)(arg1
)->GetControl();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 resultobj
= wxPyMake_wxObject(result
);
12999 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13002 wxToolBarBase
*result
;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= wxPyMake_wxObject(result
);
13026 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (int)(arg1
)->IsButton();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= PyInt_FromLong((long)result
);
13051 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13064 result
= (int)(arg1
)->IsControl();
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= PyInt_FromLong((long)result
);
13076 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
;
13078 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "self", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (int)(arg1
)->IsSeparator();
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 resultobj
= PyInt_FromLong((long)result
);
13101 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 char *kwnames
[] = {
13107 (char *) "self", NULL
13110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (int)(arg1
)->GetStyle();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= PyInt_FromLong((long)result
);
13126 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (int)(arg1
)->GetKind();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= PyInt_FromLong((long)result
);
13151 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (bool)(arg1
)->IsEnabled();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= PyInt_FromLong((long)result
);
13176 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 char *kwnames
[] = {
13182 (char *) "self", NULL
13185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (bool)(arg1
)->IsToggled();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= PyInt_FromLong((long)result
);
13201 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (bool)(arg1
)->CanBeToggled();
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= PyInt_FromLong((long)result
);
13226 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13227 PyObject
*resultobj
;
13228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13230 PyObject
* obj0
= 0 ;
13231 char *kwnames
[] = {
13232 (char *) "self", NULL
13235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13241 result
= (wxBitmap
*) &_result_ref
;
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13254 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13269 result
= (wxBitmap
*) &_result_ref
;
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13282 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (arg1
)->GetBitmap();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 wxBitmap
* resultptr
;
13302 resultptr
= new wxBitmap((wxBitmap
&) result
);
13303 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13311 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
;
13313 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (arg1
)->GetLabel();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13342 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(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_GetShortHelp",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
= (arg1
)->GetShortHelp();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13373 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13386 result
= (arg1
)->GetLongHelp();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13404 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13405 PyObject
*resultobj
;
13406 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 PyObject
* obj1
= 0 ;
13411 char *kwnames
[] = {
13412 (char *) "self",(char *) "enable", NULL
13415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 arg2
= PyInt_AsLong(obj1
) ? true : false;
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (bool)(arg1
)->Enable(arg2
);
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= PyInt_FromLong((long)result
);
13433 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 char *kwnames
[] = {
13438 (char *) "self", NULL
13441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "toggle", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13470 arg2
= PyInt_AsLong(obj1
) ? true : false;
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (bool)(arg1
)->SetToggle(arg2
);
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= PyInt_FromLong((long)result
);
13486 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13487 PyObject
*resultobj
;
13488 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13489 wxString
*arg2
= 0 ;
13491 bool temp2
= False
;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "help", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 arg2
= wxString_in_helper(obj1
);
13502 if (arg2
== NULL
) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= PyInt_FromLong((long)result
);
13527 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13530 wxString
*arg2
= 0 ;
13532 bool temp2
= False
;
13533 PyObject
* obj0
= 0 ;
13534 PyObject
* obj1
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self",(char *) "help", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13542 arg2
= wxString_in_helper(obj1
);
13543 if (arg2
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= PyInt_FromLong((long)result
);
13568 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13569 PyObject
*resultobj
;
13570 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13571 wxBitmap
*arg2
= 0 ;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 char *kwnames
[] = {
13575 (char *) "self",(char *) "bmp", NULL
13578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13581 if (arg2
== NULL
) {
13582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 Py_INCREF(Py_None
); resultobj
= Py_None
;
13598 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13601 wxBitmap
*arg2
= 0 ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self",(char *) "bmp", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13611 if (arg2
== NULL
) {
13612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 Py_INCREF(Py_None
); resultobj
= Py_None
;
13628 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13631 wxString
*arg2
= 0 ;
13632 bool temp2
= False
;
13633 PyObject
* obj0
= 0 ;
13634 PyObject
* obj1
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self",(char *) "label", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",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 (arg1
)->SetLabel((wxString
const &)*arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 Py_INCREF(Py_None
); resultobj
= Py_None
;
13668 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13671 PyObject
* obj0
= 0 ;
13672 char *kwnames
[] = {
13673 (char *) "self", NULL
13676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 Py_INCREF(Py_None
); resultobj
= Py_None
;
13692 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13693 PyObject
*resultobj
;
13694 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13695 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char *kwnames
[] = {
13699 (char *) "self",(char *) "tbar", NULL
13702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13707 (arg1
)->Attach(arg2
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 Py_INCREF(Py_None
); resultobj
= Py_None
;
13719 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13720 PyObject
*resultobj
;
13721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13723 PyObject
* obj0
= 0 ;
13724 char *kwnames
[] = {
13725 (char *) "self", NULL
13728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13732 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13734 wxPyEndAllowThreads(__tstate
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 resultobj
= result
;
13744 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13747 PyObject
*arg2
= (PyObject
*) 0 ;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "clientData", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13761 wxPyEndAllowThreads(__tstate
);
13762 if (PyErr_Occurred()) SWIG_fail
;
13764 Py_INCREF(Py_None
); resultobj
= Py_None
;
13771 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13774 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13776 return Py_BuildValue((char *)"");
13778 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13782 wxString
*arg3
= 0 ;
13783 wxBitmap
*arg4
= 0 ;
13784 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
13785 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
13786 int arg6
= (int) wxITEM_NORMAL
;
13787 wxString
const &arg7_defvalue
= wxPyEmptyString
;
13788 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13789 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13790 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13791 PyObject
*arg9
= (PyObject
*) NULL
;
13792 wxToolBarToolBase
*result
;
13793 bool temp3
= False
;
13794 bool temp7
= False
;
13795 bool temp8
= False
;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj2
= 0 ;
13798 PyObject
* obj3
= 0 ;
13799 PyObject
* obj4
= 0 ;
13800 PyObject
* obj6
= 0 ;
13801 PyObject
* obj7
= 0 ;
13802 PyObject
* obj8
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13810 arg3
= wxString_in_helper(obj2
);
13811 if (arg3
== NULL
) SWIG_fail
;
13814 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13815 if (arg4
== NULL
) {
13816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13819 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13820 if (arg5
== NULL
) {
13821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13826 arg7
= wxString_in_helper(obj6
);
13827 if (arg7
== NULL
) SWIG_fail
;
13833 arg8
= wxString_in_helper(obj7
);
13834 if (arg8
== NULL
) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= wxPyMake_wxObject(result
);
13881 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
;
13883 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13886 wxString
*arg4
= 0 ;
13887 wxBitmap
*arg5
= 0 ;
13888 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
13889 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
13890 int arg7
= (int) wxITEM_NORMAL
;
13891 wxString
const &arg8_defvalue
= wxPyEmptyString
;
13892 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13893 wxString
const &arg9_defvalue
= wxPyEmptyString
;
13894 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13895 PyObject
*arg10
= (PyObject
*) NULL
;
13896 wxToolBarToolBase
*result
;
13897 bool temp4
= False
;
13898 bool temp8
= False
;
13899 bool temp9
= False
;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 PyObject
* obj3
= 0 ;
13903 PyObject
* obj4
= 0 ;
13904 PyObject
* obj5
= 0 ;
13905 PyObject
* obj7
= 0 ;
13906 PyObject
* obj8
= 0 ;
13907 PyObject
* obj9
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13914 arg2
= (size_t) PyInt_AsLong(obj1
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 arg4
= wxString_in_helper(obj3
);
13918 if (arg4
== NULL
) SWIG_fail
;
13921 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13922 if (arg5
== NULL
) {
13923 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13926 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 if (arg6
== NULL
) {
13928 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13933 arg8
= wxString_in_helper(obj7
);
13934 if (arg8
== NULL
) SWIG_fail
;
13940 arg9
= wxString_in_helper(obj8
);
13941 if (arg9
== NULL
) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 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
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= wxPyMake_wxObject(result
);
13988 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
13991 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
13992 wxToolBarToolBase
*result
;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "tool", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14004 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14010 resultobj
= wxPyMake_wxObject(result
);
14018 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
;
14020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14022 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14023 wxToolBarToolBase
*result
;
14024 PyObject
* obj0
= 0 ;
14025 PyObject
* obj1
= 0 ;
14026 PyObject
* obj2
= 0 ;
14027 char *kwnames
[] = {
14028 (char *) "self",(char *) "pos",(char *) "tool", NULL
14031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 arg2
= (size_t) PyInt_AsLong(obj1
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14035 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14044 resultobj
= wxPyMake_wxObject(result
);
14052 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14055 wxControl
*arg2
= (wxControl
*) 0 ;
14056 wxToolBarToolBase
*result
;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "control", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14068 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14070 wxPyEndAllowThreads(__tstate
);
14071 if (PyErr_Occurred()) SWIG_fail
;
14074 resultobj
= wxPyMake_wxObject(result
);
14082 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14086 wxControl
*arg3
= (wxControl
*) 0 ;
14087 wxToolBarToolBase
*result
;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self",(char *) "pos",(char *) "control", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14097 arg2
= (size_t) PyInt_AsLong(obj1
);
14098 if (PyErr_Occurred()) SWIG_fail
;
14099 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= wxPyMake_wxObject(result
);
14116 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self",(char *) "id", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= wxPyMake_wxObject(result
);
14144 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14147 wxToolBarToolBase
*result
;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14157 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= wxPyMake_wxObject(result
);
14171 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14175 wxToolBarToolBase
*result
;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "pos", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14184 arg2
= (size_t) PyInt_AsLong(obj1
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= wxPyMake_wxObject(result
);
14202 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14206 wxToolBarToolBase
*result
;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "id", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 resultobj
= wxPyMake_wxObject(result
);
14230 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14235 PyObject
* obj0
= 0 ;
14236 PyObject
* obj1
= 0 ;
14237 char *kwnames
[] = {
14238 (char *) "self",(char *) "pos", NULL
14241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14243 arg2
= (size_t) PyInt_AsLong(obj1
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14249 wxPyEndAllowThreads(__tstate
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 resultobj
= PyInt_FromLong((long)result
);
14259 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14264 PyObject
* obj0
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "id", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (bool)(arg1
)->DeleteTool(arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= PyInt_FromLong((long)result
);
14285 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14288 PyObject
* obj0
= 0 ;
14289 char *kwnames
[] = {
14290 (char *) "self", NULL
14293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14297 (arg1
)->ClearTools();
14299 wxPyEndAllowThreads(__tstate
);
14300 if (PyErr_Occurred()) SWIG_fail
;
14302 Py_INCREF(Py_None
); resultobj
= Py_None
;
14309 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (bool)(arg1
)->Realize();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= PyInt_FromLong((long)result
);
14334 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "id",(char *) "enable", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14347 arg3
= PyInt_AsLong(obj2
) ? true : false;
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 (arg1
)->EnableTool(arg2
,arg3
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 Py_INCREF(Py_None
); resultobj
= Py_None
;
14363 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj2
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self",(char *) "id",(char *) "toggle", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14376 arg3
= PyInt_AsLong(obj2
) ? true : false;
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 (arg1
)->ToggleTool(arg2
,arg3
);
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 Py_INCREF(Py_None
); resultobj
= Py_None
;
14392 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14397 PyObject
* obj0
= 0 ;
14398 PyObject
* obj2
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self",(char *) "id",(char *) "toggle", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14405 arg3
= PyInt_AsLong(obj2
) ? true : false;
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 (arg1
)->SetToggle(arg2
,arg3
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "id", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14435 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= result
;
14447 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14448 PyObject
*resultobj
;
14449 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14451 PyObject
*arg3
= (PyObject
*) 0 ;
14452 PyObject
* obj0
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char *kwnames
[] = {
14455 (char *) "self",(char *) "id",(char *) "clientData", NULL
14458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14463 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14468 Py_INCREF(Py_None
); resultobj
= Py_None
;
14475 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "id", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= PyInt_FromLong((long)result
);
14501 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self",(char *) "id", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 result
= (bool)(arg1
)->GetToolState(arg2
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14520 resultobj
= PyInt_FromLong((long)result
);
14527 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14532 PyObject
* obj0
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self",(char *) "id", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= PyInt_FromLong((long)result
);
14553 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14557 wxString
*arg3
= 0 ;
14558 bool temp3
= False
;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj2
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "id",(char *) "helpString", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14568 arg3
= wxString_in_helper(obj2
);
14569 if (arg3
== NULL
) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14594 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "id", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (arg1
)->GetToolShortHelp(arg2
);
14610 wxPyEndAllowThreads(__tstate
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14626 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14627 PyObject
*resultobj
;
14628 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14630 wxString
*arg3
= 0 ;
14631 bool temp3
= False
;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj2
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "id",(char *) "helpString", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14641 arg3
= wxString_in_helper(obj2
);
14642 if (arg3
== NULL
) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14667 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14668 PyObject
*resultobj
;
14669 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "self",(char *) "id", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (arg1
)->GetToolLongHelp(arg2
);
14683 wxPyEndAllowThreads(__tstate
);
14684 if (PyErr_Occurred()) SWIG_fail
;
14688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14699 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "x",(char *) "y", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 (arg1
)->SetMargins(arg2
,arg3
);
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 Py_INCREF(Py_None
); resultobj
= Py_None
;
14725 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 PyObject
* obj1
= 0 ;
14732 char *kwnames
[] = {
14733 (char *) "self",(char *) "size", NULL
14736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14740 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14756 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14757 PyObject
*resultobj
;
14758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self",(char *) "packing", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14769 (arg1
)->SetToolPacking(arg2
);
14771 wxPyEndAllowThreads(__tstate
);
14772 if (PyErr_Occurred()) SWIG_fail
;
14774 Py_INCREF(Py_None
); resultobj
= Py_None
;
14781 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 char *kwnames
[] = {
14787 (char *) "self",(char *) "separation", NULL
14790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
14791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 (arg1
)->SetToolSeparation(arg2
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 Py_INCREF(Py_None
); resultobj
= Py_None
;
14806 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14807 PyObject
*resultobj
;
14808 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14810 PyObject
* obj0
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14819 result
= (arg1
)->GetToolMargins();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 wxSize
* resultptr
;
14826 resultptr
= new wxSize((wxSize
&) result
);
14827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14835 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (arg1
)->GetMargins();
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14854 wxSize
* resultptr
;
14855 resultptr
= new wxSize((wxSize
&) result
);
14856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14864 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14877 result
= (int)(arg1
)->GetToolPacking();
14879 wxPyEndAllowThreads(__tstate
);
14880 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= PyInt_FromLong((long)result
);
14889 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14890 PyObject
*resultobj
;
14891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14893 PyObject
* obj0
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "self", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (int)(arg1
)->GetToolSeparation();
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= PyInt_FromLong((long)result
);
14914 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14918 PyObject
* obj0
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "nRows", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 (arg1
)->SetRows(arg2
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14932 Py_INCREF(Py_None
); resultobj
= Py_None
;
14939 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
;
14941 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14944 PyObject
* obj0
= 0 ;
14945 char *kwnames
[] = {
14946 (char *) "self",(char *) "rows",(char *) "cols", NULL
14949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (int)(arg1
)->GetMaxRows();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= PyInt_FromLong((long)result
);
14990 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 char *kwnames
[] = {
14996 (char *) "self", NULL
14999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15003 result
= (int)(arg1
)->GetMaxCols();
15005 wxPyEndAllowThreads(__tstate
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= PyInt_FromLong((long)result
);
15015 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 char *kwnames
[] = {
15023 (char *) "self",(char *) "size", NULL
15026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15030 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15034 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 Py_INCREF(Py_None
); resultobj
= Py_None
;
15046 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (arg1
)->GetToolBitmapSize();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 wxSize
* resultptr
;
15066 resultptr
= new wxSize((wxSize
&) result
);
15067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15075 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15079 PyObject
* obj0
= 0 ;
15080 char *kwnames
[] = {
15081 (char *) "self", NULL
15084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (arg1
)->GetToolSize();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15094 wxSize
* resultptr
;
15095 resultptr
= new wxSize((wxSize
&) result
);
15096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15104 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15109 wxToolBarToolBase
*result
;
15110 PyObject
* obj0
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "x",(char *) "y", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) 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
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= wxPyMake_wxObject(result
);
15133 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15137 wxToolBarToolBase
*result
;
15138 PyObject
* obj0
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "toolid", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= wxPyMake_wxObject(result
);
15161 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "self", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (bool)(arg1
)->IsVertical();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= PyInt_FromLong((long)result
);
15186 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15189 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15191 return Py_BuildValue((char *)"");
15193 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15194 PyObject
*resultobj
;
15195 wxWindow
*arg1
= (wxWindow
*) 0 ;
15197 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15198 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15199 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15200 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15201 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15202 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15203 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15207 bool temp6
= False
;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj2
= 0 ;
15210 PyObject
* obj3
= 0 ;
15211 PyObject
* obj5
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15232 arg6
= wxString_in_helper(obj5
);
15233 if (arg6
== NULL
) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= wxPyMake_wxObject(result
);
15261 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15264 char *kwnames
[] = {
15268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (wxToolBar
*)new wxToolBar();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= wxPyMake_wxObject(result
);
15285 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15286 PyObject
*resultobj
;
15287 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15288 wxWindow
*arg2
= (wxWindow
*) 0 ;
15290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15294 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15295 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15300 bool temp7
= False
;
15301 PyObject
* obj0
= 0 ;
15302 PyObject
* obj1
= 0 ;
15303 PyObject
* obj3
= 0 ;
15304 PyObject
* obj4
= 0 ;
15305 PyObject
* obj6
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15327 arg7
= wxString_in_helper(obj6
);
15328 if (arg7
== NULL
) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= PyInt_FromLong((long)result
);
15354 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15359 wxToolBarToolBase
*result
;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self",(char *) "x",(char *) "y", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15375 resultobj
= wxPyMake_wxObject(result
);
15383 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15386 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15388 return Py_BuildValue((char *)"");
15390 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15391 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15396 static PyObject
*_wrap_ListCtrlNameStr_get() {
15401 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15403 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15410 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxColour
const &arg1_defvalue
= wxNullColour
;
15413 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15414 wxColour
const &arg2_defvalue
= wxNullColour
;
15415 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15416 wxFont
const &arg3_defvalue
= wxNullFont
;
15417 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15418 wxListItemAttr
*result
;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15432 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15438 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15442 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15443 if (arg3
== NULL
) {
15444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15461 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15464 wxColour
*arg2
= 0 ;
15466 PyObject
* obj0
= 0 ;
15467 PyObject
* obj1
= 0 ;
15468 char *kwnames
[] = {
15469 (char *) "self",(char *) "colText", NULL
15472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15476 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15495 wxColour
*arg2
= 0 ;
15497 PyObject
* obj0
= 0 ;
15498 PyObject
* obj1
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self",(char *) "colBack", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15507 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 Py_INCREF(Py_None
); resultobj
= Py_None
;
15523 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15527 PyObject
* obj0
= 0 ;
15528 PyObject
* obj1
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "font", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15536 if (arg2
== NULL
) {
15537 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 (arg1
)->SetFont((wxFont
const &)*arg2
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 Py_INCREF(Py_None
); resultobj
= Py_None
;
15553 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15557 PyObject
* obj0
= 0 ;
15558 char *kwnames
[] = {
15559 (char *) "self", NULL
15562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (bool)(arg1
)->HasTextColour();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= PyInt_FromLong((long)result
);
15578 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->HasBackgroundColour();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= PyInt_FromLong((long)result
);
15603 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15604 PyObject
*resultobj
;
15605 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 char *kwnames
[] = {
15609 (char *) "self", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15616 result
= (bool)(arg1
)->HasFont();
15618 wxPyEndAllowThreads(__tstate
);
15619 if (PyErr_Occurred()) SWIG_fail
;
15621 resultobj
= PyInt_FromLong((long)result
);
15628 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15629 PyObject
*resultobj
;
15630 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15632 PyObject
* obj0
= 0 ;
15633 char *kwnames
[] = {
15634 (char *) "self", NULL
15637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15641 result
= (arg1
)->GetTextColour();
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 wxColour
* resultptr
;
15648 resultptr
= new wxColour((wxColour
&) result
);
15649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15657 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15661 PyObject
* obj0
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (arg1
)->GetBackgroundColour();
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 wxColour
* resultptr
;
15677 resultptr
= new wxColour((wxColour
&) result
);
15678 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15686 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (arg1
)->GetFont();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15705 wxFont
* resultptr
;
15706 resultptr
= new wxFont((wxFont
&) result
);
15707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15715 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 wxListItemAttr_Destroy(arg1
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15732 Py_INCREF(Py_None
); resultobj
= Py_None
;
15739 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15742 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15744 return Py_BuildValue((char *)"");
15746 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxListItem
*result
;
15749 char *kwnames
[] = {
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (wxListItem
*)new wxListItem();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= wxPyMake_wxObject(result
);
15770 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxListItem
*arg1
= (wxListItem
*) 0 ;
15773 PyObject
* obj0
= 0 ;
15774 char *kwnames
[] = {
15775 (char *) "self", NULL
15778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
15779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 Py_INCREF(Py_None
); resultobj
= Py_None
;
15794 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
;
15796 wxListItem
*arg1
= (wxListItem
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
15803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxListItem
*arg1
= (wxListItem
*) 0 ;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 (arg1
)->ClearAttributes();
15832 wxPyEndAllowThreads(__tstate
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15835 Py_INCREF(Py_None
); resultobj
= Py_None
;
15842 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxListItem
*arg1
= (wxListItem
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "mask", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 (arg1
)->SetMask(arg2
);
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15860 Py_INCREF(Py_None
); resultobj
= Py_None
;
15867 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxListItem
*arg1
= (wxListItem
*) 0 ;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self",(char *) "id", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 (arg1
)->SetId(arg2
);
15882 wxPyEndAllowThreads(__tstate
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15885 Py_INCREF(Py_None
); resultobj
= Py_None
;
15892 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15893 PyObject
*resultobj
;
15894 wxListItem
*arg1
= (wxListItem
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "col", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 (arg1
)->SetColumn(arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxListItem
*arg1
= (wxListItem
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 char *kwnames
[] = {
15923 (char *) "self",(char *) "state", NULL
15926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
15927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 (arg1
)->SetState(arg2
);
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 Py_INCREF(Py_None
); resultobj
= Py_None
;
15942 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxListItem
*arg1
= (wxListItem
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "stateMask", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 (arg1
)->SetStateMask(arg2
);
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 Py_INCREF(Py_None
); resultobj
= Py_None
;
15967 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15968 PyObject
*resultobj
;
15969 wxListItem
*arg1
= (wxListItem
*) 0 ;
15970 wxString
*arg2
= 0 ;
15971 bool temp2
= False
;
15972 PyObject
* obj0
= 0 ;
15973 PyObject
* obj1
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self",(char *) "text", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15981 arg2
= wxString_in_helper(obj1
);
15982 if (arg2
== NULL
) SWIG_fail
;
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 (arg1
)->SetText((wxString
const &)*arg2
);
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxListItem
*arg1
= (wxListItem
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "image", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16020 (arg1
)->SetImage(arg2
);
16022 wxPyEndAllowThreads(__tstate
);
16023 if (PyErr_Occurred()) SWIG_fail
;
16025 Py_INCREF(Py_None
); resultobj
= Py_None
;
16032 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
;
16034 wxListItem
*arg1
= (wxListItem
*) 0 ;
16036 PyObject
* obj0
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "data", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16045 (arg1
)->SetData(arg2
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 Py_INCREF(Py_None
); resultobj
= Py_None
;
16057 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxListItem
*arg1
= (wxListItem
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "width", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 (arg1
)->SetWidth(arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 Py_INCREF(Py_None
); resultobj
= Py_None
;
16082 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxListItem
*arg1
= (wxListItem
*) 0 ;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self",(char *) "align", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16095 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16097 wxPyEndAllowThreads(__tstate
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16100 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16108 PyObject
*resultobj
;
16109 wxListItem
*arg1
= (wxListItem
*) 0 ;
16110 wxColour
*arg2
= 0 ;
16112 PyObject
* obj0
= 0 ;
16113 PyObject
* obj1
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "colText", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 Py_INCREF(Py_None
); resultobj
= Py_None
;
16138 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxListItem
*arg1
= (wxListItem
*) 0 ;
16141 wxColour
*arg2
= 0 ;
16143 PyObject
* obj0
= 0 ;
16144 PyObject
* obj1
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "colBack", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16153 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 Py_INCREF(Py_None
); resultobj
= Py_None
;
16169 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxListItem
*arg1
= (wxListItem
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "font", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16182 if (arg2
== NULL
) {
16183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 (arg1
)->SetFont((wxFont
const &)*arg2
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16199 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxListItem
*arg1
= (wxListItem
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (long)(arg1
)->GetMask();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= PyInt_FromLong((long)result
);
16224 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxListItem
*arg1
= (wxListItem
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16237 result
= (long)(arg1
)->GetId();
16239 wxPyEndAllowThreads(__tstate
);
16240 if (PyErr_Occurred()) SWIG_fail
;
16242 resultobj
= PyInt_FromLong((long)result
);
16249 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16250 PyObject
*resultobj
;
16251 wxListItem
*arg1
= (wxListItem
*) 0 ;
16253 PyObject
* obj0
= 0 ;
16254 char *kwnames
[] = {
16255 (char *) "self", NULL
16258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 result
= (int)(arg1
)->GetColumn();
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 resultobj
= PyInt_FromLong((long)result
);
16274 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxListItem
*arg1
= (wxListItem
*) 0 ;
16278 PyObject
* obj0
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (long)(arg1
)->GetState();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= PyInt_FromLong((long)result
);
16299 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxListItem
*arg1
= (wxListItem
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 wxString
const &_result_ref
= (arg1
)->GetText();
16314 result
= (wxString
*) &_result_ref
;
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16324 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16333 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxListItem
*arg1
= (wxListItem
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (int)(arg1
)->GetImage();
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= PyInt_FromLong((long)result
);
16358 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16359 PyObject
*resultobj
;
16360 wxListItem
*arg1
= (wxListItem
*) 0 ;
16362 PyObject
* obj0
= 0 ;
16363 char *kwnames
[] = {
16364 (char *) "self", NULL
16367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 result
= (long)(arg1
)->GetData();
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= PyInt_FromLong((long)result
);
16383 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxListItem
*arg1
= (wxListItem
*) 0 ;
16387 PyObject
* obj0
= 0 ;
16388 char *kwnames
[] = {
16389 (char *) "self", NULL
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16396 result
= (int)(arg1
)->GetWidth();
16398 wxPyEndAllowThreads(__tstate
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16401 resultobj
= PyInt_FromLong((long)result
);
16408 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16409 PyObject
*resultobj
;
16410 wxListItem
*arg1
= (wxListItem
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (int)(arg1
)->GetAlign();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= PyInt_FromLong((long)result
);
16433 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxListItem
*arg1
= (wxListItem
*) 0 ;
16436 wxListItemAttr
*result
;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16458 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxListItem
*arg1
= (wxListItem
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16471 result
= (bool)(arg1
)->HasAttributes();
16473 wxPyEndAllowThreads(__tstate
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 resultobj
= PyInt_FromLong((long)result
);
16483 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxListItem
*arg1
= (wxListItem
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 wxColour
* resultptr
;
16503 resultptr
= new wxColour((wxColour
&) result
);
16504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16512 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxListItem
*arg1
= (wxListItem
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16531 wxColour
* resultptr
;
16532 resultptr
= new wxColour((wxColour
&) result
);
16533 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16541 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxListItem
*arg1
= (wxListItem
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= ((wxListItem
const *)arg1
)->GetFont();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16560 wxFont
* resultptr
;
16561 resultptr
= new wxFont((wxFont
&) result
);
16562 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16570 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxListItem
*arg1
= (wxListItem
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self",(char *) "m_mask", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16581 if (arg1
) (arg1
)->m_mask
= arg2
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxListItem
*arg1
= (wxListItem
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16601 result
= (long) ((arg1
)->m_mask
);
16603 resultobj
= PyInt_FromLong((long)result
);
16610 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxListItem
*arg1
= (wxListItem
*) 0 ;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "m_itemId", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16621 if (arg1
) (arg1
)->m_itemId
= arg2
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16632 wxListItem
*arg1
= (wxListItem
*) 0 ;
16634 PyObject
* obj0
= 0 ;
16635 char *kwnames
[] = {
16636 (char *) "self", NULL
16639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16641 result
= (long) ((arg1
)->m_itemId
);
16643 resultobj
= PyInt_FromLong((long)result
);
16650 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxListItem
*arg1
= (wxListItem
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self",(char *) "m_col", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16661 if (arg1
) (arg1
)->m_col
= arg2
;
16663 Py_INCREF(Py_None
); resultobj
= Py_None
;
16670 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxListItem
*arg1
= (wxListItem
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 char *kwnames
[] = {
16676 (char *) "self", NULL
16679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16681 result
= (int) ((arg1
)->m_col
);
16683 resultobj
= PyInt_FromLong((long)result
);
16690 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxListItem
*arg1
= (wxListItem
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self",(char *) "m_state", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16701 if (arg1
) (arg1
)->m_state
= arg2
;
16703 Py_INCREF(Py_None
); resultobj
= Py_None
;
16710 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16712 wxListItem
*arg1
= (wxListItem
*) 0 ;
16714 PyObject
* obj0
= 0 ;
16715 char *kwnames
[] = {
16716 (char *) "self", NULL
16719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16721 result
= (long) ((arg1
)->m_state
);
16723 resultobj
= PyInt_FromLong((long)result
);
16730 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxListItem
*arg1
= (wxListItem
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self",(char *) "m_stateMask", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16741 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16743 Py_INCREF(Py_None
); resultobj
= Py_None
;
16750 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxListItem
*arg1
= (wxListItem
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 result
= (long) ((arg1
)->m_stateMask
);
16763 resultobj
= PyInt_FromLong((long)result
);
16770 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16771 PyObject
*resultobj
;
16772 wxListItem
*arg1
= (wxListItem
*) 0 ;
16773 wxString
*arg2
= (wxString
*) 0 ;
16774 PyObject
* obj0
= 0 ;
16775 PyObject
* obj1
= 0 ;
16776 char *kwnames
[] = {
16777 (char *) "self",(char *) "m_text", NULL
16780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16783 if (arg1
) (arg1
)->m_text
= *arg2
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxListItem
*arg1
= (wxListItem
*) 0 ;
16796 PyObject
* obj0
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16803 result
= (wxString
*)& ((arg1
)->m_text
);
16807 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16809 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16818 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxListItem
*arg1
= (wxListItem
*) 0 ;
16822 PyObject
* obj0
= 0 ;
16823 char *kwnames
[] = {
16824 (char *) "self",(char *) "m_image", NULL
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16829 if (arg1
) (arg1
)->m_image
= arg2
;
16831 Py_INCREF(Py_None
); resultobj
= Py_None
;
16838 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16839 PyObject
*resultobj
;
16840 wxListItem
*arg1
= (wxListItem
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 char *kwnames
[] = {
16844 (char *) "self", NULL
16847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
16848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 result
= (int) ((arg1
)->m_image
);
16851 resultobj
= PyInt_FromLong((long)result
);
16858 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxListItem
*arg1
= (wxListItem
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self",(char *) "m_data", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16869 if (arg1
) (arg1
)->m_data
= arg2
;
16871 Py_INCREF(Py_None
); resultobj
= Py_None
;
16878 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxListItem
*arg1
= (wxListItem
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16889 result
= (long) ((arg1
)->m_data
);
16891 resultobj
= PyInt_FromLong((long)result
);
16898 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxListItem
*arg1
= (wxListItem
*) 0 ;
16902 PyObject
* obj0
= 0 ;
16903 char *kwnames
[] = {
16904 (char *) "self",(char *) "m_format", NULL
16907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16909 if (arg1
) (arg1
)->m_format
= arg2
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16918 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxListItem
*arg1
= (wxListItem
*) 0 ;
16922 PyObject
* obj0
= 0 ;
16923 char *kwnames
[] = {
16924 (char *) "self", NULL
16927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
16928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16929 result
= (int) ((arg1
)->m_format
);
16931 resultobj
= PyInt_FromLong((long)result
);
16938 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxListItem
*arg1
= (wxListItem
*) 0 ;
16942 PyObject
* obj0
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "m_width", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16949 if (arg1
) (arg1
)->m_width
= arg2
;
16951 Py_INCREF(Py_None
); resultobj
= Py_None
;
16958 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
;
16960 wxListItem
*arg1
= (wxListItem
*) 0 ;
16962 PyObject
* obj0
= 0 ;
16963 char *kwnames
[] = {
16964 (char *) "self", NULL
16967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
16968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16969 result
= (int) ((arg1
)->m_width
);
16971 resultobj
= PyInt_FromLong((long)result
);
16978 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
16980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16981 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
16983 return Py_BuildValue((char *)"");
16985 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16988 int arg2
= (int) 0 ;
16989 wxListEvent
*result
;
16990 char *kwnames
[] = {
16991 (char *) "commandType",(char *) "id", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17009 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self",(char *) "m_code", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17020 if (arg1
) (arg1
)->m_code
= arg2
;
17022 Py_INCREF(Py_None
); resultobj
= Py_None
;
17029 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17033 PyObject
* obj0
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17040 result
= (int) ((arg1
)->m_code
);
17042 resultobj
= PyInt_FromLong((long)result
);
17049 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self",(char *) "m_oldItemIndex", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17060 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17080 result
= (long) ((arg1
)->m_oldItemIndex
);
17082 resultobj
= PyInt_FromLong((long)result
);
17089 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self",(char *) "m_itemIndex", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17100 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17102 Py_INCREF(Py_None
); resultobj
= Py_None
;
17109 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17110 PyObject
*resultobj
;
17111 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17113 PyObject
* obj0
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17120 result
= (long) ((arg1
)->m_itemIndex
);
17122 resultobj
= PyInt_FromLong((long)result
);
17129 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self",(char *) "m_col", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17140 if (arg1
) (arg1
)->m_col
= arg2
;
17142 Py_INCREF(Py_None
); resultobj
= Py_None
;
17149 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17153 PyObject
* obj0
= 0 ;
17154 char *kwnames
[] = {
17155 (char *) "self", NULL
17158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17160 result
= (int) ((arg1
)->m_col
);
17162 resultobj
= PyInt_FromLong((long)result
);
17169 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17172 wxPoint
*arg2
= (wxPoint
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "m_pointDrag", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17182 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17202 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17211 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17214 wxListItem
*result
;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17222 result
= (wxListItem
*)& ((arg1
)->m_item
);
17225 resultobj
= wxPyMake_wxObject(result
);
17233 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17237 PyObject
* obj0
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (int)(arg1
)->GetKeyCode();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= PyInt_FromLong((long)result
);
17258 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (long)(arg1
)->GetIndex();
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= PyInt_FromLong((long)result
);
17283 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17284 PyObject
*resultobj
;
17285 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17287 PyObject
* obj0
= 0 ;
17288 char *kwnames
[] = {
17289 (char *) "self", NULL
17292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (int)(arg1
)->GetColumn();
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= PyInt_FromLong((long)result
);
17308 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17321 result
= (arg1
)->GetPoint();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17327 wxPoint
* resultptr
;
17328 resultptr
= new wxPoint((wxPoint
&) result
);
17329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17337 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17341 PyObject
* obj0
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 wxString
const &_result_ref
= (arg1
)->GetLabel();
17352 result
= (wxString
*) &_result_ref
;
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17371 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 wxString
const &_result_ref
= (arg1
)->GetText();
17386 result
= (wxString
*) &_result_ref
;
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17405 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (int)(arg1
)->GetImage();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= PyInt_FromLong((long)result
);
17430 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17434 PyObject
* obj0
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "self", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17443 result
= (long)(arg1
)->GetData();
17445 wxPyEndAllowThreads(__tstate
);
17446 if (PyErr_Occurred()) SWIG_fail
;
17448 resultobj
= PyInt_FromLong((long)result
);
17455 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17459 PyObject
* obj0
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (long)(arg1
)->GetMask();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= PyInt_FromLong((long)result
);
17480 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17483 wxListItem
*result
;
17484 PyObject
* obj0
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17495 result
= (wxListItem
*) &_result_ref
;
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17508 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (long)(arg1
)->GetCacheFrom();
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= PyInt_FromLong((long)result
);
17533 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17537 PyObject
* obj0
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (long)(arg1
)->GetCacheTo();
17548 wxPyEndAllowThreads(__tstate
);
17549 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= PyInt_FromLong((long)result
);
17558 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 char *kwnames
[] = {
17564 (char *) "self", NULL
17567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17571 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= PyInt_FromLong((long)result
);
17583 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 PyObject
* obj1
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "editCancelled", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 arg2
= PyInt_AsLong(obj1
) ? true : false;
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 (arg1
)->SetEditCanceled(arg2
);
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 Py_INCREF(Py_None
); resultobj
= Py_None
;
17611 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17614 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17616 return Py_BuildValue((char *)"");
17618 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17619 PyObject
*resultobj
;
17620 wxWindow
*arg1
= (wxWindow
*) 0 ;
17621 int arg2
= (int) -1 ;
17622 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17623 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17624 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17625 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17626 long arg5
= (long) wxLC_ICON
;
17627 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17628 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17629 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17630 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17631 wxPyListCtrl
*result
;
17634 bool temp7
= False
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 PyObject
* obj5
= 0 ;
17639 PyObject
* obj6
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17649 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17655 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17659 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17660 if (arg6
== NULL
) {
17661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17666 arg7
= wxString_in_helper(obj6
);
17667 if (arg7
== NULL
) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17693 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPyListCtrl
*result
;
17696 char *kwnames
[] = {
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17715 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17718 wxWindow
*arg2
= (wxWindow
*) 0 ;
17719 int arg3
= (int) -1 ;
17720 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17721 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17722 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17723 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17724 long arg6
= (long) wxLC_ICON
;
17725 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17726 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17727 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17728 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17732 bool temp8
= False
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 PyObject
* obj3
= 0 ;
17736 PyObject
* obj4
= 0 ;
17737 PyObject
* obj6
= 0 ;
17738 PyObject
* obj7
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17755 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17759 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17760 if (arg7
== NULL
) {
17761 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17766 arg8
= wxString_in_helper(obj7
);
17767 if (arg8
== NULL
) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= PyInt_FromLong((long)result
);
17793 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
;
17795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17796 PyObject
*arg2
= (PyObject
*) 0 ;
17797 PyObject
*arg3
= (PyObject
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 PyObject
* obj1
= 0 ;
17800 PyObject
* obj2
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self",(char *) "self",(char *) "_class", NULL
17805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17826 wxColour
*arg2
= 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "col", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17839 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= PyInt_FromLong((long)result
);
17855 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17856 PyObject
*resultobj
;
17857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17858 wxColour
*arg2
= 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self",(char *) "col", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17871 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17875 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17877 wxPyEndAllowThreads(__tstate
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 resultobj
= PyInt_FromLong((long)result
);
17887 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17888 PyObject
*resultobj
;
17889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17891 wxListItem
*result
;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "col", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17901 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
17903 wxPyEndAllowThreads(__tstate
);
17904 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= wxPyMake_wxObject(result
);
17915 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17919 wxListItem
*arg3
= 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 char *kwnames
[] = {
17924 (char *) "self",(char *) "col",(char *) "item", NULL
17927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17929 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17930 if (arg3
== NULL
) {
17931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= PyInt_FromLong((long)result
);
17947 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17952 PyObject
* obj0
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "col", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= PyInt_FromLong((long)result
);
17973 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "col",(char *) "width", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= PyInt_FromLong((long)result
);
18000 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 resultobj
= PyInt_FromLong((long)result
);
18025 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 wxRect
* resultptr
;
18045 resultptr
= new wxRect((wxRect
&) result
);
18046 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18054 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18056 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18058 int arg3
= (int) 0 ;
18059 wxListItem
*result
;
18060 PyObject
* obj0
= 0 ;
18061 char *kwnames
[] = {
18062 (char *) "self",(char *) "itemId",(char *) "col", NULL
18065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= wxPyMake_wxObject(result
);
18083 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18086 wxListItem
*arg2
= 0 ;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "info", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18097 if (arg2
== NULL
) {
18098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (bool)(arg1
)->SetItem(*arg2
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= PyInt_FromLong((long)result
);
18114 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18119 wxString
*arg4
= 0 ;
18120 int arg5
= (int) -1 ;
18122 bool temp4
= False
;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj3
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18132 arg4
= wxString_in_helper(obj3
);
18133 if (arg4
== NULL
) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= PyInt_FromLong((long)result
);
18158 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18159 PyObject
*resultobj
;
18160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyInt_FromLong((long)result
);
18185 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= PyInt_FromLong((long)result
);
18213 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= PyInt_FromLong((long)result
);
18241 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self",(char *) "item", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18273 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18277 wxString
*arg3
= 0 ;
18278 bool temp3
= False
;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj2
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "item",(char *) "str", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18288 arg3
= wxString_in_helper(obj2
);
18289 if (arg3
== NULL
) SWIG_fail
;
18293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18296 wxPyEndAllowThreads(__tstate
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18299 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "item", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= PyInt_FromLong((long)result
);
18340 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self",(char *) "item",(char *) "data", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 resultobj
= PyInt_FromLong((long)result
);
18367 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18372 PyObject
* obj0
= 0 ;
18373 char *kwnames
[] = {
18374 (char *) "self",(char *) "item", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 wxPoint
* resultptr
;
18388 resultptr
= new wxPoint((wxPoint
&) result
);
18389 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18397 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18401 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18403 PyObject
* obj0
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "item",(char *) "code", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18418 wxRect
* resultptr
;
18419 resultptr
= new wxRect((wxRect
&) result
);
18420 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18428 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18432 wxPoint
*arg3
= 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj2
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self",(char *) "item",(char *) "pos", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18449 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= PyInt_FromLong((long)result
);
18461 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18465 PyObject
* obj0
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= PyInt_FromLong((long)result
);
18486 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18487 PyObject
*resultobj
;
18488 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18490 PyObject
* obj0
= 0 ;
18491 char *kwnames
[] = {
18492 (char *) "self", NULL
18495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= PyInt_FromLong((long)result
);
18511 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18530 wxSize
* resultptr
;
18531 resultptr
= new wxSize((wxSize
&) result
);
18532 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18540 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18544 bool arg3
= (bool) False
;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj2
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 arg3
= PyInt_AsLong(obj2
) ? true : false;
18555 if (PyErr_Occurred()) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetItemSpacing(arg2
,arg3
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= PyInt_FromLong((long)result
);
18596 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18615 wxColour
* resultptr
;
18616 resultptr
= new wxColour((wxColour
&) result
);
18617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18625 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18628 wxColour
*arg2
= 0 ;
18630 PyObject
* obj0
= 0 ;
18631 PyObject
* obj1
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self",(char *) "col", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18640 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18649 Py_INCREF(Py_None
); resultobj
= Py_None
;
18656 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18660 PyObject
* obj0
= 0 ;
18661 char *kwnames
[] = {
18662 (char *) "self", NULL
18665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= PyInt_FromLong((long)result
);
18681 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18685 bool arg3
= (bool) True
;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj2
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self",(char *) "style",(char *) "add", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18695 arg3
= PyInt_AsLong(obj2
) ? true : false;
18696 if (PyErr_Occurred()) SWIG_fail
;
18699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18700 (arg1
)->SetSingleStyle(arg2
,arg3
);
18702 wxPyEndAllowThreads(__tstate
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 Py_INCREF(Py_None
); resultobj
= Py_None
;
18712 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18713 PyObject
*resultobj
;
18714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self",(char *) "style", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->SetWindowStyleFlag(arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18741 int arg3
= (int) wxLIST_NEXT_ALL
;
18742 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= PyInt_FromLong((long)result
);
18765 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18769 wxImageList
*result
;
18770 PyObject
* obj0
= 0 ;
18771 char *kwnames
[] = {
18772 (char *) "self",(char *) "which", NULL
18775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
18776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= wxPyMake_wxObject(result
);
18793 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18796 wxImageList
*arg2
= (wxImageList
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "imageList",(char *) "which", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 (arg1
)->SetImageList(arg2
,arg3
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 Py_INCREF(Py_None
); resultobj
= Py_None
;
18821 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18822 PyObject
*resultobj
;
18823 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18824 wxImageList
*arg2
= (wxImageList
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self",(char *) "imageList",(char *) "which", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->AssignImageList(arg2
,arg3
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= PyInt_FromLong((long)result
);
18874 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self",(char *) "item", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 (arg1
)->RefreshItem(arg2
);
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18892 Py_INCREF(Py_None
); resultobj
= Py_None
;
18899 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->RefreshItems(arg2
,arg3
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18928 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "flag", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 result
= (bool)(arg1
)->Arrange(arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 resultobj
= PyInt_FromLong((long)result
);
18951 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "item", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= (bool)(arg1
)->DeleteItem(arg2
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= PyInt_FromLong((long)result
);
18977 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
;
18979 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18981 PyObject
* obj0
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (bool)(arg1
)->DeleteAllItems();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= PyInt_FromLong((long)result
);
19002 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19003 PyObject
*resultobj
;
19004 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19007 PyObject
* obj0
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "self",(char *) "col", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= PyInt_FromLong((long)result
);
19028 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (bool)(arg1
)->DeleteAllColumns();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= PyInt_FromLong((long)result
);
19053 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 (arg1
)->ClearAll();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19070 Py_INCREF(Py_None
); resultobj
= Py_None
;
19077 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19078 PyObject
*resultobj
;
19079 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19081 PyObject
* obj0
= 0 ;
19082 char *kwnames
[] = {
19083 (char *) "self",(char *) "item", NULL
19086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 (arg1
)->EditLabel(arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 Py_INCREF(Py_None
); resultobj
= Py_None
;
19102 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19107 PyObject
* obj0
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "item", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= PyInt_FromLong((long)result
);
19128 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19129 PyObject
*resultobj
;
19130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19132 wxString
*arg3
= 0 ;
19133 bool arg4
= (bool) False
;
19135 bool temp3
= False
;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj2
= 0 ;
19138 PyObject
* obj3
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19146 arg3
= wxString_in_helper(obj2
);
19147 if (arg3
== NULL
) SWIG_fail
;
19151 arg4
= PyInt_AsLong(obj3
) ? true : false;
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= PyInt_FromLong((long)result
);
19176 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19177 PyObject
*resultobj
;
19178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self",(char *) "start",(char *) "data", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) 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
= (long)(arg1
)->FindItem(arg2
,arg3
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= PyInt_FromLong((long)result
);
19203 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19204 PyObject
*resultobj
;
19205 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19207 wxPoint
*arg3
= 0 ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj2
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= PyInt_FromLong((long)result
);
19237 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19240 wxPoint
*arg2
= 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "point", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19256 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19260 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19265 resultobj
= PyInt_FromLong((long)result
);
19267 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19268 resultobj
= t_output_helper(resultobj
,o
);
19276 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19279 wxListItem
*arg2
= 0 ;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "info", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19290 if (arg2
== NULL
) {
19291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 result
= (long)(arg1
)->InsertItem(*arg2
);
19297 wxPyEndAllowThreads(__tstate
);
19298 if (PyErr_Occurred()) SWIG_fail
;
19300 resultobj
= PyInt_FromLong((long)result
);
19307 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19311 wxString
*arg3
= 0 ;
19313 bool temp3
= False
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj2
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "self",(char *) "index",(char *) "label", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19323 arg3
= wxString_in_helper(obj2
);
19324 if (arg3
== NULL
) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= PyInt_FromLong((long)result
);
19349 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 resultobj
= PyInt_FromLong((long)result
);
19376 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19380 wxString
*arg3
= 0 ;
19383 bool temp3
= False
;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19393 arg3
= wxString_in_helper(obj2
);
19394 if (arg3
== NULL
) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 resultobj
= PyInt_FromLong((long)result
);
19419 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19423 wxListItem
*arg3
= 0 ;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj2
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "col",(char *) "info", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19433 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 if (arg3
== NULL
) {
19435 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= PyInt_FromLong((long)result
);
19451 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19455 wxString
*arg3
= 0 ;
19456 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19457 int arg5
= (int) -1 ;
19459 bool temp3
= False
;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj2
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19469 arg3
= wxString_in_helper(obj2
);
19470 if (arg3
== NULL
) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= PyInt_FromLong((long)result
);
19495 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19499 PyObject
* obj0
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "count", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->SetItemCount(arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19520 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "dx",(char *) "dy", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= PyInt_FromLong((long)result
);
19547 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19551 wxColour
*arg3
= 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj2
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "item",(char *) "col", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19563 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 Py_INCREF(Py_None
); resultobj
= Py_None
;
19579 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19580 PyObject
*resultobj
;
19581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self",(char *) "item", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 wxColour
* resultptr
;
19600 resultptr
= new wxColour((wxColour
&) result
);
19601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19609 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19613 wxColour
*arg3
= 0 ;
19615 PyObject
* obj0
= 0 ;
19616 PyObject
* obj2
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self",(char *) "item",(char *) "col", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19625 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self",(char *) "item", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19661 wxColour
* resultptr
;
19662 resultptr
= new wxColour((wxColour
&) result
);
19663 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19671 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19674 PyObject
*arg2
= (PyObject
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self",(char *) "func", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19687 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19689 wxPyEndAllowThreads(__tstate
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 resultobj
= PyInt_FromLong((long)result
);
19699 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19700 PyObject
*resultobj
;
19701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= wxPyMake_wxObject(result
);
19726 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19729 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19731 return Py_BuildValue((char *)"");
19733 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxWindow
*arg1
= (wxWindow
*) 0 ;
19736 int arg2
= (int) -1 ;
19737 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19738 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19739 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19740 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19741 long arg5
= (long) wxLC_REPORT
;
19742 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19743 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19744 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19745 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19746 wxListView
*result
;
19749 bool temp7
= False
;
19750 PyObject
* obj0
= 0 ;
19751 PyObject
* obj2
= 0 ;
19752 PyObject
* obj3
= 0 ;
19753 PyObject
* obj5
= 0 ;
19754 PyObject
* obj6
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19764 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19770 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19774 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19775 if (arg6
== NULL
) {
19776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19781 arg7
= wxString_in_helper(obj6
);
19782 if (arg7
== NULL
) SWIG_fail
;
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19808 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListView
*result
;
19811 char *kwnames
[] = {
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 result
= (wxListView
*)new wxListView();
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
19830 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxListView
*arg1
= (wxListView
*) 0 ;
19833 wxWindow
*arg2
= (wxWindow
*) 0 ;
19834 int arg3
= (int) -1 ;
19835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19839 long arg6
= (long) wxLC_REPORT
;
19840 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19841 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19842 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19847 bool temp8
= False
;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 PyObject
* obj3
= 0 ;
19851 PyObject
* obj4
= 0 ;
19852 PyObject
* obj6
= 0 ;
19853 PyObject
* obj7
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19874 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19875 if (arg7
== NULL
) {
19876 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19881 arg8
= wxString_in_helper(obj7
);
19882 if (arg8
== NULL
) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= PyInt_FromLong((long)result
);
19908 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxListView
*arg1
= (wxListView
*) 0 ;
19912 bool arg3
= (bool) True
;
19913 PyObject
* obj0
= 0 ;
19914 PyObject
* obj2
= 0 ;
19915 char *kwnames
[] = {
19916 (char *) "self",(char *) "n",(char *) "on", NULL
19919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19922 arg3
= PyInt_AsLong(obj2
) ? true : false;
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 (arg1
)->Select(arg2
,arg3
);
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 Py_INCREF(Py_None
); resultobj
= Py_None
;
19939 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxListView
*arg1
= (wxListView
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "index", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 (arg1
)->Focus(arg2
);
19954 wxPyEndAllowThreads(__tstate
);
19955 if (PyErr_Occurred()) SWIG_fail
;
19957 Py_INCREF(Py_None
); resultobj
= Py_None
;
19964 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19965 PyObject
*resultobj
;
19966 wxListView
*arg1
= (wxListView
*) 0 ;
19968 PyObject
* obj0
= 0 ;
19969 char *kwnames
[] = {
19970 (char *) "self", NULL
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
19974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= PyInt_FromLong((long)result
);
19989 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxListView
*arg1
= (wxListView
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "item", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= PyInt_FromLong((long)result
);
20015 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxListView
*arg1
= (wxListView
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= PyInt_FromLong((long)result
);
20040 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxListView
*arg1
= (wxListView
*) 0 ;
20045 PyObject
* obj0
= 0 ;
20046 char *kwnames
[] = {
20047 (char *) "self",(char *) "index", NULL
20050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)(arg1
)->IsSelected(arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= PyInt_FromLong((long)result
);
20066 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxListView
*arg1
= (wxListView
*) 0 ;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "self",(char *) "col",(char *) "image", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 (arg1
)->SetColumnImage(arg2
,arg3
);
20082 wxPyEndAllowThreads(__tstate
);
20083 if (PyErr_Occurred()) SWIG_fail
;
20085 Py_INCREF(Py_None
); resultobj
= Py_None
;
20092 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxListView
*arg1
= (wxListView
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "col", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 (arg1
)->ClearColumnImage(arg2
);
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 Py_INCREF(Py_None
); resultobj
= Py_None
;
20117 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20120 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20122 return Py_BuildValue((char *)"");
20124 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20125 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20130 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20135 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20137 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20144 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxTreeItemId
*result
;
20147 char *kwnames
[] = {
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (wxTreeItemId
*)new wxTreeItemId();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20166 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= PyInt_FromLong((long)result
);
20215 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20216 PyObject
*resultobj
;
20217 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20218 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self",(char *) "other", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 resultobj
= PyInt_FromLong((long)result
);
20243 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20246 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 PyObject
* obj1
= 0 ;
20250 char *kwnames
[] = {
20251 (char *) "self",(char *) "other", NULL
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= PyInt_FromLong((long)result
);
20271 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20274 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "self",(char *) "m_pItem", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20284 if (arg1
) (arg1
)->m_pItem
= arg2
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20296 wxTreeItemIdValue result
;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20304 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20313 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20316 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20318 return Py_BuildValue((char *)"");
20320 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 PyObject
*arg1
= (PyObject
*) NULL
;
20323 wxPyTreeItemData
*result
;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "obj", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20347 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20360 result
= (PyObject
*)(arg1
)->GetData();
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= result
;
20372 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20375 PyObject
*arg2
= (PyObject
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 PyObject
* obj1
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self",(char *) "obj", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 (arg1
)->SetData(arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20401 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20402 wxTreeItemId
*result
;
20403 PyObject
* obj0
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20414 result
= (wxTreeItemId
*) &_result_ref
;
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20427 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20430 wxTreeItemId
*arg2
= 0 ;
20431 PyObject
* obj0
= 0 ;
20432 PyObject
* obj1
= 0 ;
20433 char *kwnames
[] = {
20434 (char *) "self",(char *) "id", NULL
20437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20440 if (arg2
== NULL
) {
20441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 Py_INCREF(Py_None
); resultobj
= Py_None
;
20457 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20458 PyObject
*resultobj
;
20459 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 wxPyTreeItemData_Destroy(arg1
);
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20474 Py_INCREF(Py_None
); resultobj
= Py_None
;
20481 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20484 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20486 return Py_BuildValue((char *)"");
20488 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20489 PyObject
*resultobj
;
20490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20491 int arg2
= (int) 0 ;
20492 wxTreeEvent
*result
;
20493 char *kwnames
[] = {
20494 (char *) "commandType",(char *) "id", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20512 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20515 wxTreeItemId result
;
20516 PyObject
* obj0
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20531 wxTreeItemId
* resultptr
;
20532 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20533 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20541 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20544 wxTreeItemId
*arg2
= 0 ;
20545 PyObject
* obj0
= 0 ;
20546 PyObject
* obj1
= 0 ;
20547 char *kwnames
[] = {
20548 (char *) "self",(char *) "item", NULL
20551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20554 if (arg2
== NULL
) {
20555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20574 wxTreeItemId result
;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxTreeItemId
* resultptr
;
20591 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20600 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20603 wxTreeItemId
*arg2
= 0 ;
20604 PyObject
* obj0
= 0 ;
20605 PyObject
* obj1
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "item", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20613 if (arg2
== NULL
) {
20614 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 Py_INCREF(Py_None
); resultobj
= Py_None
;
20630 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 wxPoint
* resultptr
;
20650 resultptr
= new wxPoint((wxPoint
&) result
);
20651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20659 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20662 wxPoint
*arg2
= 0 ;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self",(char *) "pt", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 Py_INCREF(Py_None
); resultobj
= Py_None
;
20690 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20693 wxKeyEvent
*result
;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20705 result
= (wxKeyEvent
*) &_result_ref
;
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20718 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20731 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20733 wxPyEndAllowThreads(__tstate
);
20734 if (PyErr_Occurred()) SWIG_fail
;
20736 resultobj
= PyInt_FromLong((long)result
);
20743 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20744 PyObject
*resultobj
;
20745 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20746 wxKeyEvent
*arg2
= 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self",(char *) "evt", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20756 if (arg2
== NULL
) {
20757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 Py_INCREF(Py_None
); resultobj
= Py_None
;
20773 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
20788 result
= (wxString
*) &_result_ref
;
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20798 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20807 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20810 wxString
*arg2
= 0 ;
20811 bool temp2
= False
;
20812 PyObject
* obj0
= 0 ;
20813 PyObject
* obj1
= 0 ;
20814 char *kwnames
[] = {
20815 (char *) "self",(char *) "label", NULL
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
20819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20821 arg2
= wxString_in_helper(obj1
);
20822 if (arg2
== NULL
) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 (arg1
)->SetLabel((wxString
const &)*arg2
);
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 Py_INCREF(Py_None
); resultobj
= Py_None
;
20847 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20851 PyObject
* obj0
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= PyInt_FromLong((long)result
);
20872 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20876 PyObject
* obj0
= 0 ;
20877 PyObject
* obj1
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "editCancelled", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20884 arg2
= PyInt_AsLong(obj1
) ? true : false;
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 (arg1
)->SetEditCanceled(arg2
);
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 Py_INCREF(Py_None
); resultobj
= Py_None
;
20900 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20903 wxString
*arg2
= 0 ;
20904 bool temp2
= False
;
20905 PyObject
* obj0
= 0 ;
20906 PyObject
* obj1
= 0 ;
20907 char *kwnames
[] = {
20908 (char *) "self",(char *) "toolTip", NULL
20911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
20912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20914 arg2
= wxString_in_helper(obj1
);
20915 if (arg2
== NULL
) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 (arg1
)->SetToolTip((wxString
const &)*arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 Py_INCREF(Py_None
); resultobj
= Py_None
;
20940 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20943 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
20945 return Py_BuildValue((char *)"");
20947 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxWindow
*arg1
= (wxWindow
*) 0 ;
20950 int arg2
= (int) -1 ;
20951 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20952 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20953 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20954 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20955 long arg5
= (long) wxTR_DEFAULT_STYLE
;
20956 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20957 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20958 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
20959 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20960 wxPyTreeCtrl
*result
;
20963 bool temp7
= False
;
20964 PyObject
* obj0
= 0 ;
20965 PyObject
* obj2
= 0 ;
20966 PyObject
* obj3
= 0 ;
20967 PyObject
* obj5
= 0 ;
20968 PyObject
* obj6
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20988 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 if (arg6
== NULL
) {
20990 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20995 arg7
= wxString_in_helper(obj6
);
20996 if (arg7
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= wxPyMake_wxObject(result
);
21024 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
;
21026 wxPyTreeCtrl
*result
;
21027 char *kwnames
[] = {
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 resultobj
= wxPyMake_wxObject(result
);
21048 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21051 wxWindow
*arg2
= (wxWindow
*) 0 ;
21052 int arg3
= (int) -1 ;
21053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21057 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21058 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21059 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21060 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21061 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21065 bool temp8
= False
;
21066 PyObject
* obj0
= 0 ;
21067 PyObject
* obj1
= 0 ;
21068 PyObject
* obj3
= 0 ;
21069 PyObject
* obj4
= 0 ;
21070 PyObject
* obj6
= 0 ;
21071 PyObject
* obj7
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21092 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 if (arg7
== NULL
) {
21094 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21099 arg8
= wxString_in_helper(obj7
);
21100 if (arg8
== NULL
) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= PyInt_FromLong((long)result
);
21126 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
;
21128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21129 PyObject
*arg2
= (PyObject
*) 0 ;
21130 PyObject
*arg3
= (PyObject
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 PyObject
* obj1
= 0 ;
21133 PyObject
* obj2
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self",(char *) "self",(char *) "_class", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21160 PyObject
* obj0
= 0 ;
21161 char *kwnames
[] = {
21162 (char *) "self", NULL
21165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21169 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 resultobj
= PyInt_FromLong((long)result
);
21181 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21184 unsigned int result
;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21194 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= PyInt_FromLong((long)result
);
21206 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21209 unsigned int arg2
;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self",(char *) "indent", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21218 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 (arg1
)->SetIndent(arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 Py_INCREF(Py_None
); resultobj
= Py_None
;
21234 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21237 unsigned int result
;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21252 resultobj
= PyInt_FromLong((long)result
);
21259 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21262 unsigned int arg2
;
21263 PyObject
* obj0
= 0 ;
21264 PyObject
* obj1
= 0 ;
21265 char *kwnames
[] = {
21266 (char *) "self",(char *) "spacing", NULL
21269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21271 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 (arg1
)->SetSpacing(arg2
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 Py_INCREF(Py_None
); resultobj
= Py_None
;
21287 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21288 PyObject
*resultobj
;
21289 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21290 wxImageList
*result
;
21291 PyObject
* obj0
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21306 resultobj
= wxPyMake_wxObject(result
);
21314 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21317 wxImageList
*result
;
21318 PyObject
* obj0
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= wxPyMake_wxObject(result
);
21341 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21344 wxImageList
*arg2
= (wxImageList
*) 0 ;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "imageList", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->SetImageList(arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 Py_INCREF(Py_None
); resultobj
= Py_None
;
21368 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21371 wxImageList
*arg2
= (wxImageList
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "imageList", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 (arg1
)->SetStateImageList(arg2
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 Py_INCREF(Py_None
); resultobj
= Py_None
;
21395 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21398 wxImageList
*arg2
= (wxImageList
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "imageList", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 (arg1
)->AssignImageList(arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 Py_INCREF(Py_None
); resultobj
= Py_None
;
21422 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21425 wxImageList
*arg2
= (wxImageList
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self",(char *) "imageList", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->AssignStateImageList(arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21452 wxTreeItemId
*arg2
= 0 ;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "item", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21462 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21463 if (arg2
== NULL
) {
21464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21486 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21488 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21489 wxTreeItemId
*arg2
= 0 ;
21490 int arg3
= (int) wxTreeItemIcon_Normal
;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 char *kwnames
[] = {
21495 (char *) "self",(char *) "item",(char *) "which", NULL
21498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21501 if (arg2
== NULL
) {
21502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21506 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21508 wxPyEndAllowThreads(__tstate
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= PyInt_FromLong((long)result
);
21518 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21519 PyObject
*resultobj
;
21520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21521 wxTreeItemId
*arg2
= 0 ;
21522 wxPyTreeItemData
*result
;
21523 PyObject
* obj0
= 0 ;
21524 PyObject
* obj1
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self",(char *) "item", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21531 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21532 if (arg2
== NULL
) {
21533 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21549 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21552 wxTreeItemId
*arg2
= 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "item", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",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_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 if (arg2
== NULL
) {
21564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= result
;
21580 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21583 wxTreeItemId
*arg2
= 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "item", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21594 if (arg2
== NULL
) {
21595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21599 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21601 wxPyEndAllowThreads(__tstate
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21605 wxColour
* resultptr
;
21606 resultptr
= new wxColour((wxColour
&) result
);
21607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21615 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21618 wxTreeItemId
*arg2
= 0 ;
21620 PyObject
* obj0
= 0 ;
21621 PyObject
* obj1
= 0 ;
21622 char *kwnames
[] = {
21623 (char *) "self",(char *) "item", NULL
21626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21629 if (arg2
== NULL
) {
21630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 wxColour
* resultptr
;
21641 resultptr
= new wxColour((wxColour
&) result
);
21642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21650 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21653 wxTreeItemId
*arg2
= 0 ;
21655 PyObject
* obj0
= 0 ;
21656 PyObject
* obj1
= 0 ;
21657 char *kwnames
[] = {
21658 (char *) "self",(char *) "item", NULL
21661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21663 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21664 if (arg2
== NULL
) {
21665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21669 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21671 wxPyEndAllowThreads(__tstate
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21675 wxFont
* resultptr
;
21676 resultptr
= new wxFont((wxFont
&) result
);
21677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21685 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21688 wxTreeItemId
*arg2
= 0 ;
21689 wxString
*arg3
= 0 ;
21690 bool temp3
= False
;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 PyObject
* obj2
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "item",(char *) "text", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21701 if (arg2
== NULL
) {
21702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21705 arg3
= wxString_in_helper(obj2
);
21706 if (arg3
== NULL
) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 Py_INCREF(Py_None
); resultobj
= Py_None
;
21731 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21732 PyObject
*resultobj
;
21733 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21734 wxTreeItemId
*arg2
= 0 ;
21736 int arg4
= (int) wxTreeItemIcon_Normal
;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 if (arg2
== NULL
) {
21747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21766 wxTreeItemId
*arg2
= 0 ;
21767 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 PyObject
* obj1
= 0 ;
21770 PyObject
* obj2
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "item",(char *) "data", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21778 if (arg2
== NULL
) {
21779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21781 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 Py_INCREF(Py_None
); resultobj
= Py_None
;
21796 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21799 wxTreeItemId
*arg2
= 0 ;
21800 PyObject
*arg3
= (PyObject
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 PyObject
* obj2
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "item",(char *) "obj", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21822 Py_INCREF(Py_None
); resultobj
= Py_None
;
21829 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21832 wxTreeItemId
*arg2
= 0 ;
21833 bool arg3
= (bool) True
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self",(char *) "item",(char *) "has", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21844 if (arg2
== NULL
) {
21845 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21848 arg3
= PyInt_AsLong(obj2
) ? true : false;
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
21855 wxPyEndAllowThreads(__tstate
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 Py_INCREF(Py_None
); resultobj
= Py_None
;
21865 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21866 PyObject
*resultobj
;
21867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21868 wxTreeItemId
*arg2
= 0 ;
21869 bool arg3
= (bool) True
;
21870 PyObject
* obj0
= 0 ;
21871 PyObject
* obj1
= 0 ;
21872 PyObject
* obj2
= 0 ;
21873 char *kwnames
[] = {
21874 (char *) "self",(char *) "item",(char *) "bold", NULL
21877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21880 if (arg2
== NULL
) {
21881 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21884 arg3
= PyInt_AsLong(obj2
) ? true : false;
21885 if (PyErr_Occurred()) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21904 wxTreeItemId
*arg2
= 0 ;
21905 wxColour
*arg3
= 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 PyObject
* obj2
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "item",(char *) "col", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21917 if (arg2
== NULL
) {
21918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21922 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21941 wxTreeItemId
*arg2
= 0 ;
21942 wxColour
*arg3
= 0 ;
21944 PyObject
* obj0
= 0 ;
21945 PyObject
* obj1
= 0 ;
21946 PyObject
* obj2
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self",(char *) "item",(char *) "col", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21954 if (arg2
== NULL
) {
21955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21959 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 Py_INCREF(Py_None
); resultobj
= Py_None
;
21975 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21978 wxTreeItemId
*arg2
= 0 ;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 PyObject
* obj2
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "item",(char *) "font", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21990 if (arg2
== NULL
) {
21991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21993 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21994 if (arg3
== NULL
) {
21995 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 Py_INCREF(Py_None
); resultobj
= Py_None
;
22011 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22014 wxTreeItemId
*arg2
= 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "self",(char *) "item", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if (arg2
== NULL
) {
22026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 resultobj
= PyInt_FromLong((long)result
);
22042 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22045 wxTreeItemId
*arg2
= 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "item", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22056 if (arg2
== NULL
) {
22057 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22061 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= PyInt_FromLong((long)result
);
22073 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22076 wxTreeItemId
*arg2
= 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "item", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22086 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22087 if (arg2
== NULL
) {
22088 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= PyInt_FromLong((long)result
);
22104 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22107 wxTreeItemId
*arg2
= 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "item", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22118 if (arg2
== NULL
) {
22119 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= PyInt_FromLong((long)result
);
22135 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22138 wxTreeItemId
*arg2
= 0 ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self",(char *) "item", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22148 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22149 if (arg2
== NULL
) {
22150 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= PyInt_FromLong((long)result
);
22166 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22169 wxTreeItemId
*arg2
= 0 ;
22170 bool arg3
= (bool) True
;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 PyObject
* obj2
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "item",(char *) "recursively", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22182 if (arg2
== NULL
) {
22183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22186 arg3
= PyInt_AsLong(obj2
) ? true : false;
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= PyInt_FromLong((long)result
);
22203 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
;
22205 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22206 wxTreeItemId result
;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 wxTreeItemId
* resultptr
;
22223 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22232 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22235 wxTreeItemId result
;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22251 wxTreeItemId
* resultptr
;
22252 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22253 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22261 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22265 PyObject
* obj0
= 0 ;
22266 char *kwnames
[] = {
22267 (char *) "self", NULL
22270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= result
;
22286 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22289 wxTreeItemId
*arg2
= 0 ;
22290 wxTreeItemId result
;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "item", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22300 if (arg2
== NULL
) {
22301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22305 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22307 wxPyEndAllowThreads(__tstate
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 wxTreeItemId
* resultptr
;
22312 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22313 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22321 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
;
22323 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22324 wxTreeItemId
*arg2
= 0 ;
22326 PyObject
* obj0
= 0 ;
22327 PyObject
* obj1
= 0 ;
22328 char *kwnames
[] = {
22329 (char *) "self",(char *) "item", NULL
22332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22335 if (arg2
== NULL
) {
22336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 resultobj
= result
;
22352 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22355 wxTreeItemId
*arg2
= 0 ;
22356 wxTreeItemIdValue
*arg3
= 0 ;
22358 PyObject
* obj0
= 0 ;
22359 PyObject
* obj1
= 0 ;
22360 PyObject
* obj2
= 0 ;
22361 char *kwnames
[] = {
22362 (char *) "self",(char *) "item",(char *) "cookie", NULL
22365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22368 if (arg2
== NULL
) {
22369 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22371 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22372 if (arg3
== NULL
) {
22373 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= result
;
22389 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22392 wxTreeItemId
*arg2
= 0 ;
22393 wxTreeItemId result
;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 char *kwnames
[] = {
22397 (char *) "self",(char *) "item", NULL
22400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22403 if (arg2
== NULL
) {
22404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22414 wxTreeItemId
* resultptr
;
22415 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22424 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22427 wxTreeItemId
*arg2
= 0 ;
22428 wxTreeItemId result
;
22429 PyObject
* obj0
= 0 ;
22430 PyObject
* obj1
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self",(char *) "item", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22437 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22438 if (arg2
== NULL
) {
22439 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22449 wxTreeItemId
* resultptr
;
22450 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22459 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22462 wxTreeItemId
*arg2
= 0 ;
22463 wxTreeItemId result
;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 char *kwnames
[] = {
22467 (char *) "self",(char *) "item", NULL
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22473 if (arg2
== NULL
) {
22474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22484 wxTreeItemId
* resultptr
;
22485 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22486 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22494 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22497 wxTreeItemId result
;
22498 PyObject
* obj0
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22513 wxTreeItemId
* resultptr
;
22514 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22523 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22524 PyObject
*resultobj
;
22525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22526 wxTreeItemId
*arg2
= 0 ;
22527 wxTreeItemId result
;
22528 PyObject
* obj0
= 0 ;
22529 PyObject
* obj1
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self",(char *) "item", NULL
22534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22537 if (arg2
== NULL
) {
22538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 wxTreeItemId
* resultptr
;
22549 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22558 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22561 wxTreeItemId
*arg2
= 0 ;
22562 wxTreeItemId result
;
22563 PyObject
* obj0
= 0 ;
22564 PyObject
* obj1
= 0 ;
22565 char *kwnames
[] = {
22566 (char *) "self",(char *) "item", NULL
22569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22572 if (arg2
== NULL
) {
22573 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22583 wxTreeItemId
* resultptr
;
22584 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22585 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22593 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
;
22595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22596 wxString
*arg2
= 0 ;
22597 int arg3
= (int) -1 ;
22598 int arg4
= (int) -1 ;
22599 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22600 wxTreeItemId result
;
22601 bool temp2
= False
;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 PyObject
* obj4
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22612 arg2
= wxString_in_helper(obj1
);
22613 if (arg2
== NULL
) SWIG_fail
;
22617 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22621 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22623 wxPyEndAllowThreads(__tstate
);
22624 if (PyErr_Occurred()) SWIG_fail
;
22627 wxTreeItemId
* resultptr
;
22628 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22629 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22645 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22648 wxTreeItemId
*arg2
= 0 ;
22649 wxString
*arg3
= 0 ;
22650 int arg4
= (int) -1 ;
22651 int arg5
= (int) -1 ;
22652 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22653 wxTreeItemId result
;
22654 bool temp3
= False
;
22655 PyObject
* obj0
= 0 ;
22656 PyObject
* obj1
= 0 ;
22657 PyObject
* obj2
= 0 ;
22658 PyObject
* obj5
= 0 ;
22659 char *kwnames
[] = {
22660 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22665 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22666 if (arg2
== NULL
) {
22667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22670 arg3
= wxString_in_helper(obj2
);
22671 if (arg3
== NULL
) SWIG_fail
;
22675 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 wxTreeItemId
* resultptr
;
22686 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22687 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22703 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22704 PyObject
*resultobj
;
22705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22706 wxTreeItemId
*arg2
= 0 ;
22707 wxTreeItemId
*arg3
= 0 ;
22708 wxString
*arg4
= 0 ;
22709 int arg5
= (int) -1 ;
22710 int arg6
= (int) -1 ;
22711 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22712 wxTreeItemId result
;
22713 bool temp4
= False
;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 PyObject
* obj2
= 0 ;
22717 PyObject
* obj3
= 0 ;
22718 PyObject
* obj6
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22725 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22726 if (arg2
== NULL
) {
22727 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22729 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22730 if (arg3
== NULL
) {
22731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22734 arg4
= wxString_in_helper(obj3
);
22735 if (arg4
== NULL
) SWIG_fail
;
22739 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 wxTreeItemId
* resultptr
;
22750 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22767 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22770 wxTreeItemId
*arg2
= 0 ;
22772 wxString
*arg4
= 0 ;
22773 int arg5
= (int) -1 ;
22774 int arg6
= (int) -1 ;
22775 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
22776 wxTreeItemId result
;
22777 bool temp4
= False
;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 PyObject
* obj3
= 0 ;
22782 PyObject
* obj6
= 0 ;
22783 char *kwnames
[] = {
22784 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) 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
;
22793 arg3
= (size_t) PyInt_AsLong(obj2
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 arg4
= wxString_in_helper(obj3
);
22797 if (arg4
== NULL
) SWIG_fail
;
22801 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 wxTreeItemId
* resultptr
;
22812 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22813 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22829 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22830 PyObject
*resultobj
;
22831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22832 wxTreeItemId
*arg2
= 0 ;
22833 wxString
*arg3
= 0 ;
22834 int arg4
= (int) -1 ;
22835 int arg5
= (int) -1 ;
22836 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22837 wxTreeItemId result
;
22838 bool temp3
= False
;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22841 PyObject
* obj2
= 0 ;
22842 PyObject
* obj5
= 0 ;
22843 char *kwnames
[] = {
22844 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22850 if (arg2
== NULL
) {
22851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22854 arg3
= wxString_in_helper(obj2
);
22855 if (arg3
== NULL
) SWIG_fail
;
22859 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22863 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22869 wxTreeItemId
* resultptr
;
22870 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22887 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22890 wxTreeItemId
*arg2
= 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 char *kwnames
[] = {
22894 (char *) "self",(char *) "item", NULL
22897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
22898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22899 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22900 if (arg2
== NULL
) {
22901 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 Py_INCREF(Py_None
); resultobj
= Py_None
;
22917 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22920 wxTreeItemId
*arg2
= 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 char *kwnames
[] = {
22924 (char *) "self",(char *) "item", NULL
22927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22930 if (arg2
== NULL
) {
22931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->DeleteAllItems();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22972 PyObject
*resultobj
;
22973 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22974 wxTreeItemId
*arg2
= 0 ;
22975 PyObject
* obj0
= 0 ;
22976 PyObject
* obj1
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self",(char *) "item", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22984 if (arg2
== NULL
) {
22985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 Py_INCREF(Py_None
); resultobj
= Py_None
;
23001 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23004 wxTreeItemId
*arg2
= 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "item", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23014 if (arg2
== NULL
) {
23015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 Py_INCREF(Py_None
); resultobj
= Py_None
;
23031 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
;
23033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23034 wxTreeItemId
*arg2
= 0 ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "item", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23044 if (arg2
== NULL
) {
23045 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 Py_INCREF(Py_None
); resultobj
= Py_None
;
23061 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23064 wxTreeItemId
*arg2
= 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self",(char *) "item", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23074 if (arg2
== NULL
) {
23075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23091 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
;
23093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 (arg1
)->Unselect();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 Py_INCREF(Py_None
); resultobj
= Py_None
;
23115 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23118 PyObject
* obj0
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 (arg1
)->UnselectAll();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 Py_INCREF(Py_None
); resultobj
= Py_None
;
23139 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23142 wxTreeItemId
*arg2
= 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "item", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 if (arg2
== NULL
) {
23153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 Py_INCREF(Py_None
); resultobj
= Py_None
;
23169 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23172 wxTreeItemId
*arg2
= 0 ;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "item", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23182 if (arg2
== NULL
) {
23183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 Py_INCREF(Py_None
); resultobj
= Py_None
;
23199 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23202 wxTreeItemId
*arg2
= 0 ;
23203 PyObject
* obj0
= 0 ;
23204 PyObject
* obj1
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self",(char *) "item", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23212 if (arg2
== NULL
) {
23213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23219 wxPyEndAllowThreads(__tstate
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23222 Py_INCREF(Py_None
); resultobj
= Py_None
;
23229 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23232 wxTreeItemId
*arg2
= 0 ;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "item", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23242 if (arg2
== NULL
) {
23243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23252 Py_INCREF(Py_None
); resultobj
= Py_None
;
23259 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23260 PyObject
*resultobj
;
23261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23262 wxTextCtrl
*result
;
23263 PyObject
* obj0
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= wxPyMake_wxObject(result
);
23286 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23289 wxTreeItemId
*arg2
= 0 ;
23290 PyObject
* obj0
= 0 ;
23291 PyObject
* obj1
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "self",(char *) "item", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23299 if (arg2
== NULL
) {
23300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 Py_INCREF(Py_None
); resultobj
= Py_None
;
23316 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23319 wxPoint
*arg2
= 0 ;
23321 wxTreeItemId result
;
23324 PyObject
* obj0
= 0 ;
23325 PyObject
* obj1
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self",(char *) "point", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 wxTreeItemId
* resultptr
;
23346 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23347 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23350 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23351 resultobj
= t_output_helper(resultobj
,o
);
23359 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23362 wxTreeItemId
*arg2
= 0 ;
23363 bool arg3
= (bool) False
;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 PyObject
* obj2
= 0 ;
23368 char *kwnames
[] = {
23369 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23375 if (arg2
== NULL
) {
23376 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23379 arg3
= PyInt_AsLong(obj2
) ? true : false;
23380 if (PyErr_Occurred()) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 resultobj
= result
;
23396 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23399 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23401 return Py_BuildValue((char *)"");
23403 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23404 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23409 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23414 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23416 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23423 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxWindow
*arg1
= (wxWindow
*) 0 ;
23426 int arg2
= (int) (int)-1 ;
23427 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23429 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23430 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23431 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23432 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23433 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23434 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23435 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23436 int arg8
= (int) 0 ;
23437 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23438 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23439 wxGenericDirCtrl
*result
;
23440 bool temp3
= False
;
23443 bool temp7
= False
;
23444 bool temp9
= False
;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj2
= 0 ;
23447 PyObject
* obj3
= 0 ;
23448 PyObject
* obj4
= 0 ;
23449 PyObject
* obj6
= 0 ;
23450 PyObject
* obj8
= 0 ;
23451 char *kwnames
[] = {
23452 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23459 arg3
= wxString_in_helper(obj2
);
23460 if (arg3
== NULL
) SWIG_fail
;
23467 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23473 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23478 arg7
= wxString_in_helper(obj6
);
23479 if (arg7
== NULL
) SWIG_fail
;
23485 arg9
= wxString_in_helper(obj8
);
23486 if (arg9
== NULL
) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23528 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxGenericDirCtrl
*result
;
23531 char *kwnames
[] = {
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23550 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23553 wxWindow
*arg2
= (wxWindow
*) 0 ;
23554 int arg3
= (int) (int)-1 ;
23555 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23556 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23557 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23558 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23559 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23560 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23561 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23562 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23563 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23564 int arg9
= (int) 0 ;
23565 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23566 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23568 bool temp4
= False
;
23571 bool temp8
= False
;
23572 bool temp10
= False
;
23573 PyObject
* obj0
= 0 ;
23574 PyObject
* obj1
= 0 ;
23575 PyObject
* obj3
= 0 ;
23576 PyObject
* obj4
= 0 ;
23577 PyObject
* obj5
= 0 ;
23578 PyObject
* obj7
= 0 ;
23579 PyObject
* obj9
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23586 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23589 arg4
= wxString_in_helper(obj3
);
23590 if (arg4
== NULL
) SWIG_fail
;
23597 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23603 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23608 arg8
= wxString_in_helper(obj7
);
23609 if (arg8
== NULL
) SWIG_fail
;
23615 arg10
= wxString_in_helper(obj9
);
23616 if (arg10
== NULL
) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= PyInt_FromLong((long)result
);
23658 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23661 wxString
*arg2
= 0 ;
23663 bool temp2
= False
;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "path", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23673 arg2
= wxString_in_helper(obj1
);
23674 if (arg2
== NULL
) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 resultobj
= PyInt_FromLong((long)result
);
23699 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23730 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23733 wxString
*arg2
= 0 ;
23734 bool temp2
= False
;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "path", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23744 arg2
= wxString_in_helper(obj1
);
23745 if (arg2
== NULL
) SWIG_fail
;
23749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23750 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 Py_INCREF(Py_None
); resultobj
= Py_None
;
23770 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
;
23772 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "self", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
23780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23801 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
;
23803 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23832 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23835 wxString
*arg2
= 0 ;
23836 bool temp2
= False
;
23837 PyObject
* obj0
= 0 ;
23838 PyObject
* obj1
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self",(char *) "path", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23846 arg2
= wxString_in_helper(obj1
);
23847 if (arg2
== NULL
) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 (arg1
)->SetPath((wxString
const &)*arg2
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 PyObject
* obj1
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "show", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23884 arg2
= PyInt_AsLong(obj1
) ? true : false;
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 (arg1
)->ShowHidden(arg2
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 Py_INCREF(Py_None
); resultobj
= Py_None
;
23900 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (bool)(arg1
)->GetShowHidden();
23915 wxPyEndAllowThreads(__tstate
);
23916 if (PyErr_Occurred()) SWIG_fail
;
23918 resultobj
= PyInt_FromLong((long)result
);
23925 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23929 PyObject
* obj0
= 0 ;
23930 char *kwnames
[] = {
23931 (char *) "self", NULL
23934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
23935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23956 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23959 wxString
*arg2
= 0 ;
23960 bool temp2
= False
;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "filter", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 arg2
= wxString_in_helper(obj1
);
23971 if (arg2
== NULL
) SWIG_fail
;
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 (arg1
)->SetFilter((wxString
const &)*arg2
);
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 Py_INCREF(Py_None
); resultobj
= Py_None
;
23996 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24000 PyObject
* obj0
= 0 ;
24001 char *kwnames
[] = {
24002 (char *) "self", NULL
24005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 resultobj
= PyInt_FromLong((long)result
);
24021 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24025 PyObject
* obj0
= 0 ;
24026 char *kwnames
[] = {
24027 (char *) "self",(char *) "n", NULL
24030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->SetFilterIndex(arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24046 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24049 wxTreeItemId result
;
24050 PyObject
* obj0
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (arg1
)->GetRootId();
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24065 wxTreeItemId
* resultptr
;
24066 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24067 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24075 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24078 wxPyTreeCtrl
*result
;
24079 PyObject
* obj0
= 0 ;
24080 char *kwnames
[] = {
24081 (char *) "self", NULL
24084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24088 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24090 wxPyEndAllowThreads(__tstate
);
24091 if (PyErr_Occurred()) SWIG_fail
;
24094 resultobj
= wxPyMake_wxObject(result
);
24102 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24105 wxDirFilterListCtrl
*result
;
24106 PyObject
* obj0
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24127 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24130 wxTreeItemId arg2
;
24131 wxString
*arg3
= 0 ;
24133 wxTreeItemId result
;
24134 wxTreeItemId
*argp2
;
24135 bool temp3
= False
;
24137 PyObject
* obj0
= 0 ;
24138 PyObject
* obj1
= 0 ;
24139 PyObject
* obj2
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "parentId",(char *) "path", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24147 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24150 arg3
= wxString_in_helper(obj2
);
24151 if (arg3
== NULL
) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 wxTreeItemId
* resultptr
;
24163 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24167 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24168 resultobj
= t_output_helper(resultobj
,o
);
24184 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 (arg1
)->DoResize();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24211 PyObject
* obj0
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 (arg1
)->ReCreateTree();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24225 Py_INCREF(Py_None
); resultobj
= Py_None
;
24232 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24235 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24237 return Py_BuildValue((char *)"");
24239 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24242 int arg2
= (int) (int)-1 ;
24243 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24244 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24245 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24246 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24247 long arg5
= (long) 0 ;
24248 wxDirFilterListCtrl
*result
;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj2
= 0 ;
24253 PyObject
* obj3
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24263 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24269 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24286 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDirFilterListCtrl
*result
;
24289 char *kwnames
[] = {
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24308 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24311 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24312 int arg3
= (int) (int)-1 ;
24313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24317 long arg6
= (long) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj3
= 0 ;
24324 PyObject
* obj4
= 0 ;
24325 char *kwnames
[] = {
24326 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24331 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24335 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24341 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 resultobj
= PyInt_FromLong((long)result
);
24358 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24361 wxString
*arg2
= 0 ;
24363 bool temp2
= False
;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 char *kwnames
[] = {
24367 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24373 arg2
= wxString_in_helper(obj1
);
24374 if (arg2
== NULL
) SWIG_fail
;
24378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24379 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 Py_INCREF(Py_None
); resultobj
= Py_None
;
24399 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24402 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24404 return Py_BuildValue((char *)"");
24406 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24407 PyObject
*resultobj
;
24408 wxWindow
*arg1
= (wxWindow
*) 0 ;
24410 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24411 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24412 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24413 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24414 long arg5
= (long) 0 ;
24415 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24416 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24417 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24419 wxPyControl
*result
;
24422 bool temp7
= False
;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj2
= 0 ;
24425 PyObject
* obj3
= 0 ;
24426 PyObject
* obj5
= 0 ;
24427 PyObject
* obj6
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24443 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24447 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24448 if (arg6
== NULL
) {
24449 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24454 arg7
= wxString_in_helper(obj6
);
24455 if (arg7
== NULL
) SWIG_fail
;
24460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24461 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24481 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24484 PyObject
*arg2
= (PyObject
*) 0 ;
24485 PyObject
*arg3
= (PyObject
*) 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 PyObject
* obj2
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "self",(char *) "_class", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24501 wxPyEndAllowThreads(__tstate
);
24502 if (PyErr_Occurred()) SWIG_fail
;
24504 Py_INCREF(Py_None
); resultobj
= Py_None
;
24511 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24512 PyObject
*resultobj
;
24513 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24529 wxPyEndAllowThreads(__tstate
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 Py_INCREF(Py_None
); resultobj
= Py_None
;
24539 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24540 PyObject
*resultobj
;
24541 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24546 int arg6
= (int) wxSIZE_AUTO
;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
;
24570 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self",(char *) "width",(char *) "height", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24587 Py_INCREF(Py_None
); resultobj
= Py_None
;
24594 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24595 PyObject
*resultobj
;
24596 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24599 PyObject
* obj0
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "x",(char *) "y", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24608 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24623 int *arg2
= (int *) 0 ;
24624 int *arg3
= (int *) 0 ;
24627 PyObject
* obj0
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24646 resultobj
= t_output_helper(resultobj
,o
);
24649 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24650 resultobj
= t_output_helper(resultobj
,o
);
24658 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24661 int *arg2
= (int *) 0 ;
24662 int *arg3
= (int *) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 Py_INCREF(Py_None
); resultobj
= Py_None
;
24683 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24684 resultobj
= t_output_helper(resultobj
,o
);
24687 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24688 resultobj
= t_output_helper(resultobj
,o
);
24696 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24697 PyObject
*resultobj
;
24698 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24699 int *arg2
= (int *) 0 ;
24700 int *arg3
= (int *) 0 ;
24703 PyObject
* obj0
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self", NULL
24710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
24711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24721 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24722 resultobj
= t_output_helper(resultobj
,o
);
24725 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24726 resultobj
= t_output_helper(resultobj
,o
);
24734 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24735 PyObject
*resultobj
;
24736 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
24744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24753 wxSize
* resultptr
;
24754 resultptr
= new wxSize((wxSize
&) result
);
24755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24763 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24764 PyObject
*resultobj
;
24765 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24782 wxSize
* resultptr
;
24783 resultptr
= new wxSize((wxSize
&) result
);
24784 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24792 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 (arg1
)->base_InitDialog();
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 Py_INCREF(Py_None
); resultobj
= Py_None
;
24816 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24820 PyObject
* obj0
= 0 ;
24821 char *kwnames
[] = {
24822 (char *) "self", NULL
24825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (bool)(arg1
)->base_TransferDataToWindow();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 resultobj
= PyInt_FromLong((long)result
);
24841 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24845 PyObject
* obj0
= 0 ;
24846 char *kwnames
[] = {
24847 (char *) "self", NULL
24850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 result
= (bool)(arg1
)->base_TransferDataFromWindow();
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= PyInt_FromLong((long)result
);
24866 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24870 PyObject
* obj0
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)(arg1
)->base_Validate();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= PyInt_FromLong((long)result
);
24891 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= PyInt_FromLong((long)result
);
24916 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= PyInt_FromLong((long)result
);
24941 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24945 PyObject
* obj0
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24954 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
24956 wxPyEndAllowThreads(__tstate
);
24957 if (PyErr_Occurred()) SWIG_fail
;
24960 wxSize
* resultptr
;
24961 resultptr
= new wxSize((wxSize
&) result
);
24962 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
24970 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24973 wxWindow
*arg2
= (wxWindow
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "child", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 (arg1
)->base_AddChild(arg2
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 Py_INCREF(Py_None
); resultobj
= Py_None
;
24997 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25000 wxWindow
*arg2
= (wxWindow
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "child", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->base_RemoveChild(arg2
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25024 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25027 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25029 return Py_BuildValue((char *)"");
25031 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25032 PyObject
*resultobj
;
25033 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25034 int arg2
= (int) 0 ;
25035 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25036 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25037 wxHelpEvent
*result
;
25039 PyObject
* obj2
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "type",(char *) "winid",(char *) "pt", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25065 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25080 result
= (wxPoint
*) &_result_ref
;
25083 wxPyEndAllowThreads(__tstate
);
25084 if (PyErr_Occurred()) SWIG_fail
;
25086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25093 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25096 wxPoint
*arg2
= 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "pos", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25108 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 Py_INCREF(Py_None
); resultobj
= Py_None
;
25124 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
;
25126 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25128 PyObject
* obj0
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25139 result
= (wxString
*) &_result_ref
;
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25147 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25149 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25158 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25159 PyObject
*resultobj
;
25160 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25161 wxString
*arg2
= 0 ;
25162 bool temp2
= False
;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 char *kwnames
[] = {
25166 (char *) "self",(char *) "link", NULL
25169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25172 arg2
= wxString_in_helper(obj1
);
25173 if (arg2
== NULL
) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 (arg1
)->SetLink((wxString
const &)*arg2
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 Py_INCREF(Py_None
); resultobj
= Py_None
;
25198 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25213 result
= (wxString
*) &_result_ref
;
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25232 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25235 wxString
*arg2
= 0 ;
25236 bool temp2
= False
;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "target", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25246 arg2
= wxString_in_helper(obj1
);
25247 if (arg2
== NULL
) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 (arg1
)->SetTarget((wxString
const &)*arg2
);
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 Py_INCREF(Py_None
); resultobj
= Py_None
;
25272 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25275 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25277 return Py_BuildValue((char *)"");
25279 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxWindow
*arg1
= (wxWindow
*) NULL
;
25282 bool arg2
= (bool) True
;
25283 wxContextHelp
*result
;
25284 PyObject
* obj0
= 0 ;
25285 PyObject
* obj1
= 0 ;
25286 char *kwnames
[] = {
25287 (char *) "window",(char *) "doNow", NULL
25290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25295 arg2
= PyInt_AsLong(obj1
) ? true : false;
25296 if (PyErr_Occurred()) SWIG_fail
;
25299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25300 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25302 wxPyEndAllowThreads(__tstate
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25312 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25313 PyObject
*resultobj
;
25314 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25315 PyObject
* obj0
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25336 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25339 wxWindow
*arg2
= (wxWindow
*) NULL
;
25341 PyObject
* obj0
= 0 ;
25342 PyObject
* obj1
= 0 ;
25343 char *kwnames
[] = {
25344 (char *) "self",(char *) "window", NULL
25347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= PyInt_FromLong((long)result
);
25366 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25370 PyObject
* obj0
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25379 result
= (bool)(arg1
)->EndContextHelp();
25381 wxPyEndAllowThreads(__tstate
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 resultobj
= PyInt_FromLong((long)result
);
25391 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25394 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25396 return Py_BuildValue((char *)"");
25398 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25401 int arg2
= (int) wxID_CONTEXT_HELP
;
25402 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25403 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25404 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25405 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25406 long arg5
= (long) wxBU_AUTODRAW
;
25407 wxContextHelpButton
*result
;
25410 PyObject
* obj0
= 0 ;
25411 PyObject
* obj2
= 0 ;
25412 PyObject
* obj3
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25445 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25448 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25450 return Py_BuildValue((char *)"");
25452 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25455 wxHelpProvider
*result
;
25456 PyObject
* obj0
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "helpProvider", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25477 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxHelpProvider
*result
;
25480 char *kwnames
[] = {
25484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25487 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25499 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25502 wxWindow
*arg2
= (wxWindow
*) 0 ;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "window", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25533 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25536 wxWindow
*arg2
= (wxWindow
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "window", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (bool)(arg1
)->ShowHelp(arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= PyInt_FromLong((long)result
);
25561 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25564 wxWindow
*arg2
= (wxWindow
*) 0 ;
25565 wxString
*arg3
= 0 ;
25566 bool temp3
= False
;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 PyObject
* obj2
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "window",(char *) "text", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25578 arg3
= wxString_in_helper(obj2
);
25579 if (arg3
== NULL
) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25608 wxString
*arg3
= 0 ;
25609 bool temp3
= False
;
25610 PyObject
* obj0
= 0 ;
25611 PyObject
* obj2
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self",(char *) "id",(char *) "text", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25619 arg3
= wxString_in_helper(obj2
);
25620 if (arg3
== NULL
) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25627 wxPyEndAllowThreads(__tstate
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25630 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25648 PyObject
* obj0
= 0 ;
25649 char *kwnames
[] = {
25650 (char *) "self", NULL
25653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 wxHelpProvider_Destroy(arg1
);
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 Py_INCREF(Py_None
); resultobj
= Py_None
;
25669 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25672 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
25674 return Py_BuildValue((char *)"");
25676 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25677 PyObject
*resultobj
;
25678 wxSimpleHelpProvider
*result
;
25679 char *kwnames
[] = {
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
25698 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
25700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25701 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
25703 return Py_BuildValue((char *)"");
25705 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxBitmap
*arg1
= 0 ;
25708 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25709 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25710 wxGenericDragImage
*result
;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "image",(char *) "cursor", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25719 if (arg1
== NULL
) {
25720 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25723 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 if (arg2
== NULL
) {
25725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
25732 wxPyEndAllowThreads(__tstate
);
25733 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25742 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
;
25745 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25746 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25747 wxGenericDragImage
*result
;
25748 PyObject
* obj0
= 0 ;
25749 PyObject
* obj1
= 0 ;
25750 char *kwnames
[] = {
25751 (char *) "image",(char *) "cursor", NULL
25754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
25755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25756 if (arg1
== NULL
) {
25757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25761 if (arg2
== NULL
) {
25762 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25779 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxString
*arg1
= 0 ;
25782 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25783 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25784 wxGenericDragImage
*result
;
25785 bool temp1
= False
;
25786 PyObject
* obj0
= 0 ;
25787 PyObject
* obj1
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "str",(char *) "cursor", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
25794 arg1
= wxString_in_helper(obj0
);
25795 if (arg1
== NULL
) SWIG_fail
;
25799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25800 if (arg2
== NULL
) {
25801 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25806 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25826 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxPyTreeCtrl
*arg1
= 0 ;
25829 wxTreeItemId
*arg2
= 0 ;
25830 wxGenericDragImage
*result
;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 char *kwnames
[] = {
25834 (char *) "treeCtrl",(char *) "id", NULL
25837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25839 if (arg1
== NULL
) {
25840 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 if (arg2
== NULL
) {
25844 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25848 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
25850 wxPyEndAllowThreads(__tstate
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25860 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25861 PyObject
*resultobj
;
25862 wxPyListCtrl
*arg1
= 0 ;
25864 wxGenericDragImage
*result
;
25865 PyObject
* obj0
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "listCtrl",(char *) "id", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
25871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25872 if (arg1
== NULL
) {
25873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
25889 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
;
25891 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
25898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 wxPyEndAllowThreads(__tstate
);
25904 if (PyErr_Occurred()) SWIG_fail
;
25906 Py_INCREF(Py_None
); resultobj
= Py_None
;
25913 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25914 PyObject
*resultobj
;
25915 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25916 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "bitmap", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 (arg1
)->SetBackingBitmap(arg2
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25943 wxPoint
*arg2
= 0 ;
25944 wxWindow
*arg3
= (wxWindow
*) 0 ;
25945 bool arg4
= (bool) False
;
25946 wxRect
*arg5
= (wxRect
*) NULL
;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 PyObject
* obj2
= 0 ;
25952 PyObject
* obj3
= 0 ;
25953 PyObject
* obj4
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25964 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25966 arg4
= PyInt_AsLong(obj3
) ? true : false;
25967 if (PyErr_Occurred()) SWIG_fail
;
25970 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 resultobj
= PyInt_FromLong((long)result
);
25986 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
25989 wxPoint
*arg2
= 0 ;
25990 wxWindow
*arg3
= (wxWindow
*) 0 ;
25991 wxWindow
*arg4
= (wxWindow
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 PyObject
* obj2
= 0 ;
25997 PyObject
* obj3
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26008 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26009 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= PyInt_FromLong((long)result
);
26024 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26037 result
= (bool)(arg1
)->EndDrag();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= PyInt_FromLong((long)result
);
26049 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
;
26051 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26052 wxPoint
*arg2
= 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "pt", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26069 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26071 wxPyEndAllowThreads(__tstate
);
26072 if (PyErr_Occurred()) SWIG_fail
;
26074 resultobj
= PyInt_FromLong((long)result
);
26081 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26085 PyObject
* obj0
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)(arg1
)->Show();
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= PyInt_FromLong((long)result
);
26106 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 result
= (bool)(arg1
)->Hide();
26121 wxPyEndAllowThreads(__tstate
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= PyInt_FromLong((long)result
);
26131 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26132 PyObject
*resultobj
;
26133 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26134 wxPoint
*arg2
= 0 ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 char *kwnames
[] = {
26140 (char *) "self",(char *) "pos", NULL
26143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26147 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26151 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 wxRect
* resultptr
;
26158 resultptr
= new wxRect((wxRect
&) result
);
26159 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26167 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26171 wxPoint
*arg3
= 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 char *kwnames
[] = {
26178 (char *) "self",(char *) "dc",(char *) "pos", NULL
26181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26184 if (arg2
== NULL
) {
26185 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26189 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= PyInt_FromLong((long)result
);
26205 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26209 wxMemoryDC
*arg3
= 0 ;
26215 PyObject
* obj0
= 0 ;
26216 PyObject
* obj1
= 0 ;
26217 PyObject
* obj2
= 0 ;
26218 PyObject
* obj3
= 0 ;
26219 PyObject
* obj4
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26227 if (arg2
== NULL
) {
26228 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26230 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26231 if (arg3
== NULL
) {
26232 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26236 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26240 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 resultobj
= PyInt_FromLong((long)result
);
26256 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26257 PyObject
*resultobj
;
26258 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26259 wxPoint
*arg2
= 0 ;
26260 wxPoint
*arg3
= 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 PyObject
* obj2
= 0 ;
26269 PyObject
* obj3
= 0 ;
26270 PyObject
* obj4
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26283 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26285 arg4
= PyInt_AsLong(obj3
) ? true : false;
26286 if (PyErr_Occurred()) SWIG_fail
;
26287 arg5
= PyInt_AsLong(obj4
) ? true : false;
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26293 wxPyEndAllowThreads(__tstate
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= PyInt_FromLong((long)result
);
26303 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26306 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26308 return Py_BuildValue((char *)"");
26310 static PyMethodDef SwigMethods
[] = {
26311 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26312 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26313 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26314 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26315 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26316 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26317 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26318 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26319 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26320 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26321 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26322 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26323 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26324 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26325 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26326 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26327 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26328 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26329 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26330 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26331 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26332 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26333 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26334 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26335 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26336 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26337 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26338 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26339 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26340 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26341 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26342 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26343 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26344 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26345 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26346 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26347 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26348 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26349 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26350 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26351 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26352 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26353 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26354 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26355 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26356 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26357 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26358 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26359 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26360 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26361 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26362 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26363 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26364 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26365 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26366 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26367 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26368 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26369 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26370 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26371 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26372 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26373 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26374 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26375 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26376 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26377 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26378 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26379 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26380 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26381 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26382 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26383 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26384 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26385 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26386 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26387 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26388 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26389 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26390 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26391 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26392 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26393 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26394 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26395 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26396 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26397 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26398 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26399 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26400 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26401 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26402 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26403 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26404 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26405 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26406 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26407 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26408 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26409 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26410 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26411 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26412 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26413 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26414 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26415 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26416 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26417 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26418 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26419 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26420 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26421 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26422 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26423 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26424 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26425 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26426 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26427 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26428 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26429 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26430 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26431 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26432 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26433 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26434 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26435 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26436 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26437 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26438 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26439 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26440 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26441 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26442 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26443 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26444 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26445 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26446 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26447 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26448 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26449 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26450 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26451 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26452 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26453 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26454 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26455 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26456 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26457 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26458 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26459 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26460 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26461 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26462 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26463 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26464 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26465 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26466 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26467 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26468 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26469 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26470 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26471 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26472 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26473 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26474 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26475 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26476 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26477 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26478 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26479 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26480 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26481 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26482 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26483 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26484 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26485 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26486 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26487 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26488 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26489 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26490 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26491 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26492 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26493 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26494 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26495 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26496 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26497 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26498 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26499 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26500 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26501 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26502 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26503 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26504 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26505 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26506 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26507 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26508 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26509 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26510 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26511 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26512 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26513 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26514 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26515 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26516 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26517 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26518 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26519 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26520 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26521 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26522 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26523 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26524 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26525 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26526 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26527 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26528 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26529 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26530 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26531 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26532 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26533 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26534 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26535 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26536 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26537 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26538 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26539 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26540 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26541 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26542 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26543 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26544 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26545 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26546 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26547 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26548 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26549 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26550 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26551 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26552 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26553 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26554 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26555 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26556 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26557 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26558 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26559 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26560 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26561 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26562 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26563 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26564 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26565 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26566 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26567 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26568 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26569 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26570 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26571 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26572 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26573 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26574 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26575 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26576 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26577 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26578 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26579 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26580 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26581 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26582 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26583 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26584 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26585 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26586 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26587 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26588 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26589 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26590 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26591 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26592 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26593 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26594 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26595 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26596 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26597 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26598 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26599 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26600 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26601 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26602 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26603 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26604 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26605 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26606 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26607 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26608 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26609 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26610 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26611 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26612 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26613 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26614 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26615 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26616 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26617 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26618 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26619 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26620 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26621 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26622 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26623 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26624 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26625 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26626 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26627 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26628 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26629 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26630 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26631 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26632 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26633 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26634 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26635 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26636 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26637 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26638 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26639 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26640 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26641 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26642 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26643 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26644 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26645 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26646 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26647 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26650 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26652 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26655 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
26657 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
26662 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
26670 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
26681 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26690 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
26692 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
26708 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26721 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
26725 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26731 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
26735 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
26737 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
26742 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
26754 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26761 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26770 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26771 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
26799 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
26806 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
26833 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26854 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26859 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26870 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
26882 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
26893 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26897 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
26902 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
26914 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
26920 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
26922 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
26929 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
26945 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
26952 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26972 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
26978 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
26988 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
26990 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
26995 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
26997 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27002 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27007 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27017 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27037 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27039 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27044 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27065 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27073 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27078 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27080 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27082 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27087 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27088 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27090 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27099 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27112 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27114 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27115 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27117 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27118 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27120 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27121 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27123 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27124 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27126 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27127 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27129 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27130 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27132 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27133 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27135 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27136 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27138 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27139 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27141 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27142 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27144 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27147 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27148 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27150 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27151 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27153 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27154 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27156 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27157 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27159 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27160 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27162 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27163 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27165 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27166 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27168 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27169 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27171 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27172 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27174 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27175 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27177 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27178 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27180 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27183 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27184 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27186 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27187 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27189 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27190 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27192 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27195 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27196 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27198 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27199 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27201 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27202 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27204 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27205 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27207 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27208 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27210 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27211 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27213 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27214 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27216 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27217 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27219 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27220 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27222 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27223 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27225 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27226 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27228 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27229 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27231 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27232 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27234 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27235 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27237 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27238 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27240 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27241 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27243 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27244 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27246 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27249 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27250 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27252 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27253 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27255 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27258 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27261 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27262 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27264 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27265 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27267 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27268 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27270 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27271 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
27273 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27274 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27276 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27277 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27279 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27280 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27282 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27283 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27285 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27286 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27288 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27289 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27291 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27292 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27294 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27295 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27297 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27298 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27300 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27301 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27303 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27304 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27306 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27307 return (void *)((wxControl
*) ((wxComboBox
*) x
));
27309 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27310 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27312 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27313 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27315 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27316 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27318 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27319 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27321 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27322 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27324 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27325 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27327 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27328 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27330 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27331 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27333 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27334 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27336 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27337 return (void *)((wxControl
*) ((wxGauge
*) x
));
27339 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27340 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27342 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27343 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27345 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27346 return (void *)((wxControl
*) ((wxButton
*) x
));
27348 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27349 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27351 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27352 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27354 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27355 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27357 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27358 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27360 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27361 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27363 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27364 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27366 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27367 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27369 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27370 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27372 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27373 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27375 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27376 return (void *)((wxControl
*) ((wxSlider
*) x
));
27378 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27379 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27381 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27382 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27384 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27385 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27387 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27388 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27390 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27391 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27393 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27394 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27396 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27397 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27399 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27400 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27402 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27403 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27405 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27406 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27408 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27409 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27411 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27414 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27415 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27417 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27418 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27420 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27421 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27423 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27426 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27427 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27429 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27432 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27435 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27436 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27438 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27439 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27441 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27444 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27447 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27450 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27453 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27456 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27457 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27459 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27462 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27463 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27465 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27466 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27468 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27471 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27474 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27477 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27478 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27480 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27483 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27484 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27486 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27487 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27489 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27490 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27492 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27495 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27498 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27499 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27501 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27502 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27504 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27507 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27508 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27510 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27513 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27516 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27519 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27520 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27522 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27525 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27528 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27531 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27532 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27534 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27535 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27537 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27538 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27540 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27541 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27543 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27544 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27546 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27547 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27549 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27550 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27552 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27553 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27555 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27556 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27558 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27559 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27561 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27564 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27565 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27567 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27570 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27573 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27574 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27576 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27577 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27579 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27580 return (void *)((wxObject
*) ((wxSizer
*) x
));
27582 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27583 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27585 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27588 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27591 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27594 static void *_p_wxEventTo_p_wxObject(void *x
) {
27595 return (void *)((wxObject
*) ((wxEvent
*) x
));
27597 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27598 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27600 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27601 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27603 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27604 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27606 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27609 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27612 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27615 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27616 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27619 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27621 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27622 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27624 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27625 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27627 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27628 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27630 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27631 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27633 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27636 static void *_p_wxControlTo_p_wxObject(void *x
) {
27637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27639 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27642 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
27643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27645 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
27646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27648 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
27649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27651 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
27652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27654 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
27655 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
27657 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
27658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27660 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
27661 return (void *)((wxObject
*) ((wxFSFile
*) x
));
27663 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
27664 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
27666 static void *_p_wxListViewTo_p_wxObject(void *x
) {
27667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27669 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
27670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27672 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
27673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27675 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
27676 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
27678 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
27679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27681 static void *_p_wxListbookTo_p_wxObject(void *x
) {
27682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27684 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
27685 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
27687 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
27688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27690 static void *_p_wxSliderTo_p_wxObject(void *x
) {
27691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27693 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
27694 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
27696 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
27697 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
27699 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
27700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27702 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
27703 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27705 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
27706 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
27708 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
27709 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
27711 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
27712 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
27714 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
27715 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
27717 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
27718 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
27720 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
27721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27723 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
27724 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
27726 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
27727 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
27729 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
27730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
27732 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
27733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
27735 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
27736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
27738 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
27739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
27741 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
27742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
27744 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
27745 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
27747 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
27748 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
27750 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
27751 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
27753 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
27754 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
27756 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
27757 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
27759 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
27760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
27762 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
27763 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
27765 static void *_p_wxListEventTo_p_wxObject(void *x
) {
27766 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27768 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
27769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27771 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
27772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27774 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
27775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27777 static void *_p_wxButtonTo_p_wxObject(void *x
) {
27778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27780 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
27781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27783 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
27784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27786 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
27787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27789 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
27790 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
27792 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
27793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27795 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
27796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27798 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
27799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
27801 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
27802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
27804 static void *_p_wxListItemTo_p_wxObject(void *x
) {
27805 return (void *)((wxObject
*) ((wxListItem
*) x
));
27807 static void *_p_wxImageTo_p_wxObject(void *x
) {
27808 return (void *)((wxObject
*) ((wxImage
*) x
));
27810 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
27811 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
27813 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
27814 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
27816 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
27817 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
27819 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
27820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27822 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
27823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27825 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
27826 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27828 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
27829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27831 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
27832 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27834 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
27835 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
27837 static void *_p_wxWindowTo_p_wxObject(void *x
) {
27838 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
27840 static void *_p_wxMenuTo_p_wxObject(void *x
) {
27841 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
27843 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
27844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
27846 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
27847 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
27849 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
27850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27852 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
27853 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
27855 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
27856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
27858 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
27859 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
27861 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
27862 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
27864 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
27865 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
27867 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
27868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27870 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
27871 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27873 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
27874 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
27876 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
27877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27879 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
27880 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
27882 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
27883 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
27885 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
27886 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27888 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
27889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27891 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
27892 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
27894 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
27895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27897 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
27898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
27900 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
27901 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
27903 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
27904 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
27906 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
27907 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
27909 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
27910 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
27912 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
27913 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27915 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
27916 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
27918 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
27919 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
27921 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
27922 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
27924 static void *_p_wxControlTo_p_wxWindow(void *x
) {
27925 return (void *)((wxWindow
*) ((wxControl
*) x
));
27927 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
27928 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
27930 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
27931 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27933 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
27934 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
27936 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
27937 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
27939 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
27940 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
27942 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
27943 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
27945 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
27946 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
27948 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
27949 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
27951 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
27952 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
27954 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
27955 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27957 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
27958 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
27960 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
27961 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
27963 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
27964 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
27966 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
27967 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27969 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
27970 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27972 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
27973 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27975 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
27976 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27978 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
27979 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27981 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
27982 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
27984 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
27985 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
27987 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
27988 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
27990 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
27991 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
27993 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
27994 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
27996 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
27997 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
27999 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28000 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28002 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28003 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28005 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28006 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28008 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28009 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28011 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28012 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28014 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28015 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28017 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28018 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28020 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28021 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28023 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28024 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28026 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28027 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28029 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28030 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28032 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28033 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28035 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28036 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28038 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28039 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28041 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28042 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28044 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28045 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28047 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28048 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28050 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28051 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28053 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28054 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28056 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28057 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28059 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28060 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28062 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28063 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28065 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28066 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28068 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28069 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28071 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28072 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}};
28073 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}};
28074 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28075 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28076 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28077 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28078 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}};
28079 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28080 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28081 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28082 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}};
28083 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28084 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28085 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28086 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}};
28087 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28088 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28089 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28090 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28091 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28092 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28093 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28094 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28095 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28096 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28097 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28098 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28099 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28100 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28101 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28102 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28103 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}};
28104 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28105 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28106 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28107 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28108 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28109 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28110 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28111 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28112 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}};
28113 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28114 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28115 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28116 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}};
28117 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28118 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}};
28119 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28120 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28121 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28122 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28123 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28124 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28125 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28126 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28127 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28128 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28129 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28130 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28131 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28132 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28133 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28134 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28135 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28136 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28137 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28138 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}};
28139 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28140 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28141 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}};
28142 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28143 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28144 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28145 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28146 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}};
28147 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28148 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_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}};
28149 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28150 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28151 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28152 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28153 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28155 static swig_type_info
*swig_types_initial
[] = {
28156 _swigt__p_wxTextUrlEvent
,
28157 _swigt__p_wxBookCtrlEvent
,
28159 _swigt__p_wxTreeItemIdValue
,
28160 _swigt__wxTreeItemIdValue
,
28161 _swigt__p_wxCheckBox
,
28162 _swigt__p_wxPyTreeCtrl
,
28164 _swigt__p_wxGenericDirCtrl
,
28166 _swigt__p_wxPyTreeItemData
,
28167 _swigt__p_wxItemContainer
,
28168 _swigt__p_wxDirFilterListCtrl
,
28169 _swigt__p_wxPyListCtrl
,
28170 _swigt__p_wxStaticLine
,
28171 _swigt__p_wxControl
,
28172 _swigt__p_wxPyControl
,
28174 _swigt__p_wxToolBarBase
,
28176 _swigt__p_wxToggleButton
,
28177 _swigt__p_wxRadioButton
,
28178 _swigt__p_wxChoice
,
28179 _swigt__p_wxMemoryDC
,
28180 _swigt__p_wxListItemAttr
,
28184 _swigt__p_wxListView
,
28186 _swigt__p_wxTextCtrl
,
28187 _swigt__p_wxNotebook
,
28188 _swigt__p_wxNotifyEvent
,
28189 _swigt__p_wxArrayString
,
28190 _swigt__p_wxListbook
,
28191 _swigt__p_wxStaticBitmap
,
28192 _swigt__p_wxSlider
,
28193 _swigt__p_wxStaticBox
,
28194 _swigt__p_wxArrayInt
,
28195 _swigt__p_wxContextHelp
,
28197 _swigt__p_wxEvtHandler
,
28198 _swigt__p_wxListEvent
,
28199 _swigt__p_wxListBox
,
28200 _swigt__p_wxCheckListBox
,
28201 _swigt__p_wxBookCtrl
,
28202 _swigt__p_wxSpinButton
,
28203 _swigt__p_wxButton
,
28204 _swigt__p_wxBitmapButton
,
28206 _swigt__p_wxContextHelpButton
,
28207 _swigt__p_wxRadioBox
,
28208 _swigt__p_wxScrollBar
,
28209 _swigt__p_wxTreeItemId
,
28210 _swigt__p_wxComboBox
,
28211 _swigt__p_wxHelpEvent
,
28212 _swigt__p_wxListItem
,
28213 _swigt__p_wxNotebookSizer
,
28214 _swigt__p_wxGenericDragImage
,
28215 _swigt__p_wxSpinCtrl
,
28216 _swigt__p_wxImageList
,
28217 _swigt__p_wxHelpProvider
,
28218 _swigt__p_wxTextAttr
,
28219 _swigt__p_wxSimpleHelpProvider
,
28221 _swigt__p_wxListbookEvent
,
28222 _swigt__p_wxNotebookEvent
,
28223 _swigt__p_wxObject
,
28224 _swigt__p_wxCursor
,
28225 _swigt__p_wxKeyEvent
,
28226 _swigt__p_wxWindow
,
28227 _swigt__p_wxString
,
28228 _swigt__p_wxBitmap
,
28229 _swigt__p_wxTreeEvent
,
28230 _swigt__p_wxMouseEvent
,
28231 _swigt__p_wxCommandEvent
,
28232 _swigt__p_wxStaticText
,
28233 _swigt__p_wxControlWithItems
,
28234 _swigt__p_wxToolBarToolBase
,
28235 _swigt__p_wxColour
,
28236 _swigt__p_wxToolBar
,
28237 _swigt__p_wxBookCtrlSizer
,
28238 _swigt__p_wxValidator
,
28243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28245 static swig_const_info swig_const_table
[] = {
28246 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28247 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28248 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28249 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28250 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28251 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28252 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28253 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28254 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28255 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28256 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28257 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28258 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28259 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28260 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28261 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28262 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28263 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28264 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28265 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28266 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28267 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28268 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28269 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28270 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28271 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28272 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28273 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28274 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28275 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28276 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28277 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28278 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28279 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28280 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28281 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28282 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28283 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28284 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28285 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28286 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28287 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28288 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28289 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28290 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28291 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28292 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28293 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28294 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28295 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28296 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28297 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28298 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28299 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28300 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28301 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28302 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28303 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28304 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28305 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28306 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28307 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28308 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28309 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28310 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28311 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28312 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28313 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28314 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28315 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28316 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28317 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28318 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28319 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28320 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28321 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28322 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28323 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28324 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28325 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28326 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28327 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28328 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28329 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28330 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28331 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28332 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28333 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28334 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28335 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28336 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28337 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28338 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28339 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28340 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28341 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28342 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28343 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28344 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28345 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28346 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28347 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28348 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28349 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28350 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28351 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28352 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28353 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28354 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28355 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28356 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28357 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28358 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28359 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28360 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28361 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28362 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28363 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28364 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28365 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28366 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28367 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28368 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28369 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28370 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28371 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28372 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28373 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28374 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28375 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28376 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28377 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28378 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28379 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28380 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28381 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28382 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28383 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28384 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28385 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28386 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28387 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28388 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28389 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28390 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28391 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28392 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28393 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28394 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28395 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28396 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28397 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28398 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28399 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28400 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28401 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28402 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28403 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28404 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28405 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28406 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28407 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28408 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28409 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28410 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28411 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28412 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28413 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28414 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28415 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28416 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28417 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28418 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28419 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28420 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28421 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28422 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28423 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28424 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28425 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28426 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28427 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28428 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28429 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28430 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28431 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28432 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28433 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28434 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28435 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28436 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28437 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28438 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28439 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28440 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28441 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28442 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28443 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28444 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28445 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28446 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28447 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28448 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28449 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28450 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28451 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28452 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28453 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28454 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28455 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28456 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28457 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28458 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28459 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28460 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28461 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28462 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28463 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28464 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28465 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28466 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28467 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28468 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28469 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28470 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28471 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28472 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28473 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28474 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28475 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28476 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28477 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28478 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28479 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28480 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28481 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28482 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28483 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28484 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28485 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28486 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28487 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28488 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28489 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28490 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28491 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28492 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28493 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28494 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28495 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28505 SWIGEXPORT(void) SWIG_init(void) {
28506 static PyObject
*SWIG_globals
= 0;
28507 static int typeinit
= 0;
28510 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28511 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28512 d
= PyModule_GetDict(m
);
28515 for (i
= 0; swig_types_initial
[i
]; i
++) {
28516 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28520 SWIG_InstallConstants(d
,swig_const_table
);
28522 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28523 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28524 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28525 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28526 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28527 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28528 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28529 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28530 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28531 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28532 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28537 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28538 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28539 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28540 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28541 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28542 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28543 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28544 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28545 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28546 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28547 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28548 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28549 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28550 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28551 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28569 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28570 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28571 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28573 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28575 // Map renamed classes back to their common name for OOR
28576 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28578 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28579 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28580 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28581 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28582 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28583 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28584 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28585 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28586 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28587 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28588 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28589 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28590 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28591 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28592 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28593 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28594 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28595 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28596 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28597 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28598 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28600 // Map renamed classes back to their common name for OOR
28601 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28602 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28604 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28605 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28606 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28608 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");