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_wxSpinEvent swig_types[58]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
273 #define SWIGTYPE_p_wxImageList swig_types[61]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
275 #define SWIGTYPE_p_wxTextAttr swig_types[63]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
277 #define SWIGTYPE_p_wxPoint swig_types[65]
278 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
279 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
280 #define SWIGTYPE_p_wxObject swig_types[68]
281 #define SWIGTYPE_p_wxCursor swig_types[69]
282 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
283 #define SWIGTYPE_p_wxWindow swig_types[71]
284 #define SWIGTYPE_p_wxString swig_types[72]
285 #define SWIGTYPE_p_wxBitmap swig_types[73]
286 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
287 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
289 #define SWIGTYPE_p_wxStaticText swig_types[77]
290 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
291 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
292 #define SWIGTYPE_p_wxColour swig_types[80]
293 #define SWIGTYPE_p_wxToolBar swig_types[81]
294 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
295 #define SWIGTYPE_p_wxValidator swig_types[83]
296 static swig_type_info
*swig_types
[85];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _controls.so
303 ------------------------------------------------*/
304 #define SWIG_init init_controls
306 #define SWIG_name "_controls"
308 #include "wx/wxPython/wxPython.h"
309 #include "wx/wxPython/pyclasses.h"
311 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
312 static const wxString
wxPyEmptyString(wxEmptyString
);
313 static const wxString
wxPyControlNameStr(wxControlNameStr
);
314 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
315 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
316 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
317 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
318 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
319 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
320 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
321 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
323 #include <wx/checklst.h>
326 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
327 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
329 wxPyClientData
* data
= new wxPyClientData(clientData
);
330 self
->Insert(item
, pos
, data
);
332 self
->Insert(item
, pos
);
334 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
336 self
->GetSelections(lst
);
337 PyObject
*tup
= PyTuple_New(lst
.GetCount());
338 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
339 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
343 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
345 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
351 } else if (target
== Py_None
) {
355 if (!PyTuple_Check(target
)) {
357 target
= PyTuple_New(1);
358 PyTuple_SetItem(target
, 0, o2
);
361 PyTuple_SetItem(o3
, 0, o
);
364 target
= PySequence_Concat(o2
, o3
);
371 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
372 self
->AppendText(text
);
374 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
375 return self
->GetValue().Mid(from
, to
- from
);
377 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
378 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
379 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
380 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
381 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
383 #include <wx/slider.h>
386 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
387 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
389 #if defined(__WXMAC__) || defined(__WXX11__)
390 // implement dummy classes and such for wxMac
392 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
394 class wxToggleButton
: public wxControl
397 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
398 const wxPoint
&, const wxSize
&, long,
399 const wxValidator
&, const wxString
&)
400 { wxPyRaiseNotImplemented(); }
403 { wxPyRaiseNotImplemented(); }
407 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
408 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
409 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
410 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
412 Py_INCREF(udata
->m_obj
);
419 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
420 self
->SetClientData(new wxPyUserData(clientData
));
422 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
){
423 wxPyUserData
* udata
= NULL
;
424 if (clientData
&& clientData
!= Py_None
)
425 udata
= new wxPyUserData(clientData
);
426 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
427 shortHelp
, longHelp
, udata
);
429 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
){
430 wxPyUserData
* udata
= NULL
;
431 if (clientData
&& clientData
!= Py_None
)
432 udata
= new wxPyUserData(clientData
);
433 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
434 shortHelp
, longHelp
, udata
);
436 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
437 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
439 Py_INCREF(udata
->m_obj
);
446 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
447 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
450 #include <wx/listctrl.h>
453 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
454 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
455 // Python aware sorting function for wxPyListCtrl
456 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
458 PyObject
* func
= (PyObject
*)funcPtr
;
459 wxPyBeginBlockThreads();
461 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
462 PyObject
* result
= PyEval_CallObject(func
, args
);
465 retval
= PyInt_AsLong(result
);
469 wxPyEndBlockThreads();
473 // C++ Version of a Python aware class
474 class wxPyListCtrl
: public wxListCtrl
{
475 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
477 wxPyListCtrl() : wxListCtrl() {}
478 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
482 const wxValidator
& validator
,
483 const wxString
& name
) :
484 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
486 bool Create(wxWindow
* parent
, wxWindowID id
,
490 const wxValidator
& validator
,
491 const wxString
& name
) {
492 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
495 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
496 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
497 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
502 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
504 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
505 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
506 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
508 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
510 item
.SetMask( wxLIST_MASK_STATE
|
518 if (self
->GetColumn(col
, item
))
519 return new wxListItem(item
);
523 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
524 wxListItem
* info
= new wxListItem
;
525 info
->m_itemId
= itemId
;
527 info
->m_mask
= 0xFFFF;
528 self
->GetItem(*info
);
531 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
533 self
->GetItemPosition(item
, pos
);
536 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
538 self
->GetItemRect(item
, rect
, code
);
541 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
542 if (!PyCallable_Check(func
))
544 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
546 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
554 #include <wx/treectrl.h>
555 #include "wx/wxPython/pytree.h"
557 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
558 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
559 if (!other
) return False
;
560 return *self
== *other
;
562 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
563 if (!other
) return True
;
564 return *self
!= *other
;
566 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
567 // C++ version of Python aware wxTreeCtrl
568 class wxPyTreeCtrl
: public wxTreeCtrl
{
569 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
571 wxPyTreeCtrl() : wxTreeCtrl() {}
572 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
576 const wxValidator
& validator
,
577 const wxString
& name
) :
578 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
580 bool Create(wxWindow
*parent
, wxWindowID id
,
584 const wxValidator
& validator
,
585 const wxString
& name
) {
586 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
590 int OnCompareItems(const wxTreeItemId
& item1
,
591 const wxTreeItemId
& item2
) {
594 wxPyBeginBlockThreads();
595 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
596 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
597 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
598 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
602 wxPyEndBlockThreads();
604 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
610 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
613 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
614 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
616 data
= new wxPyTreeItemData();
617 data
->SetId(item
); // set the id
618 self
->SetItemData(item
, data
);
622 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
623 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
625 data
= new wxPyTreeItemData();
626 data
->SetId(item
); // set the id
627 self
->SetItemData(item
, data
);
629 return data
->GetData();
631 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
632 data
->SetId(item
); // set the id
633 self
->SetItemData(item
, data
);
635 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
636 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
638 data
= new wxPyTreeItemData(obj
);
639 data
->SetId(item
); // set the id
640 self
->SetItemData(item
, data
);
644 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
645 wxPyBeginBlockThreads();
646 PyObject
* rval
= PyList_New(0);
647 wxArrayTreeItemIds array
;
649 num
= self
->GetSelections(array
);
650 for (x
=0; x
< num
; x
++) {
651 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
652 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
653 PyList_Append(rval
, item
);
655 wxPyEndBlockThreads();
658 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
659 wxTreeItemIdValue cookie
= 0;
660 wxTreeItemId ritem
= self
->GetFirstChild(item
, cookie
);
661 wxPyBeginBlockThreads();
662 PyObject
* tup
= PyTuple_New(2);
663 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
664 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
665 wxPyEndBlockThreads();
668 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxTreeItemIdValue
&cookie
){
669 wxTreeItemId ritem
= self
->GetNextChild(item
, cookie
);
670 wxPyBeginBlockThreads();
671 PyObject
* tup
= PyTuple_New(2);
672 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(&ritem
, wxT("wxTreeItemId"), True
));
673 PyTuple_SET_ITEM(tup
, 1, wxPyConstructObject(cookie
, wxT("wxTreeItemIdValue"), True
));
674 wxPyEndBlockThreads();
677 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
679 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
680 wxPyBeginBlockThreads();
681 wxRect
* r
= new wxRect(rect
);
682 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
683 wxPyEndBlockThreads();
689 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
690 // C++ version of Python aware wxControl
691 class wxPyControl
: public wxControl
693 DECLARE_DYNAMIC_CLASS(wxPyControl
)
695 wxPyControl() : wxControl() {}
696 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
697 const wxPoint
& pos
= wxDefaultPosition
,
698 const wxSize
& size
= wxDefaultSize
,
700 const wxValidator
& validator
=wxDefaultValidator
,
701 const wxString
& name
= wxPyControlNameStr
)
702 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
705 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
706 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
707 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
708 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
710 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
711 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
712 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
714 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
715 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
717 DEC_PYCALLBACK__(InitDialog
);
718 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
719 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
720 DEC_PYCALLBACK_BOOL_(Validate
);
722 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
723 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
724 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
726 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
727 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
732 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
734 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
735 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
736 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
737 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
739 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
740 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
741 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
743 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
744 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
746 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
747 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
748 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
749 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
751 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
752 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
753 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
755 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
756 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
761 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
763 #include <wx/generic/dragimgg.h>
768 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
769 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
774 static PyObject
*_wrap_ButtonNameStr_get() {
779 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
781 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
788 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
790 wxWindow
*arg1
= (wxWindow
*) 0 ;
793 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
794 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
795 wxSize
const &arg5_defvalue
= wxDefaultSize
;
796 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
797 long arg6
= (long) 0 ;
798 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
799 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
800 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
801 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
807 PyObject
* obj0
= 0 ;
808 PyObject
* obj2
= 0 ;
809 PyObject
* obj3
= 0 ;
810 PyObject
* obj4
= 0 ;
811 PyObject
* obj6
= 0 ;
812 PyObject
* obj7
= 0 ;
814 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_Button",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
820 arg3
= wxString_in_helper(obj2
);
821 if (arg3
== NULL
) SWIG_fail
;
827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
837 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
844 arg8
= wxString_in_helper(obj7
);
845 if (arg8
== NULL
) SWIG_fail
;
850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
851 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
853 wxPyEndAllowThreads(__tstate
);
854 if (PyErr_Occurred()) SWIG_fail
;
857 resultobj
= wxPyMake_wxObject(result
);
881 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
891 result
= (wxButton
*)new wxButton();
893 wxPyEndAllowThreads(__tstate
);
894 if (PyErr_Occurred()) SWIG_fail
;
897 resultobj
= wxPyMake_wxObject(result
);
905 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
907 wxButton
*arg1
= (wxButton
*) 0 ;
908 wxWindow
*arg2
= (wxWindow
*) 0 ;
911 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
912 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
913 wxSize
const &arg6_defvalue
= wxDefaultSize
;
914 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
915 long arg7
= (long) 0 ;
916 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
917 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
918 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
919 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
925 PyObject
* obj0
= 0 ;
926 PyObject
* obj1
= 0 ;
927 PyObject
* obj3
= 0 ;
928 PyObject
* obj4
= 0 ;
929 PyObject
* obj5
= 0 ;
930 PyObject
* obj7
= 0 ;
931 PyObject
* obj8
= 0 ;
933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:Button_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
940 arg4
= wxString_in_helper(obj3
);
941 if (arg4
== NULL
) SWIG_fail
;
947 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
953 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
957 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
959 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
964 arg9
= wxString_in_helper(obj8
);
965 if (arg9
== NULL
) SWIG_fail
;
970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
973 wxPyEndAllowThreads(__tstate
);
974 if (PyErr_Occurred()) SWIG_fail
;
976 resultobj
= PyInt_FromLong((long)result
);
999 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1000 PyObject
*resultobj
;
1001 wxButton
*arg1
= (wxButton
*) 0 ;
1002 PyObject
* obj0
= 0 ;
1004 (char *) "self", NULL
1007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1011 (arg1
)->SetDefault();
1013 wxPyEndAllowThreads(__tstate
);
1014 if (PyErr_Occurred()) SWIG_fail
;
1016 Py_INCREF(Py_None
); resultobj
= Py_None
;
1023 static PyObject
*_wrap_Button_SetImageLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
*resultobj
;
1025 wxButton
*arg1
= (wxButton
*) 0 ;
1026 wxBitmap
*arg2
= 0 ;
1027 PyObject
* obj0
= 0 ;
1028 PyObject
* obj1
= 0 ;
1030 (char *) "self",(char *) "bitmap", NULL
1033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Button_SetImageLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1041 (arg1
)->SetImageLabel((wxBitmap
const &)*arg2
);
1043 wxPyEndAllowThreads(__tstate
);
1044 if (PyErr_Occurred()) SWIG_fail
;
1046 Py_INCREF(Py_None
); resultobj
= Py_None
;
1053 static PyObject
*_wrap_Button_SetImageMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1054 PyObject
*resultobj
;
1055 wxButton
*arg1
= (wxButton
*) 0 ;
1058 PyObject
* obj0
= 0 ;
1060 (char *) "self",(char *) "x",(char *) "y", NULL
1063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Button_SetImageMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1067 (arg1
)->SetImageMargins(arg2
,arg3
);
1069 wxPyEndAllowThreads(__tstate
);
1070 if (PyErr_Occurred()) SWIG_fail
;
1072 Py_INCREF(Py_None
); resultobj
= Py_None
;
1079 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
*resultobj
;
1086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1089 result
= wxButton::GetDefaultSize();
1091 wxPyEndAllowThreads(__tstate
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1096 resultptr
= new wxSize((wxSize
&) result
);
1097 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1105 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1108 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1110 return Py_BuildValue((char *)"");
1112 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
*resultobj
;
1114 wxWindow
*arg1
= (wxWindow
*) 0 ;
1116 wxBitmap
*arg3
= 0 ;
1117 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1118 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1119 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1120 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1121 long arg6
= (long) wxBU_AUTODRAW
;
1122 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1123 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1124 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1125 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1126 wxBitmapButton
*result
;
1129 bool temp8
= False
;
1130 PyObject
* obj0
= 0 ;
1131 PyObject
* obj2
= 0 ;
1132 PyObject
* obj3
= 0 ;
1133 PyObject
* obj4
= 0 ;
1134 PyObject
* obj6
= 0 ;
1135 PyObject
* obj7
= 0 ;
1137 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_BitmapButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1142 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1149 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1155 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1159 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1161 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1166 arg8
= wxString_in_helper(obj7
);
1167 if (arg8
== NULL
) SWIG_fail
;
1172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1173 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1175 wxPyEndAllowThreads(__tstate
);
1176 if (PyErr_Occurred()) SWIG_fail
;
1179 resultobj
= wxPyMake_wxObject(result
);
1195 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1197 wxBitmapButton
*result
;
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (wxBitmapButton
*)new wxBitmapButton();
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1211 resultobj
= wxPyMake_wxObject(result
);
1219 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
*resultobj
;
1221 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1222 wxWindow
*arg2
= (wxWindow
*) 0 ;
1224 wxBitmap
*arg4
= 0 ;
1225 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1226 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1227 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1228 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1229 long arg7
= (long) wxBU_AUTODRAW
;
1230 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1231 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1232 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1233 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1237 bool temp9
= False
;
1238 PyObject
* obj0
= 0 ;
1239 PyObject
* obj1
= 0 ;
1240 PyObject
* obj3
= 0 ;
1241 PyObject
* obj4
= 0 ;
1242 PyObject
* obj5
= 0 ;
1243 PyObject
* obj7
= 0 ;
1244 PyObject
* obj8
= 0 ;
1246 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1251 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1252 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1254 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1259 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1265 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1269 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1271 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1276 arg9
= wxString_in_helper(obj8
);
1277 if (arg9
== NULL
) SWIG_fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 resultobj
= PyInt_FromLong((long)result
);
1303 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1305 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1307 PyObject
* obj0
= 0 ;
1309 (char *) "self", NULL
1312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 result
= (arg1
)->GetBitmapLabel();
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) SWIG_fail
;
1322 wxBitmap
* resultptr
;
1323 resultptr
= new wxBitmap((wxBitmap
&) result
);
1324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1332 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1333 PyObject
*resultobj
;
1334 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1336 PyObject
* obj0
= 0 ;
1338 (char *) "self", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= (arg1
)->GetBitmapDisabled();
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 wxBitmap
* resultptr
;
1352 resultptr
= new wxBitmap((wxBitmap
&) result
);
1353 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1361 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
*resultobj
;
1363 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1365 PyObject
* obj0
= 0 ;
1367 (char *) "self", NULL
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1374 result
= (arg1
)->GetBitmapFocus();
1376 wxPyEndAllowThreads(__tstate
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1380 wxBitmap
* resultptr
;
1381 resultptr
= new wxBitmap((wxBitmap
&) result
);
1382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1390 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1391 PyObject
*resultobj
;
1392 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1394 PyObject
* obj0
= 0 ;
1396 (char *) "self", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1403 result
= (arg1
)->GetBitmapSelected();
1405 wxPyEndAllowThreads(__tstate
);
1406 if (PyErr_Occurred()) SWIG_fail
;
1409 wxBitmap
* resultptr
;
1410 resultptr
= new wxBitmap((wxBitmap
&) result
);
1411 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1419 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1421 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1422 wxBitmap
*arg2
= 0 ;
1423 PyObject
* obj0
= 0 ;
1424 PyObject
* obj1
= 0 ;
1426 (char *) "self",(char *) "bitmap", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 Py_INCREF(Py_None
); resultobj
= Py_None
;
1449 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1452 wxBitmap
*arg2
= 0 ;
1453 PyObject
* obj0
= 0 ;
1454 PyObject
* obj1
= 0 ;
1456 (char *) "self",(char *) "bitmap", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 Py_INCREF(Py_None
); resultobj
= Py_None
;
1479 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
*resultobj
;
1481 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1482 wxBitmap
*arg2
= 0 ;
1483 PyObject
* obj0
= 0 ;
1484 PyObject
* obj1
= 0 ;
1486 (char *) "self",(char *) "bitmap", NULL
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1499 wxPyEndAllowThreads(__tstate
);
1500 if (PyErr_Occurred()) SWIG_fail
;
1502 Py_INCREF(Py_None
); resultobj
= Py_None
;
1509 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1510 PyObject
*resultobj
;
1511 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1512 wxBitmap
*arg2
= 0 ;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 (char *) "self",(char *) "bitmap", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 Py_INCREF(Py_None
); resultobj
= Py_None
;
1539 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1544 PyObject
* obj0
= 0 ;
1546 (char *) "self",(char *) "x",(char *) "y", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:BitmapButton_SetMargins",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1553 (arg1
)->SetMargins(arg2
,arg3
);
1555 wxPyEndAllowThreads(__tstate
);
1556 if (PyErr_Occurred()) SWIG_fail
;
1558 Py_INCREF(Py_None
); resultobj
= Py_None
;
1565 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1566 PyObject
*resultobj
;
1567 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1569 PyObject
* obj0
= 0 ;
1571 (char *) "self", NULL
1574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1578 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1580 wxPyEndAllowThreads(__tstate
);
1581 if (PyErr_Occurred()) SWIG_fail
;
1583 resultobj
= PyInt_FromLong((long)result
);
1590 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
*resultobj
;
1592 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1594 PyObject
* obj0
= 0 ;
1596 (char *) "self", NULL
1599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1603 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1605 wxPyEndAllowThreads(__tstate
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1608 resultobj
= PyInt_FromLong((long)result
);
1615 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1618 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1620 return Py_BuildValue((char *)"");
1622 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1623 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1628 static PyObject
*_wrap_CheckBoxNameStr_get() {
1633 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1635 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1642 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxWindow
*arg1
= (wxWindow
*) 0 ;
1646 wxString
*arg3
= 0 ;
1647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1651 long arg6
= (long) 0 ;
1652 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1653 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1654 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1657 bool temp3
= False
;
1660 bool temp8
= False
;
1661 PyObject
* obj0
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1664 PyObject
* obj4
= 0 ;
1665 PyObject
* obj6
= 0 ;
1666 PyObject
* obj7
= 0 ;
1668 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_CheckBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1674 arg3
= wxString_in_helper(obj2
);
1675 if (arg3
== NULL
) SWIG_fail
;
1681 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1687 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1691 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1698 arg8
= wxString_in_helper(obj7
);
1699 if (arg8
== NULL
) SWIG_fail
;
1704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1705 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1707 wxPyEndAllowThreads(__tstate
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1733 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1734 PyObject
*resultobj
;
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 result
= (wxCheckBox
*)new wxCheckBox();
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1755 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1758 wxWindow
*arg2
= (wxWindow
*) 0 ;
1760 wxString
*arg4
= 0 ;
1761 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1762 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1763 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1764 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1765 long arg7
= (long) 0 ;
1766 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1767 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1768 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1769 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1771 bool temp4
= False
;
1774 bool temp9
= False
;
1775 PyObject
* obj0
= 0 ;
1776 PyObject
* obj1
= 0 ;
1777 PyObject
* obj3
= 0 ;
1778 PyObject
* obj4
= 0 ;
1779 PyObject
* obj5
= 0 ;
1780 PyObject
* obj7
= 0 ;
1781 PyObject
* obj8
= 0 ;
1783 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1790 arg4
= wxString_in_helper(obj3
);
1791 if (arg4
== NULL
) SWIG_fail
;
1797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1807 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1814 arg9
= wxString_in_helper(obj8
);
1815 if (arg9
== NULL
) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 resultobj
= PyInt_FromLong((long)result
);
1849 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1855 (char *) "self", NULL
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
1859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 result
= (bool)(arg1
)->GetValue();
1864 wxPyEndAllowThreads(__tstate
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= PyInt_FromLong((long)result
);
1874 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
*resultobj
;
1876 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1878 PyObject
* obj0
= 0 ;
1880 (char *) "self", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 result
= (bool)(arg1
)->IsChecked();
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 resultobj
= PyInt_FromLong((long)result
);
1899 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "state", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1911 arg2
= PyInt_AsLong(obj1
) ? true : false;
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 (arg1
)->SetValue(arg2
);
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 Py_INCREF(Py_None
); resultobj
= Py_None
;
1927 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1928 PyObject
*resultobj
;
1929 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1931 PyObject
* obj0
= 0 ;
1933 (char *) "self", NULL
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
1937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= PyInt_FromLong((long)result
);
1952 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1956 PyObject
* obj0
= 0 ;
1958 (char *) "self",(char *) "state", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckBox_Set3StateValue",kwnames
,&obj0
,&arg2
)) goto fail
;
1962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1981 PyObject
* obj0
= 0 ;
1983 (char *) "self", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 resultobj
= PyInt_FromLong((long)result
);
2002 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2017 wxPyEndAllowThreads(__tstate
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 resultobj
= PyInt_FromLong((long)result
);
2027 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2030 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2032 return Py_BuildValue((char *)"");
2034 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2035 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2040 static PyObject
*_wrap_ChoiceNameStr_get() {
2045 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2047 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2054 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxWindow
*arg1
= (wxWindow
*) 0 ;
2058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2060 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2061 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2062 int arg5
= (int) 0 ;
2063 wxString
*arg6
= (wxString
*) NULL
;
2064 long arg7
= (long) 0 ;
2065 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2066 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2067 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2068 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2072 bool temp8
= False
;
2073 PyObject
* obj0
= 0 ;
2074 PyObject
* obj2
= 0 ;
2075 PyObject
* obj3
= 0 ;
2076 PyObject
* obj4
= 0 ;
2077 PyObject
* obj6
= 0 ;
2078 PyObject
* obj7
= 0 ;
2080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_Choice",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2099 arg5
= PyList_Size(obj4
);
2100 arg6
= wxString_LIST_helper(obj4
);
2101 if (arg6
== NULL
) SWIG_fail
;
2105 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2112 arg9
= wxString_in_helper(obj7
);
2113 if (arg9
== NULL
) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2126 if (arg6
) delete [] arg6
;
2135 if (arg6
) delete [] arg6
;
2145 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 result
= (wxChoice
*)new wxChoice();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2167 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2169 wxChoice
*arg1
= (wxChoice
*) 0 ;
2170 wxWindow
*arg2
= (wxWindow
*) 0 ;
2172 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2173 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2174 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2175 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2176 int arg6
= (int) 0 ;
2177 wxString
*arg7
= (wxString
*) NULL
;
2178 long arg8
= (long) 0 ;
2179 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2180 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2181 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2182 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2186 bool temp9
= False
;
2187 PyObject
* obj0
= 0 ;
2188 PyObject
* obj1
= 0 ;
2189 PyObject
* obj3
= 0 ;
2190 PyObject
* obj4
= 0 ;
2191 PyObject
* obj5
= 0 ;
2192 PyObject
* obj7
= 0 ;
2193 PyObject
* obj8
= 0 ;
2195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:Choice_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2204 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2210 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2215 arg6
= PyList_Size(obj5
);
2216 arg7
= wxString_LIST_helper(obj5
);
2217 if (arg7
== NULL
) SWIG_fail
;
2221 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2228 arg10
= wxString_in_helper(obj8
);
2229 if (arg10
== NULL
) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= PyInt_FromLong((long)result
);
2242 if (arg7
) delete [] arg7
;
2251 if (arg7
) delete [] arg7
;
2261 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2263 wxChoice
*arg1
= (wxChoice
*) 0 ;
2265 PyObject
* obj0
= 0 ;
2267 (char *) "self", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (int)(arg1
)->GetColumns();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= PyInt_FromLong((long)result
);
2286 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxChoice
*arg1
= (wxChoice
*) 0 ;
2289 int arg2
= (int) (int)1 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self",(char *) "n", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Choice_SetColumns",kwnames
,&obj0
,&arg2
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2299 (arg1
)->SetColumns(arg2
);
2301 wxPyEndAllowThreads(__tstate
);
2302 if (PyErr_Occurred()) SWIG_fail
;
2304 Py_INCREF(Py_None
); resultobj
= Py_None
;
2311 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2313 wxChoice
*arg1
= (wxChoice
*) 0 ;
2315 PyObject
* obj0
= 0 ;
2317 (char *) "self",(char *) "n", NULL
2320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Choice_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 (arg1
)->SetSelection(arg2
);
2326 wxPyEndAllowThreads(__tstate
);
2327 if (PyErr_Occurred()) SWIG_fail
;
2329 Py_INCREF(Py_None
); resultobj
= Py_None
;
2336 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
*resultobj
;
2338 wxChoice
*arg1
= (wxChoice
*) 0 ;
2339 wxString
*arg2
= 0 ;
2340 bool temp2
= False
;
2341 PyObject
* obj0
= 0 ;
2342 PyObject
* obj1
= 0 ;
2344 (char *) "self",(char *) "string", NULL
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2350 arg2
= wxString_in_helper(obj1
);
2351 if (arg2
== NULL
) SWIG_fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 Py_INCREF(Py_None
); resultobj
= Py_None
;
2376 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxChoice
*arg1
= (wxChoice
*) 0 ;
2380 wxString
*arg3
= 0 ;
2381 bool temp3
= False
;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj2
= 0 ;
2385 (char *) "self",(char *) "n",(char *) "s", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Choice_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2391 arg3
= wxString_in_helper(obj2
);
2392 if (arg3
== NULL
) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2402 Py_INCREF(Py_None
); resultobj
= Py_None
;
2417 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2420 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2422 return Py_BuildValue((char *)"");
2424 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2425 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2430 static PyObject
*_wrap_ComboBoxNameStr_get() {
2435 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2437 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2444 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxWindow
*arg1
= (wxWindow
*) 0 ;
2448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2454 int arg6
= (int) 0 ;
2455 wxString
*arg7
= (wxString
*) NULL
;
2456 long arg8
= (long) 0 ;
2457 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2458 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2459 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2460 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2462 bool temp3
= False
;
2465 bool temp9
= False
;
2466 PyObject
* obj0
= 0 ;
2467 PyObject
* obj2
= 0 ;
2468 PyObject
* obj3
= 0 ;
2469 PyObject
* obj4
= 0 ;
2470 PyObject
* obj5
= 0 ;
2471 PyObject
* obj7
= 0 ;
2472 PyObject
* obj8
= 0 ;
2474 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2481 arg3
= wxString_in_helper(obj2
);
2482 if (arg3
== NULL
) SWIG_fail
;
2489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2500 arg6
= PyList_Size(obj5
);
2501 arg7
= wxString_LIST_helper(obj5
);
2502 if (arg7
== NULL
) SWIG_fail
;
2506 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2513 arg10
= wxString_in_helper(obj8
);
2514 if (arg10
== NULL
) SWIG_fail
;
2519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2522 wxPyEndAllowThreads(__tstate
);
2523 if (PyErr_Occurred()) SWIG_fail
;
2525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2531 if (arg7
) delete [] arg7
;
2544 if (arg7
) delete [] arg7
;
2554 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2564 result
= (wxComboBox
*)new wxComboBox();
2566 wxPyEndAllowThreads(__tstate
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2576 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2579 wxWindow
*arg2
= (wxWindow
*) 0 ;
2581 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2582 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2583 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2584 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2585 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2586 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2587 int arg7
= (int) 0 ;
2588 wxString
*arg8
= (wxString
*) NULL
;
2589 long arg9
= (long) 0 ;
2590 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
2591 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
2592 wxString
const &arg11_defvalue
= wxPyComboBoxNameStr
;
2593 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
2595 bool temp4
= False
;
2598 bool temp10
= False
;
2599 PyObject
* obj0
= 0 ;
2600 PyObject
* obj1
= 0 ;
2601 PyObject
* obj3
= 0 ;
2602 PyObject
* obj4
= 0 ;
2603 PyObject
* obj5
= 0 ;
2604 PyObject
* obj6
= 0 ;
2605 PyObject
* obj8
= 0 ;
2606 PyObject
* obj9
= 0 ;
2608 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&obj8
,&obj9
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2616 arg4
= wxString_in_helper(obj3
);
2617 if (arg4
== NULL
) SWIG_fail
;
2624 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2630 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2635 arg7
= PyList_Size(obj6
);
2636 arg8
= wxString_LIST_helper(obj6
);
2637 if (arg8
== NULL
) SWIG_fail
;
2641 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2642 if (arg10
== NULL
) {
2643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2648 arg11
= wxString_in_helper(obj9
);
2649 if (arg11
== NULL
) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 resultobj
= PyInt_FromLong((long)result
);
2666 if (arg8
) delete [] arg8
;
2679 if (arg8
) delete [] arg8
;
2689 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
*resultobj
;
2691 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2693 PyObject
* obj0
= 0 ;
2695 (char *) "self", NULL
2698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= ((wxComboBox
const *)arg1
)->GetValue();
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2720 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2723 wxString
*arg2
= 0 ;
2724 bool temp2
= False
;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "value", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2734 arg2
= wxString_in_helper(obj1
);
2735 if (arg2
== NULL
) SWIG_fail
;
2739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2740 (arg1
)->SetValue((wxString
const &)*arg2
);
2742 wxPyEndAllowThreads(__tstate
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2745 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2765 (char *) "self", NULL
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
2769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2777 Py_INCREF(Py_None
); resultobj
= Py_None
;
2784 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2785 PyObject
*resultobj
;
2786 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 Py_INCREF(Py_None
); resultobj
= Py_None
;
2808 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2813 (char *) "self", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2836 PyObject
* obj0
= 0 ;
2838 (char *) "self",(char *) "pos", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2845 (arg1
)->SetInsertionPoint(arg2
);
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2861 PyObject
* obj0
= 0 ;
2863 (char *) "self", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
2867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= PyInt_FromLong((long)result
);
2882 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 resultobj
= PyInt_FromLong((long)result
);
2907 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2912 wxString
*arg4
= 0 ;
2913 bool temp4
= False
;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj3
= 0 ;
2917 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:ComboBox_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2923 arg4
= wxString_in_helper(obj3
);
2924 if (arg4
== NULL
) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2934 Py_INCREF(Py_None
); resultobj
= Py_None
;
2949 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2953 PyObject
* obj0
= 0 ;
2955 (char *) "self",(char *) "n", NULL
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ComboBox_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
2959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 (arg1
)->SetSelection(arg2
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) SWIG_fail
;
2967 Py_INCREF(Py_None
); resultobj
= Py_None
;
2974 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self",(char *) "from",(char *) "to", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_SetMark",kwnames
,&obj0
,&arg2
,&arg3
)) 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
)->SetSelection(arg2
,arg3
);
2990 wxPyEndAllowThreads(__tstate
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2993 Py_INCREF(Py_None
); resultobj
= Py_None
;
3000 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3005 PyObject
* obj1
= 0 ;
3007 (char *) "self",(char *) "editable", NULL
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 arg2
= PyInt_AsLong(obj1
) ? true : false;
3013 if (PyErr_Occurred()) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->SetEditable(arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3033 (char *) "self", NULL
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 (arg1
)->SetInsertionPointEnd();
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 Py_INCREF(Py_None
); resultobj
= Py_None
;
3052 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
*resultobj
;
3054 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3059 (char *) "self",(char *) "from",(char *) "to", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ComboBox_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 (arg1
)->Remove(arg2
,arg3
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 Py_INCREF(Py_None
); resultobj
= Py_None
;
3078 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3081 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3083 return Py_BuildValue((char *)"");
3085 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3086 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3091 static PyObject
*_wrap_GaugeNameStr_get() {
3096 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3098 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3105 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
*resultobj
;
3107 wxWindow
*arg1
= (wxWindow
*) 0 ;
3110 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3111 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3112 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3113 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3114 long arg6
= (long) wxGA_HORIZONTAL
;
3115 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3116 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3117 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3118 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3122 bool temp8
= False
;
3123 PyObject
* obj0
= 0 ;
3124 PyObject
* obj3
= 0 ;
3125 PyObject
* obj4
= 0 ;
3126 PyObject
* obj6
= 0 ;
3127 PyObject
* obj7
= 0 ;
3129 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|OOlOO:new_Gauge",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
3133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3137 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3143 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3147 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3154 arg8
= wxString_in_helper(obj7
);
3155 if (arg8
== NULL
) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3181 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (wxGauge
*)new wxGauge();
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3203 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxGauge
*arg1
= (wxGauge
*) 0 ;
3206 wxWindow
*arg2
= (wxWindow
*) 0 ;
3209 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3210 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3211 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3212 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3213 long arg7
= (long) wxGA_HORIZONTAL
;
3214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3216 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3221 bool temp9
= False
;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3224 PyObject
* obj4
= 0 ;
3225 PyObject
* obj5
= 0 ;
3226 PyObject
* obj7
= 0 ;
3227 PyObject
* obj8
= 0 ;
3229 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii|OOlOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
3233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3238 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3244 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3248 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3255 arg9
= wxString_in_helper(obj8
);
3256 if (arg9
== NULL
) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 resultobj
= PyInt_FromLong((long)result
);
3282 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxGauge
*arg1
= (wxGauge
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "self",(char *) "range", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetRange",kwnames
,&obj0
,&arg2
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 (arg1
)->SetRange(arg2
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxGauge
*arg1
= (wxGauge
*) 0 ;
3311 PyObject
* obj0
= 0 ;
3313 (char *) "self", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= PyInt_FromLong((long)result
);
3332 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxGauge
*arg1
= (wxGauge
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3338 (char *) "self",(char *) "pos", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 (arg1
)->SetValue(arg2
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 Py_INCREF(Py_None
); resultobj
= Py_None
;
3357 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxGauge
*arg1
= (wxGauge
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3363 (char *) "self", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 resultobj
= PyInt_FromLong((long)result
);
3382 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxGauge
*arg1
= (wxGauge
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= PyInt_FromLong((long)result
);
3407 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxGauge
*arg1
= (wxGauge
*) 0 ;
3411 PyObject
* obj0
= 0 ;
3413 (char *) "self",(char *) "w", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetShadowWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 (arg1
)->SetShadowWidth(arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 Py_INCREF(Py_None
); resultobj
= Py_None
;
3432 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxGauge
*arg1
= (wxGauge
*) 0 ;
3436 PyObject
* obj0
= 0 ;
3438 (char *) "self", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 resultobj
= PyInt_FromLong((long)result
);
3457 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxGauge
*arg1
= (wxGauge
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3463 (char *) "self",(char *) "w", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Gauge_SetBezelFace",kwnames
,&obj0
,&arg2
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 (arg1
)->SetBezelFace(arg2
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxGauge
*arg1
= (wxGauge
*) 0 ;
3486 PyObject
* obj0
= 0 ;
3488 (char *) "self", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3495 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 resultobj
= PyInt_FromLong((long)result
);
3507 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3510 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3512 return Py_BuildValue((char *)"");
3514 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
3515 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3520 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3525 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3527 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3534 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
3535 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3540 static PyObject
*_wrap_StaticBoxNameStr_get() {
3545 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3547 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3554 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
3555 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3560 static PyObject
*_wrap_StaticTextNameStr_get() {
3565 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3567 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3574 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxWindow
*arg1
= (wxWindow
*) 0 ;
3578 wxString
*arg3
= 0 ;
3579 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3580 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3581 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3582 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3583 long arg6
= (long) 0 ;
3584 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3585 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3586 wxStaticBox
*result
;
3587 bool temp3
= False
;
3590 bool temp7
= False
;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj2
= 0 ;
3593 PyObject
* obj3
= 0 ;
3594 PyObject
* obj4
= 0 ;
3595 PyObject
* obj6
= 0 ;
3597 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3603 arg3
= wxString_in_helper(obj2
);
3604 if (arg3
== NULL
) SWIG_fail
;
3610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3621 arg7
= wxString_in_helper(obj6
);
3622 if (arg7
== NULL
) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= wxPyMake_wxObject(result
);
3658 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxStaticBox
*result
;
3665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 result
= (wxStaticBox
*)new wxStaticBox();
3670 wxPyEndAllowThreads(__tstate
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= wxPyMake_wxObject(result
);
3682 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
3685 wxWindow
*arg2
= (wxWindow
*) 0 ;
3687 wxString
*arg4
= 0 ;
3688 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3689 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3690 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3691 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3692 long arg7
= (long) 0 ;
3693 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
3694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3696 bool temp4
= False
;
3699 bool temp8
= False
;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3702 PyObject
* obj3
= 0 ;
3703 PyObject
* obj4
= 0 ;
3704 PyObject
* obj5
= 0 ;
3705 PyObject
* obj7
= 0 ;
3707 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
3711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3714 arg4
= wxString_in_helper(obj3
);
3715 if (arg4
== NULL
) SWIG_fail
;
3721 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3727 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3732 arg8
= wxString_in_helper(obj7
);
3733 if (arg8
== NULL
) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= PyInt_FromLong((long)result
);
3767 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
3769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3770 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
3772 return Py_BuildValue((char *)"");
3774 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxWindow
*arg1
= (wxWindow
*) 0 ;
3778 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3779 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3780 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3781 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3782 long arg5
= (long) wxLI_HORIZONTAL
;
3783 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
3784 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3785 wxStaticLine
*result
;
3788 bool temp6
= False
;
3789 PyObject
* obj0
= 0 ;
3790 PyObject
* obj2
= 0 ;
3791 PyObject
* obj3
= 0 ;
3792 PyObject
* obj5
= 0 ;
3794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_StaticLine",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3813 arg6
= wxString_in_helper(obj5
);
3814 if (arg6
== NULL
) SWIG_fail
;
3819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3820 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3840 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3841 PyObject
*resultobj
;
3842 wxStaticLine
*result
;
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 result
= (wxStaticLine
*)new wxStaticLine();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
3862 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3865 wxWindow
*arg2
= (wxWindow
*) 0 ;
3867 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3868 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3869 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3870 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3871 long arg6
= (long) wxLI_HORIZONTAL
;
3872 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3873 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3877 bool temp7
= False
;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3880 PyObject
* obj3
= 0 ;
3881 PyObject
* obj4
= 0 ;
3882 PyObject
* obj6
= 0 ;
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3889 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3893 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3899 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3904 arg7
= wxString_in_helper(obj6
);
3905 if (arg7
== NULL
) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 resultobj
= PyInt_FromLong((long)result
);
3931 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= PyInt_FromLong((long)result
);
3956 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3966 result
= (int)wxStaticLine::GetDefaultSize();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= PyInt_FromLong((long)result
);
3978 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
3980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3981 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
3983 return Py_BuildValue((char *)"");
3985 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxWindow
*arg1
= (wxWindow
*) 0 ;
3989 wxString
*arg3
= 0 ;
3990 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3991 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3992 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3993 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3994 long arg6
= (long) 0 ;
3995 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
3996 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3997 wxStaticText
*result
;
3998 bool temp3
= False
;
4001 bool temp7
= False
;
4002 PyObject
* obj0
= 0 ;
4003 PyObject
* obj2
= 0 ;
4004 PyObject
* obj3
= 0 ;
4005 PyObject
* obj4
= 0 ;
4006 PyObject
* obj6
= 0 ;
4008 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticText",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4014 arg3
= wxString_in_helper(obj2
);
4015 if (arg3
== NULL
) SWIG_fail
;
4021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4032 arg7
= wxString_in_helper(obj6
);
4033 if (arg7
== NULL
) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4067 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxStaticText
*result
;
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (wxStaticText
*)new wxStaticText();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4089 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4092 wxWindow
*arg2
= (wxWindow
*) 0 ;
4094 wxString
*arg4
= 0 ;
4095 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4096 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4097 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4098 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4099 long arg7
= (long) 0 ;
4100 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4101 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4103 bool temp4
= False
;
4106 bool temp8
= False
;
4107 PyObject
* obj0
= 0 ;
4108 PyObject
* obj1
= 0 ;
4109 PyObject
* obj3
= 0 ;
4110 PyObject
* obj4
= 0 ;
4111 PyObject
* obj5
= 0 ;
4112 PyObject
* obj7
= 0 ;
4114 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticText_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4121 arg4
= wxString_in_helper(obj3
);
4122 if (arg4
== NULL
) SWIG_fail
;
4128 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4134 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4139 arg8
= wxString_in_helper(obj7
);
4140 if (arg8
== NULL
) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) SWIG_fail
;
4151 resultobj
= PyInt_FromLong((long)result
);
4174 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4177 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4179 return Py_BuildValue((char *)"");
4181 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
*resultobj
;
4183 wxWindow
*arg1
= (wxWindow
*) 0 ;
4185 wxBitmap
*arg3
= 0 ;
4186 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4187 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4188 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4189 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4190 long arg6
= (long) 0 ;
4191 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4192 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4193 wxStaticBitmap
*result
;
4196 bool temp7
= False
;
4197 PyObject
* obj0
= 0 ;
4198 PyObject
* obj2
= 0 ;
4199 PyObject
* obj3
= 0 ;
4200 PyObject
* obj4
= 0 ;
4201 PyObject
* obj6
= 0 ;
4203 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlO:new_StaticBitmap",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4208 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4215 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4221 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4226 arg7
= wxString_in_helper(obj6
);
4227 if (arg7
== NULL
) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4253 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxStaticBitmap
*result
;
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4275 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
*resultobj
;
4277 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4278 wxWindow
*arg2
= (wxWindow
*) 0 ;
4280 wxBitmap
*arg4
= 0 ;
4281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4285 long arg7
= (long) 0 ;
4286 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4291 bool temp8
= False
;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4294 PyObject
* obj3
= 0 ;
4295 PyObject
* obj4
= 0 ;
4296 PyObject
* obj5
= 0 ;
4297 PyObject
* obj7
= 0 ;
4299 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4305 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4312 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4318 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4323 arg8
= wxString_in_helper(obj7
);
4324 if (arg8
== NULL
) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 resultobj
= PyInt_FromLong((long)result
);
4350 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (arg1
)->GetBitmap();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 wxBitmap
* resultptr
;
4370 resultptr
= new wxBitmap((wxBitmap
&) result
);
4371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4379 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4382 wxBitmap
*arg2
= 0 ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4386 (char *) "self",(char *) "bitmap", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4393 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4397 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 Py_INCREF(Py_None
); resultobj
= Py_None
;
4409 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "self",(char *) "icon", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4442 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4444 return Py_BuildValue((char *)"");
4446 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
4447 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4452 static PyObject
*_wrap_ListBoxNameStr_get() {
4457 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4459 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4466 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxWindow
*arg1
= (wxWindow
*) 0 ;
4470 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4471 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4472 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4473 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4474 int arg5
= (int) 0 ;
4475 wxString
*arg6
= (wxString
*) NULL
;
4476 long arg7
= (long) 0 ;
4477 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4478 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4479 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
4480 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4484 bool temp8
= False
;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj2
= 0 ;
4487 PyObject
* obj3
= 0 ;
4488 PyObject
* obj4
= 0 ;
4489 PyObject
* obj6
= 0 ;
4490 PyObject
* obj7
= 0 ;
4492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_ListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4506 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4511 arg5
= PyList_Size(obj4
);
4512 arg6
= wxString_LIST_helper(obj4
);
4513 if (arg6
== NULL
) SWIG_fail
;
4517 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4524 arg9
= wxString_in_helper(obj7
);
4525 if (arg9
== NULL
) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4538 if (arg6
) delete [] arg6
;
4547 if (arg6
) delete [] arg6
;
4557 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
*resultobj
;
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 result
= (wxListBox
*)new wxListBox();
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
4579 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxListBox
*arg1
= (wxListBox
*) 0 ;
4582 wxWindow
*arg2
= (wxWindow
*) 0 ;
4584 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4585 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4586 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4587 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4588 int arg6
= (int) 0 ;
4589 wxString
*arg7
= (wxString
*) NULL
;
4590 long arg8
= (long) 0 ;
4591 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
4592 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
4593 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
4594 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
4598 bool temp9
= False
;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj3
= 0 ;
4602 PyObject
* obj4
= 0 ;
4603 PyObject
* obj5
= 0 ;
4604 PyObject
* obj7
= 0 ;
4605 PyObject
* obj8
= 0 ;
4607 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4612 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4627 arg6
= PyList_Size(obj5
);
4628 arg7
= wxString_LIST_helper(obj5
);
4629 if (arg7
== NULL
) SWIG_fail
;
4633 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4640 arg10
= wxString_in_helper(obj8
);
4641 if (arg10
== NULL
) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 resultobj
= PyInt_FromLong((long)result
);
4654 if (arg7
) delete [] arg7
;
4663 if (arg7
) delete [] arg7
;
4673 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4674 PyObject
*resultobj
;
4675 wxListBox
*arg1
= (wxListBox
*) 0 ;
4676 wxString
*arg2
= 0 ;
4678 PyObject
*arg4
= (PyObject
*) NULL
;
4679 bool temp2
= False
;
4680 PyObject
* obj0
= 0 ;
4681 PyObject
* obj1
= 0 ;
4682 PyObject
* obj3
= 0 ;
4684 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 arg2
= wxString_in_helper(obj1
);
4691 if (arg2
== NULL
) SWIG_fail
;
4698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4699 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 Py_INCREF(Py_None
); resultobj
= Py_None
;
4719 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4720 PyObject
*resultobj
;
4721 wxListBox
*arg1
= (wxListBox
*) 0 ;
4722 wxArrayString
*arg2
= 0 ;
4724 PyObject
* obj0
= 0 ;
4725 PyObject
* obj1
= 0 ;
4727 (char *) "self",(char *) "items",(char *) "pos", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 if (! PySequence_Check(obj1
)) {
4734 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4737 arg2
= new wxArrayString
;
4738 int i
, len
=PySequence_Length(obj1
);
4739 for (i
=0; i
<len
; i
++) {
4740 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4742 PyObject
* str
= PyObject_Unicode(item
);
4744 PyObject
* str
= PyObject_Str(item
);
4746 arg2
->Add(Py2wxString(str
));
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 Py_INCREF(Py_None
); resultobj
= Py_None
;
4760 if (arg2
) delete arg2
;
4765 if (arg2
) delete arg2
;
4771 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxListBox
*arg1
= (wxListBox
*) 0 ;
4774 wxArrayString
*arg2
= 0 ;
4775 PyObject
* obj0
= 0 ;
4776 PyObject
* obj1
= 0 ;
4778 (char *) "self",(char *) "items", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 if (! PySequence_Check(obj1
)) {
4785 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4788 arg2
= new wxArrayString
;
4789 int i
, len
=PySequence_Length(obj1
);
4790 for (i
=0; i
<len
; i
++) {
4791 PyObject
* item
= PySequence_GetItem(obj1
, i
);
4793 PyObject
* str
= PyObject_Unicode(item
);
4795 PyObject
* str
= PyObject_Str(item
);
4797 arg2
->Add(Py2wxString(str
));
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->Set((wxArrayString
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4811 if (arg2
) delete arg2
;
4816 if (arg2
) delete arg2
;
4822 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxListBox
*arg1
= (wxListBox
*) 0 ;
4827 PyObject
* obj0
= 0 ;
4829 (char *) "self",(char *) "n", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= PyInt_FromLong((long)result
);
4848 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxListBox
*arg1
= (wxListBox
*) 0 ;
4852 bool arg3
= (bool) True
;
4853 PyObject
* obj0
= 0 ;
4854 PyObject
* obj2
= 0 ;
4856 (char *) "self",(char *) "n",(char *) "select", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:ListBox_SetSelection",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 arg3
= PyInt_AsLong(obj2
) ? true : false;
4863 if (PyErr_Occurred()) SWIG_fail
;
4866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4867 (arg1
)->SetSelection(arg2
,arg3
);
4869 wxPyEndAllowThreads(__tstate
);
4870 if (PyErr_Occurred()) SWIG_fail
;
4872 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxListBox
*arg1
= (wxListBox
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self",(char *) "n", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->Select(arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 Py_INCREF(Py_None
); resultobj
= Py_None
;
4904 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxListBox
*arg1
= (wxListBox
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4910 (char *) "self",(char *) "n", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_Deselect",kwnames
,&obj0
,&arg2
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->Deselect(arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4929 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxListBox
*arg1
= (wxListBox
*) 0 ;
4932 int arg2
= (int) -1 ;
4933 PyObject
* obj0
= 0 ;
4935 (char *) "self",(char *) "itemToLeaveSelected", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListBox_DeselectAll",kwnames
,&obj0
,&arg2
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 (arg1
)->DeselectAll(arg2
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 Py_INCREF(Py_None
); resultobj
= Py_None
;
4954 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxListBox
*arg1
= (wxListBox
*) 0 ;
4957 wxString
*arg2
= 0 ;
4958 bool arg3
= (bool) True
;
4960 bool temp2
= False
;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4965 (char *) "self",(char *) "s",(char *) "select", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 arg2
= wxString_in_helper(obj1
);
4972 if (arg2
== NULL
) SWIG_fail
;
4976 arg3
= PyInt_AsLong(obj2
) ? true : false;
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= PyInt_FromLong((long)result
);
5001 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxListBox
*arg1
= (wxListBox
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5026 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxListBox
*arg1
= (wxListBox
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self",(char *) "n", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_SetFirstItem",kwnames
,&obj0
,&arg2
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetFirstItem(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxListBox
*arg1
= (wxListBox
*) 0 ;
5054 wxString
*arg2
= 0 ;
5055 bool temp2
= False
;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "s", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5065 arg2
= wxString_in_helper(obj1
);
5066 if (arg2
== NULL
) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5091 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
*resultobj
;
5093 wxListBox
*arg1
= (wxListBox
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self",(char *) "n", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListBox_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->EnsureVisible(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxListBox
*arg1
= (wxListBox
*) 0 ;
5119 wxString
*arg2
= 0 ;
5120 bool temp2
= False
;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "s", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5130 arg2
= wxString_in_helper(obj1
);
5131 if (arg2
== NULL
) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 Py_INCREF(Py_None
); resultobj
= Py_None
;
5156 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxListBox
*arg1
= (wxListBox
*) 0 ;
5160 PyObject
* obj0
= 0 ;
5162 (char *) "self", NULL
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= PyInt_FromLong((long)result
);
5181 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5184 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5186 return Py_BuildValue((char *)"");
5188 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxWindow
*arg1
= (wxWindow
*) 0 ;
5192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5196 int arg5
= (int) 0 ;
5197 wxString
*arg6
= (wxString
*) NULL
;
5198 long arg7
= (long) 0 ;
5199 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5200 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5201 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5202 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5203 wxCheckListBox
*result
;
5206 bool temp8
= False
;
5207 PyObject
* obj0
= 0 ;
5208 PyObject
* obj2
= 0 ;
5209 PyObject
* obj3
= 0 ;
5210 PyObject
* obj4
= 0 ;
5211 PyObject
* obj6
= 0 ;
5212 PyObject
* obj7
= 0 ;
5214 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg7
,&obj6
,&obj7
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5228 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5233 arg5
= PyList_Size(obj4
);
5234 arg6
= wxString_LIST_helper(obj4
);
5235 if (arg6
== NULL
) SWIG_fail
;
5239 if ((SWIG_ConvertPtr(obj6
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5241 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5246 arg9
= wxString_in_helper(obj7
);
5247 if (arg9
== NULL
) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5260 if (arg6
) delete [] arg6
;
5269 if (arg6
) delete [] arg6
;
5279 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5280 PyObject
*resultobj
;
5281 wxCheckListBox
*result
;
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (wxCheckListBox
*)new wxCheckListBox();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5301 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
;
5303 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5304 wxWindow
*arg2
= (wxWindow
*) 0 ;
5306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5310 int arg6
= (int) 0 ;
5311 wxString
*arg7
= (wxString
*) NULL
;
5312 long arg8
= (long) 0 ;
5313 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5314 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5315 wxString
const &arg10_defvalue
= wxPyListBoxNameStr
;
5316 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5320 bool temp9
= False
;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 PyObject
* obj3
= 0 ;
5324 PyObject
* obj4
= 0 ;
5325 PyObject
* obj5
= 0 ;
5326 PyObject
* obj7
= 0 ;
5327 PyObject
* obj8
= 0 ;
5329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg8
,&obj7
,&obj8
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5338 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5344 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5349 arg6
= PyList_Size(obj5
);
5350 arg7
= wxString_LIST_helper(obj5
);
5351 if (arg7
== NULL
) SWIG_fail
;
5355 if ((SWIG_ConvertPtr(obj7
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5362 arg10
= wxString_in_helper(obj8
);
5363 if (arg10
== NULL
) SWIG_fail
;
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5371 wxPyEndAllowThreads(__tstate
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= PyInt_FromLong((long)result
);
5376 if (arg7
) delete [] arg7
;
5385 if (arg7
) delete [] arg7
;
5395 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5400 PyObject
* obj0
= 0 ;
5402 (char *) "self",(char *) "index", NULL
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CheckListBox_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
5406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)(arg1
)->IsChecked(arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5414 resultobj
= PyInt_FromLong((long)result
);
5421 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5422 PyObject
*resultobj
;
5423 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5425 int arg3
= (int) True
;
5426 PyObject
* obj0
= 0 ;
5428 (char *) "self",(char *) "index",(char *) "check", NULL
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:CheckListBox_Check",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5435 (arg1
)->Check(arg2
,arg3
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 Py_INCREF(Py_None
); resultobj
= Py_None
;
5447 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5453 (char *) "self", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5460 result
= (int)(arg1
)->GetItemHeight();
5462 wxPyEndAllowThreads(__tstate
);
5463 if (PyErr_Occurred()) SWIG_fail
;
5465 resultobj
= PyInt_FromLong((long)result
);
5472 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5478 PyObject
* obj0
= 0 ;
5479 PyObject
* obj1
= 0 ;
5481 (char *) "self",(char *) "pt", NULL
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
5485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5488 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= PyInt_FromLong((long)result
);
5504 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
5510 PyObject
* obj0
= 0 ;
5512 (char *) "self",(char *) "x",(char *) "y", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:CheckListBox_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= PyInt_FromLong((long)result
);
5531 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5534 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
5536 return Py_BuildValue((char *)"");
5538 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
5539 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
5544 static PyObject
*_wrap_TextCtrlNameStr_get() {
5549 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5551 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
5558 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
5559 PyObject
*resultobj
;
5562 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 result
= (wxTextAttr
*)new wxTextAttr();
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5577 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
5578 PyObject
*resultobj
;
5579 wxColour
*arg1
= 0 ;
5580 wxColour
const &arg2_defvalue
= wxNullColour
;
5581 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
5582 wxFont
const &arg3_defvalue
= wxNullFont
;
5583 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
5584 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
5588 PyObject
* obj0
= 0 ;
5589 PyObject
* obj1
= 0 ;
5590 PyObject
* obj2
= 0 ;
5592 if(!PyArg_ParseTuple(args
,(char *)"O|OOi:new_TextAttr",&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
5595 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5604 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
5623 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
5628 argc
= PyObject_Length(args
);
5629 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
5630 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5633 return _wrap_new_TextAttr__SWIG_0(self
,args
);
5635 if ((argc
>= 1) && (argc
<= 4)) {
5638 _v
= wxColour_typecheck(argv
[0]);
5642 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5645 _v
= wxColour_typecheck(argv
[1]);
5649 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5653 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
5662 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5665 _v
= (PyInt_Check(argv
[3]) || PyLong_Check(argv
[3])) ? 1 : 0;
5668 return _wrap_new_TextAttr__SWIG_1(self
,args
);
5675 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
5680 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5681 PyObject
*resultobj
;
5682 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5683 PyObject
* obj0
= 0 ;
5685 (char *) "self", NULL
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
5689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 Py_INCREF(Py_None
); resultobj
= Py_None
;
5704 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5707 wxColour
*arg2
= 0 ;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5712 (char *) "self",(char *) "colText", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5719 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5738 wxColour
*arg2
= 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5743 (char *) "self",(char *) "colBack", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5754 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 Py_INCREF(Py_None
); resultobj
= Py_None
;
5766 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5770 long arg3
= (long) wxTEXT_ATTR_FONT
;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5774 (char *) "self",(char *) "font",(char *) "flags", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5785 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
5787 wxPyEndAllowThreads(__tstate
);
5788 if (PyErr_Occurred()) SWIG_fail
;
5790 Py_INCREF(Py_None
); resultobj
= Py_None
;
5797 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
*resultobj
;
5799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self",(char *) "alignment", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetAlignment",kwnames
,&obj0
,&arg2
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5810 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5815 Py_INCREF(Py_None
); resultobj
= Py_None
;
5822 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
*resultobj
;
5824 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5825 wxArrayInt
*arg2
= 0 ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5829 (char *) "self",(char *) "tabs", NULL
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
5833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5835 if (! PySequence_Check(obj1
)) {
5836 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
5839 arg2
= new wxArrayInt
;
5840 int i
, len
=PySequence_Length(obj1
);
5841 for (i
=0; i
<len
; i
++) {
5842 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5843 PyObject
* number
= PyNumber_Int(item
);
5844 arg2
->Add(PyInt_AS_LONG(number
));
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 Py_INCREF(Py_None
); resultobj
= Py_None
;
5858 if (arg2
) delete arg2
;
5863 if (arg2
) delete arg2
;
5869 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5873 PyObject
* obj0
= 0 ;
5875 (char *) "self",(char *) "indent", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetLeftIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 (arg1
)->SetLeftIndent(arg2
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 Py_INCREF(Py_None
); resultobj
= Py_None
;
5894 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5898 PyObject
* obj0
= 0 ;
5900 (char *) "self",(char *) "indent", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TextAttr_SetRightIndent",kwnames
,&obj0
,&arg2
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 (arg1
)->SetRightIndent(arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 Py_INCREF(Py_None
); resultobj
= Py_None
;
5919 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self",(char *) "flags", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_SetFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 (arg1
)->SetFlags(arg2
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 Py_INCREF(Py_None
); resultobj
= Py_None
;
5944 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
;
5946 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5948 PyObject
* obj0
= 0 ;
5950 (char *) "self", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= PyInt_FromLong((long)result
);
5969 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
;
5971 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5973 PyObject
* obj0
= 0 ;
5975 (char *) "self", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= PyInt_FromLong((long)result
);
5994 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 resultobj
= PyInt_FromLong((long)result
);
6019 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6023 PyObject
* obj0
= 0 ;
6025 (char *) "self", NULL
6028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= PyInt_FromLong((long)result
);
6044 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= PyInt_FromLong((long)result
);
6069 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6082 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 resultobj
= PyInt_FromLong((long)result
);
6094 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6098 PyObject
* obj0
= 0 ;
6100 (char *) "self", NULL
6103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= PyInt_FromLong((long)result
);
6119 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6126 (char *) "self",(char *) "flag", NULL
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextAttr_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
6130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= PyInt_FromLong((long)result
);
6145 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "self", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6160 result
= (wxColour
*) &_result_ref
;
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6173 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6179 (char *) "self", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
6188 result
= (wxColour
*) &_result_ref
;
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6201 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "self", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
6216 result
= (wxFont
*) &_result_ref
;
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
6229 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
*resultobj
;
6231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6233 PyObject
* obj0
= 0 ;
6235 (char *) "self", NULL
6238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
6239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= PyInt_FromLong((long)result
);
6254 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "self", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
6269 result
= (wxArrayInt
*) &_result_ref
;
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 resultobj
= PyList_New(0);
6278 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
6279 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
6280 PyList_Append(resultobj
, val
);
6290 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6291 PyObject
*resultobj
;
6292 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6294 PyObject
* obj0
= 0 ;
6296 (char *) "self", NULL
6299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
6300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6303 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6308 resultobj
= PyInt_FromLong((long)result
);
6315 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6319 PyObject
* obj0
= 0 ;
6321 (char *) "self", NULL
6324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
6325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 resultobj
= PyInt_FromLong((long)result
);
6340 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6344 PyObject
* obj0
= 0 ;
6346 (char *) "self", NULL
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
6350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= PyInt_FromLong((long)result
);
6365 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "self", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 resultobj
= PyInt_FromLong((long)result
);
6390 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxTextAttr
*arg1
= 0 ;
6393 wxTextAttr
*arg2
= 0 ;
6394 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6398 PyObject
* obj2
= 0 ;
6400 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6408 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6410 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6412 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 wxTextAttr
* resultptr
;
6422 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
6423 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
6431 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
6433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6434 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
6436 return Py_BuildValue((char *)"");
6438 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxWindow
*arg1
= (wxWindow
*) 0 ;
6442 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6448 long arg6
= (long) 0 ;
6449 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6450 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6451 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
6452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6454 bool temp3
= False
;
6457 bool temp8
= False
;
6458 PyObject
* obj0
= 0 ;
6459 PyObject
* obj2
= 0 ;
6460 PyObject
* obj3
= 0 ;
6461 PyObject
* obj4
= 0 ;
6462 PyObject
* obj6
= 0 ;
6463 PyObject
* obj7
= 0 ;
6465 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
6469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6472 arg3
= wxString_in_helper(obj2
);
6473 if (arg3
== NULL
) SWIG_fail
;
6480 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6486 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6490 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6497 arg8
= wxString_in_helper(obj7
);
6498 if (arg8
== NULL
) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6510 resultobj
= wxPyMake_wxObject(result
);
6534 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
6543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 result
= (wxTextCtrl
*)new wxTextCtrl();
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= wxPyMake_wxObject(result
);
6558 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6559 PyObject
*resultobj
;
6560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6561 wxWindow
*arg2
= (wxWindow
*) 0 ;
6563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6565 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6566 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6567 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6568 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6569 long arg7
= (long) 0 ;
6570 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6571 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6572 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
6573 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6575 bool temp4
= False
;
6578 bool temp9
= False
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 PyObject
* obj3
= 0 ;
6582 PyObject
* obj4
= 0 ;
6583 PyObject
* obj5
= 0 ;
6584 PyObject
* obj7
= 0 ;
6585 PyObject
* obj8
= 0 ;
6587 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
6591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6595 arg4
= wxString_in_helper(obj3
);
6596 if (arg4
== NULL
) SWIG_fail
;
6603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6609 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6613 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6620 arg9
= wxString_in_helper(obj8
);
6621 if (arg9
== NULL
) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= PyInt_FromLong((long)result
);
6655 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6659 PyObject
* obj0
= 0 ;
6661 (char *) "self", NULL
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
6665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
6670 wxPyEndAllowThreads(__tstate
);
6671 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6686 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
;
6688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6689 wxString
*arg2
= 0 ;
6690 bool temp2
= False
;
6691 PyObject
* obj0
= 0 ;
6692 PyObject
* obj1
= 0 ;
6694 (char *) "self",(char *) "value", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6700 arg2
= wxString_in_helper(obj1
);
6701 if (arg2
== NULL
) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 (arg1
)->SetValue((wxString
const &)*arg2
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 Py_INCREF(Py_None
); resultobj
= Py_None
;
6726 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6734 (char *) "self",(char *) "from",(char *) "to", NULL
6737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
6738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6759 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self",(char *) "lineNo", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineLength",kwnames
,&obj0
,&arg2
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= PyInt_FromLong((long)result
);
6785 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6790 PyObject
* obj0
= 0 ;
6792 (char *) "self",(char *) "lineNo", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_GetLineText",kwnames
,&obj0
,&arg2
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6817 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6821 PyObject
* obj0
= 0 ;
6823 (char *) "self", NULL
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
6827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= PyInt_FromLong((long)result
);
6842 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "self", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= PyInt_FromLong((long)result
);
6867 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6873 (char *) "self", NULL
6876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
6877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= PyInt_FromLong((long)result
);
6892 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
;
6894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6896 PyObject
* obj0
= 0 ;
6898 (char *) "self", NULL
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
6902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= PyInt_FromLong((long)result
);
6917 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= PyInt_FromLong((long)result
);
6942 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6945 long *arg2
= (long *) 0 ;
6946 long *arg3
= (long *) 0 ;
6949 PyObject
* obj0
= 0 ;
6951 (char *) "self", NULL
6956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
6957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6960 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 Py_INCREF(Py_None
); resultobj
= Py_None
;
6967 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
6968 resultobj
= t_output_helper(resultobj
,o
);
6971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
6972 resultobj
= t_output_helper(resultobj
,o
);
6980 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6984 PyObject
* obj0
= 0 ;
6986 (char *) "self", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7011 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7014 PyObject
* obj0
= 0 ;
7016 (char *) "self", NULL
7019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7040 wxString
*arg4
= 0 ;
7041 bool temp4
= False
;
7042 PyObject
* obj0
= 0 ;
7043 PyObject
* obj3
= 0 ;
7045 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_Replace",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7051 arg4
= wxString_in_helper(obj3
);
7052 if (arg4
== NULL
) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 Py_INCREF(Py_None
); resultobj
= Py_None
;
7077 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7082 PyObject
* obj0
= 0 ;
7084 (char *) "self",(char *) "from",(char *) "to", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_Remove",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->Remove(arg2
,arg3
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7106 wxString
*arg2
= 0 ;
7108 bool temp2
= False
;
7109 PyObject
* obj0
= 0 ;
7110 PyObject
* obj1
= 0 ;
7112 (char *) "self",(char *) "file", NULL
7115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7118 arg2
= wxString_in_helper(obj1
);
7119 if (arg2
== NULL
) SWIG_fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 resultobj
= PyInt_FromLong((long)result
);
7144 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7147 wxString
const &arg2_defvalue
= wxPyEmptyString
;
7148 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
7150 bool temp2
= False
;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7154 (char *) "self",(char *) "file", NULL
7157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7161 arg2
= wxString_in_helper(obj1
);
7162 if (arg2
== NULL
) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= PyInt_FromLong((long)result
);
7188 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7191 PyObject
* obj0
= 0 ;
7193 (char *) "self", NULL
7196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
7197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 (arg1
)->MarkDirty();
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7205 Py_INCREF(Py_None
); resultobj
= Py_None
;
7212 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7213 PyObject
*resultobj
;
7214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7215 PyObject
* obj0
= 0 ;
7217 (char *) "self", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 (arg1
)->DiscardEdits();
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7229 Py_INCREF(Py_None
); resultobj
= Py_None
;
7236 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
*resultobj
;
7238 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7239 unsigned long arg2
;
7240 PyObject
* obj0
= 0 ;
7241 PyObject
* obj1
= 0 ;
7243 (char *) "self",(char *) "len", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7248 arg2
= (unsigned long) PyInt_AsLong(obj1
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetMaxLength(arg2
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7267 wxString
*arg2
= 0 ;
7268 bool temp2
= False
;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7272 (char *) "self",(char *) "text", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7278 arg2
= wxString_in_helper(obj1
);
7279 if (arg2
== NULL
) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 (arg1
)->WriteText((wxString
const &)*arg2
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7307 wxString
*arg2
= 0 ;
7308 bool temp2
= False
;
7309 PyObject
* obj0
= 0 ;
7310 PyObject
* obj1
= 0 ;
7312 (char *) "self",(char *) "text", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 arg2
= wxString_in_helper(obj1
);
7319 if (arg2
== NULL
) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 (arg1
)->AppendText((wxString
const &)*arg2
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7347 wxKeyEvent
*arg2
= 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "event", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7357 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7359 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= PyInt_FromLong((long)result
);
7375 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7380 wxTextAttr
*arg4
= 0 ;
7382 PyObject
* obj0
= 0 ;
7383 PyObject
* obj3
= 0 ;
7385 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OllO:TextCtrl_SetStyle",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7390 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 resultobj
= PyInt_FromLong((long)result
);
7408 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7412 wxTextAttr
*arg3
= 0 ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj2
= 0 ;
7417 (char *) "self",(char *) "position",(char *) "style", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:TextCtrl_GetStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7422 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= PyInt_FromLong((long)result
);
7440 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7443 wxTextAttr
*arg2
= 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "self",(char *) "style", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 resultobj
= PyInt_FromLong((long)result
);
7471 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
7486 result
= (wxTextAttr
*) &_result_ref
;
7489 wxPyEndAllowThreads(__tstate
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7492 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
7499 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7500 PyObject
*resultobj
;
7501 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self",(char *) "x",(char *) "y", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_XYToPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 resultobj
= PyInt_FromLong((long)result
);
7526 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7530 long *arg3
= (long *) 0 ;
7531 long *arg4
= (long *) 0 ;
7534 PyObject
* obj0
= 0 ;
7536 (char *) "self",(char *) "pos", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_PositionToXY",kwnames
,&obj0
,&arg2
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7545 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7553 resultobj
= t_output_helper(resultobj
,o
);
7556 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7557 resultobj
= t_output_helper(resultobj
,o
);
7565 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7569 PyObject
* obj0
= 0 ;
7571 (char *) "self",(char *) "pos", NULL
7574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_ShowPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
7575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 (arg1
)->ShowPosition(arg2
);
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 Py_INCREF(Py_None
); resultobj
= Py_None
;
7590 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
;
7592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "self", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 Py_INCREF(Py_None
); resultobj
= Py_None
;
7614 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
;
7616 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 wxPyEndAllowThreads(__tstate
);
7629 if (PyErr_Occurred()) SWIG_fail
;
7631 Py_INCREF(Py_None
); resultobj
= Py_None
;
7638 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7662 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 resultobj
= PyInt_FromLong((long)result
);
7687 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7688 PyObject
*resultobj
;
7689 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7691 PyObject
* obj0
= 0 ;
7693 (char *) "self", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= PyInt_FromLong((long)result
);
7712 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7713 PyObject
*resultobj
;
7714 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7718 (char *) "self", NULL
7721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
7722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7725 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
7727 wxPyEndAllowThreads(__tstate
);
7728 if (PyErr_Occurred()) SWIG_fail
;
7730 resultobj
= PyInt_FromLong((long)result
);
7737 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
7746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 Py_INCREF(Py_None
); resultobj
= Py_None
;
7761 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 Py_INCREF(Py_None
); resultobj
= Py_None
;
7785 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "self", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= PyInt_FromLong((long)result
);
7810 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7828 resultobj
= PyInt_FromLong((long)result
);
7835 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
;
7837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7841 (char *) "self",(char *) "pos", NULL
7844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&arg2
)) goto fail
;
7845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 (arg1
)->SetInsertionPoint(arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7860 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7861 PyObject
*resultobj
;
7862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7863 PyObject
* obj0
= 0 ;
7865 (char *) "self", NULL
7868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
7869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 (arg1
)->SetInsertionPointEnd();
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= PyInt_FromLong((long)result
);
7909 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7913 PyObject
* obj0
= 0 ;
7915 (char *) "self", NULL
7918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
7919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= PyInt_FromLong((long)result
);
7934 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7941 (char *) "self",(char *) "from",(char *) "to", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 (arg1
)->SetSelection(arg2
,arg3
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 (arg1
)->SelectAll();
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7977 Py_INCREF(Py_None
); resultobj
= Py_None
;
7984 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7989 PyObject
* obj1
= 0 ;
7991 (char *) "self",(char *) "editable", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7996 arg2
= PyInt_AsLong(obj1
) ? true : false;
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 (arg1
)->SetEditable(arg2
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 Py_INCREF(Py_None
); resultobj
= Py_None
;
8012 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8015 bool arg2
= (bool) True
;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8020 (char *) "self",(char *) "show", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8026 arg2
= PyInt_AsLong(obj1
) ? true : false;
8027 if (PyErr_Occurred()) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= PyInt_FromLong((long)result
);
8043 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (bool)(arg1
)->HideNativeCaret();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= PyInt_FromLong((long)result
);
8068 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8071 wxString
*arg2
= 0 ;
8072 bool temp2
= False
;
8073 PyObject
* obj0
= 0 ;
8074 PyObject
* obj1
= 0 ;
8076 (char *) "self",(char *) "text", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8082 arg2
= wxString_in_helper(obj1
);
8083 if (arg2
== NULL
) SWIG_fail
;
8087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8088 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
8090 wxPyEndAllowThreads(__tstate
);
8091 if (PyErr_Occurred()) SWIG_fail
;
8093 Py_INCREF(Py_None
); resultobj
= Py_None
;
8108 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8109 PyObject
*resultobj
;
8110 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self",(char *) "from",(char *) "to", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:TextCtrl_GetString",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8130 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8132 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8141 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
8143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8144 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
8146 return Py_BuildValue((char *)"");
8148 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8151 wxMouseEvent
*arg2
= 0 ;
8154 wxTextUrlEvent
*result
;
8155 PyObject
* obj1
= 0 ;
8157 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iOll:new_TextUrlEvent",kwnames
,&arg1
,&obj1
,&arg3
,&arg4
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8163 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
8179 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8182 wxMouseEvent
*result
;
8183 PyObject
* obj0
= 0 ;
8185 (char *) "self", NULL
8188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
8189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
8194 result
= (wxMouseEvent
*) &_result_ref
;
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
8207 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8208 PyObject
*resultobj
;
8209 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8213 (char *) "self", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 resultobj
= PyInt_FromLong((long)result
);
8232 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8245 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
8247 wxPyEndAllowThreads(__tstate
);
8248 if (PyErr_Occurred()) SWIG_fail
;
8250 resultobj
= PyInt_FromLong((long)result
);
8257 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8260 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
8262 return Py_BuildValue((char *)"");
8264 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
8265 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
8270 static PyObject
*_wrap_ScrollBarNameStr_get() {
8275 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8277 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
8284 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxWindow
*arg1
= (wxWindow
*) 0 ;
8287 int arg2
= (int) -1 ;
8288 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8289 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8290 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8291 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8292 long arg5
= (long) wxSB_HORIZONTAL
;
8293 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
8294 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
8295 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
8296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8297 wxScrollBar
*result
;
8300 bool temp7
= False
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj2
= 0 ;
8303 PyObject
* obj3
= 0 ;
8304 PyObject
* obj5
= 0 ;
8305 PyObject
* obj6
= 0 ;
8307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ScrollBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
8311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8321 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8325 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8332 arg7
= wxString_in_helper(obj6
);
8333 if (arg7
== NULL
) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8359 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxScrollBar
*result
;
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (wxScrollBar
*)new wxScrollBar();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
8381 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8384 wxWindow
*arg2
= (wxWindow
*) 0 ;
8385 int arg3
= (int) -1 ;
8386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8390 long arg6
= (long) wxSB_HORIZONTAL
;
8391 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8392 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8393 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
8394 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8398 bool temp8
= False
;
8399 PyObject
* obj0
= 0 ;
8400 PyObject
* obj1
= 0 ;
8401 PyObject
* obj3
= 0 ;
8402 PyObject
* obj4
= 0 ;
8403 PyObject
* obj6
= 0 ;
8404 PyObject
* obj7
= 0 ;
8406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8411 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8415 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8421 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8425 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8427 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8432 arg8
= wxString_in_helper(obj7
);
8433 if (arg8
== NULL
) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 resultobj
= PyInt_FromLong((long)result
);
8459 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
8474 wxPyEndAllowThreads(__tstate
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= PyInt_FromLong((long)result
);
8484 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8488 PyObject
* obj0
= 0 ;
8490 (char *) "self", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
8494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8502 resultobj
= PyInt_FromLong((long)result
);
8509 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8513 PyObject
* obj0
= 0 ;
8515 (char *) "self", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
8519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8522 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 resultobj
= PyInt_FromLong((long)result
);
8534 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8538 PyObject
* obj0
= 0 ;
8540 (char *) "self", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
8544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyInt_FromLong((long)result
);
8559 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
*resultobj
;
8561 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8563 PyObject
* obj0
= 0 ;
8565 (char *) "self", NULL
8568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
8569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= PyInt_FromLong((long)result
);
8584 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8588 PyObject
* obj0
= 0 ;
8590 (char *) "self",(char *) "viewStart", NULL
8593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
8594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 (arg1
)->SetThumbPosition(arg2
);
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8602 Py_INCREF(Py_None
); resultobj
= Py_None
;
8609 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8610 PyObject
*resultobj
;
8611 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
8616 bool arg6
= (bool) True
;
8617 PyObject
* obj0
= 0 ;
8618 PyObject
* obj5
= 0 ;
8620 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
8624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8626 arg6
= PyInt_AsLong(obj5
) ? true : false;
8627 if (PyErr_Occurred()) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 Py_INCREF(Py_None
); resultobj
= Py_None
;
8643 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
8645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8646 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
8648 return Py_BuildValue((char *)"");
8650 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
8651 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
8656 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
8661 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8663 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
8670 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
8671 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
8676 static PyObject
*_wrap_SpinCtrlNameStr_get() {
8681 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8683 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
8690 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxWindow
*arg1
= (wxWindow
*) 0 ;
8693 int arg2
= (int) -1 ;
8694 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8695 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8696 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8697 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8698 long arg5
= (long) wxSP_HORIZONTAL
;
8699 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
8700 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8701 wxSpinButton
*result
;
8704 bool temp6
= False
;
8705 PyObject
* obj0
= 0 ;
8706 PyObject
* obj2
= 0 ;
8707 PyObject
* obj3
= 0 ;
8708 PyObject
* obj5
= 0 ;
8710 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlO:new_SpinButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8718 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8724 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8729 arg6
= wxString_in_helper(obj5
);
8730 if (arg6
== NULL
) SWIG_fail
;
8735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8736 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8756 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxSpinButton
*result
;
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (wxSpinButton
*)new wxSpinButton();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
8778 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8781 wxWindow
*arg2
= (wxWindow
*) 0 ;
8782 int arg3
= (int) -1 ;
8783 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8784 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8785 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8786 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8787 long arg6
= (long) wxSP_HORIZONTAL
;
8788 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
8789 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8793 bool temp7
= False
;
8794 PyObject
* obj0
= 0 ;
8795 PyObject
* obj1
= 0 ;
8796 PyObject
* obj3
= 0 ;
8797 PyObject
* obj4
= 0 ;
8798 PyObject
* obj6
= 0 ;
8800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8820 arg7
= wxString_in_helper(obj6
);
8821 if (arg7
== NULL
) SWIG_fail
;
8826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8832 resultobj
= PyInt_FromLong((long)result
);
8847 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
8862 wxPyEndAllowThreads(__tstate
);
8863 if (PyErr_Occurred()) SWIG_fail
;
8865 resultobj
= PyInt_FromLong((long)result
);
8872 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8873 PyObject
*resultobj
;
8874 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8876 PyObject
* obj0
= 0 ;
8878 (char *) "self", NULL
8881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
8882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
8887 wxPyEndAllowThreads(__tstate
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 resultobj
= PyInt_FromLong((long)result
);
8897 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8898 PyObject
*resultobj
;
8899 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8910 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
8912 wxPyEndAllowThreads(__tstate
);
8913 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= PyInt_FromLong((long)result
);
8922 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self",(char *) "val", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->SetValue(arg2
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8951 PyObject
* obj0
= 0 ;
8953 (char *) "self",(char *) "minVal", NULL
8956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
8957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetMin(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
8976 PyObject
* obj0
= 0 ;
8978 (char *) "self",(char *) "maxVal", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinButton_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8985 (arg1
)->SetMax(arg2
);
8987 wxPyEndAllowThreads(__tstate
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8990 Py_INCREF(Py_None
); resultobj
= Py_None
;
8997 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinButton_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 (arg1
)->SetRange(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 Py_INCREF(Py_None
); resultobj
= Py_None
;
9023 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9029 (char *) "self", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= PyInt_FromLong((long)result
);
9048 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
9050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9051 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
9053 return Py_BuildValue((char *)"");
9055 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxWindow
*arg1
= (wxWindow
*) 0 ;
9058 int arg2
= (int) -1 ;
9059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
9060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
9061 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9062 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9063 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9064 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9065 long arg6
= (long) wxSP_ARROW_KEYS
;
9066 int arg7
= (int) 0 ;
9067 int arg8
= (int) 100 ;
9068 int arg9
= (int) 0 ;
9069 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
9070 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
9072 bool temp3
= False
;
9075 bool temp10
= False
;
9076 PyObject
* obj0
= 0 ;
9077 PyObject
* obj2
= 0 ;
9078 PyObject
* obj3
= 0 ;
9079 PyObject
* obj4
= 0 ;
9080 PyObject
* obj9
= 0 ;
9082 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&arg7
,&arg8
,&arg9
,&obj9
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9089 arg3
= wxString_in_helper(obj2
);
9090 if (arg3
== NULL
) SWIG_fail
;
9097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9108 arg10
= wxString_in_helper(obj9
);
9109 if (arg10
== NULL
) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9143 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= (wxSpinCtrl
*)new wxSpinCtrl();
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
9165 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9168 wxWindow
*arg2
= (wxWindow
*) 0 ;
9169 int arg3
= (int) -1 ;
9170 wxString
const &arg4_defvalue
= wxPyEmptyString
;
9171 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
9172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9176 long arg7
= (long) wxSP_ARROW_KEYS
;
9177 int arg8
= (int) 0 ;
9178 int arg9
= (int) 100 ;
9179 int arg10
= (int) 0 ;
9180 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
9181 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9183 bool temp4
= False
;
9186 bool temp11
= False
;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 PyObject
* obj3
= 0 ;
9190 PyObject
* obj4
= 0 ;
9191 PyObject
* obj5
= 0 ;
9192 PyObject
* obj10
= 0 ;
9194 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&arg8
,&arg9
,&arg10
,&obj10
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9202 arg4
= wxString_in_helper(obj3
);
9203 if (arg4
== NULL
) SWIG_fail
;
9210 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9216 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9221 arg11
= wxString_in_helper(obj10
);
9222 if (arg11
== NULL
) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
9230 wxPyEndAllowThreads(__tstate
);
9231 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= PyInt_FromLong((long)result
);
9256 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9262 (char *) "self", NULL
9265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
9266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 resultobj
= PyInt_FromLong((long)result
);
9281 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9282 PyObject
*resultobj
;
9283 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9287 (char *) "self",(char *) "value", NULL
9290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinCtrl_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
9291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 (arg1
)->SetValue(arg2
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 Py_INCREF(Py_None
); resultobj
= Py_None
;
9306 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9309 wxString
*arg2
= 0 ;
9310 bool temp2
= False
;
9311 PyObject
* obj0
= 0 ;
9312 PyObject
* obj1
= 0 ;
9314 (char *) "self",(char *) "text", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
9318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9320 arg2
= wxString_in_helper(obj1
);
9321 if (arg2
== NULL
) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 (arg1
)->SetValue((wxString
const &)*arg2
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9353 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SpinCtrl_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->SetRange(arg2
,arg3
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9376 PyObject
* obj0
= 0 ;
9378 (char *) "self", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9390 resultobj
= PyInt_FromLong((long)result
);
9397 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9401 PyObject
* obj0
= 0 ;
9403 (char *) "self", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
9407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9410 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= PyInt_FromLong((long)result
);
9422 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9429 (char *) "self",(char *) "from",(char *) "to", NULL
9432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:SpinCtrl_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
9433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9436 (arg1
)->SetSelection(arg2
,arg3
);
9438 wxPyEndAllowThreads(__tstate
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9441 Py_INCREF(Py_None
); resultobj
= Py_None
;
9448 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9451 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
9453 return Py_BuildValue((char *)"");
9455 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9458 int arg2
= (int) 0 ;
9459 wxSpinEvent
*result
;
9461 (char *) "commandType",(char *) "winid", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SpinEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
9479 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
;
9481 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9483 PyObject
* obj0
= 0 ;
9485 (char *) "self", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) SWIG_fail
;
9497 resultobj
= PyInt_FromLong((long)result
);
9504 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9505 PyObject
*resultobj
;
9506 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9510 (char *) "self",(char *) "pos", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SpinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetPosition(arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9532 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
9534 return Py_BuildValue((char *)"");
9536 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
9537 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
9542 static PyObject
*_wrap_RadioBoxNameStr_get() {
9547 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9549 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
9556 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
9557 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
9562 static PyObject
*_wrap_RadioButtonNameStr_get() {
9567 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9569 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
9576 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxWindow
*arg1
= (wxWindow
*) 0 ;
9580 wxString
*arg3
= 0 ;
9581 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9582 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9583 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9584 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9585 int arg6
= (int) 0 ;
9586 wxString
*arg7
= (wxString
*) NULL
;
9587 int arg8
= (int) 0 ;
9588 long arg9
= (long) wxRA_HORIZONTAL
;
9589 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
9590 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
9591 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
9592 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
9594 bool temp3
= False
;
9597 bool temp10
= False
;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj2
= 0 ;
9600 PyObject
* obj3
= 0 ;
9601 PyObject
* obj4
= 0 ;
9602 PyObject
* obj5
= 0 ;
9603 PyObject
* obj8
= 0 ;
9604 PyObject
* obj9
= 0 ;
9606 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOOilOO:new_RadioBox",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&obj5
,&arg8
,&arg9
,&obj8
,&obj9
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9612 arg3
= wxString_in_helper(obj2
);
9613 if (arg3
== NULL
) SWIG_fail
;
9619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9630 arg6
= PyList_Size(obj5
);
9631 arg7
= wxString_LIST_helper(obj5
);
9632 if (arg7
== NULL
) SWIG_fail
;
9636 if ((SWIG_ConvertPtr(obj8
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9637 if (arg10
== NULL
) {
9638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9643 arg11
= wxString_in_helper(obj9
);
9644 if (arg11
== NULL
) SWIG_fail
;
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 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
);
9652 wxPyEndAllowThreads(__tstate
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9661 if (arg7
) delete [] arg7
;
9674 if (arg7
) delete [] arg7
;
9684 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (wxRadioBox
*)new wxRadioBox();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
9706 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9708 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9709 wxWindow
*arg2
= (wxWindow
*) 0 ;
9711 wxString
*arg4
= 0 ;
9712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
9713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
9714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
9715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
9716 int arg7
= (int) 0 ;
9717 wxString
*arg8
= (wxString
*) NULL
;
9718 int arg9
= (int) 0 ;
9719 long arg10
= (long) wxRA_HORIZONTAL
;
9720 wxValidator
const &arg11_defvalue
= wxDefaultValidator
;
9721 wxValidator
*arg11
= (wxValidator
*) &arg11_defvalue
;
9722 wxString
const &arg12_defvalue
= wxPyRadioBoxNameStr
;
9723 wxString
*arg12
= (wxString
*) &arg12_defvalue
;
9725 bool temp4
= False
;
9728 bool temp11
= False
;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj3
= 0 ;
9732 PyObject
* obj4
= 0 ;
9733 PyObject
* obj5
= 0 ;
9734 PyObject
* obj6
= 0 ;
9735 PyObject
* obj9
= 0 ;
9736 PyObject
* obj10
= 0 ;
9738 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
,&arg9
,&arg10
,&obj9
,&obj10
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9745 arg4
= wxString_in_helper(obj3
);
9746 if (arg4
== NULL
) SWIG_fail
;
9752 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
9758 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
9763 arg7
= PyList_Size(obj6
);
9764 arg8
= wxString_LIST_helper(obj6
);
9765 if (arg8
== NULL
) SWIG_fail
;
9769 if ((SWIG_ConvertPtr(obj9
,(void **) &arg11
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9770 if (arg11
== NULL
) {
9771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9776 arg12
= wxString_in_helper(obj10
);
9777 if (arg12
== NULL
) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 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
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9788 resultobj
= PyInt_FromLong((long)result
);
9794 if (arg8
) delete [] arg8
;
9807 if (arg8
) delete [] arg8
;
9817 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self",(char *) "n", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_SetSelection",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 (arg1
)->SetSelection(arg2
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 Py_INCREF(Py_None
); resultobj
= Py_None
;
9842 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9855 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
9857 wxPyEndAllowThreads(__tstate
);
9858 if (PyErr_Occurred()) SWIG_fail
;
9860 resultobj
= PyInt_FromLong((long)result
);
9867 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9868 PyObject
*resultobj
;
9869 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9871 PyObject
* obj0
= 0 ;
9873 (char *) "self", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9898 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9899 PyObject
*resultobj
;
9900 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9901 wxString
*arg2
= 0 ;
9903 bool temp2
= False
;
9904 PyObject
* obj0
= 0 ;
9905 PyObject
* obj1
= 0 ;
9907 (char *) "self",(char *) "s", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9913 arg2
= wxString_in_helper(obj1
);
9914 if (arg2
== NULL
) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= PyInt_FromLong((long)result
);
9939 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "self", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= PyInt_FromLong((long)result
);
9964 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
9967 wxString
*arg2
= 0 ;
9969 bool temp2
= False
;
9970 PyObject
* obj0
= 0 ;
9971 PyObject
* obj1
= 0 ;
9973 (char *) "self",(char *) "s", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9979 arg2
= wxString_in_helper(obj1
);
9980 if (arg2
== NULL
) SWIG_fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= PyInt_FromLong((long)result
);
10005 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "n", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:RadioBox_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10037 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10041 wxString
*arg3
= 0 ;
10042 bool temp3
= False
;
10043 PyObject
* obj0
= 0 ;
10044 PyObject
* obj2
= 0 ;
10045 char *kwnames
[] = {
10046 (char *) "self",(char *) "n",(char *) "label", NULL
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:RadioBox_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10052 arg3
= wxString_in_helper(obj2
);
10053 if (arg3
== NULL
) SWIG_fail
;
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
10060 wxPyEndAllowThreads(__tstate
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10063 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10082 bool arg3
= (bool) True
;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj2
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "n",(char *) "enable", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_EnableItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10092 arg3
= PyInt_AsLong(obj2
) ? true : false;
10093 if (PyErr_Occurred()) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->Enable(arg2
,arg3
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10113 bool arg3
= (bool) True
;
10114 PyObject
* obj0
= 0 ;
10115 PyObject
* obj2
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self",(char *) "n",(char *) "show", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:RadioBox_ShowItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10123 arg3
= PyInt_AsLong(obj2
) ? true : false;
10124 if (PyErr_Occurred()) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 (arg1
)->Show(arg2
,arg3
);
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 Py_INCREF(Py_None
); resultobj
= Py_None
;
10140 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= PyInt_FromLong((long)result
);
10165 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10178 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
10180 wxPyEndAllowThreads(__tstate
);
10181 if (PyErr_Occurred()) SWIG_fail
;
10183 resultobj
= PyInt_FromLong((long)result
);
10190 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiil:RadioBox_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 resultobj
= PyInt_FromLong((long)result
);
10218 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
10220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10221 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
10223 return Py_BuildValue((char *)"");
10225 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxWindow
*arg1
= (wxWindow
*) 0 ;
10229 wxString
*arg3
= 0 ;
10230 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10231 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10232 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10233 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10234 long arg6
= (long) 0 ;
10235 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10236 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10237 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
10238 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10239 wxRadioButton
*result
;
10240 bool temp3
= False
;
10243 bool temp8
= False
;
10244 PyObject
* obj0
= 0 ;
10245 PyObject
* obj2
= 0 ;
10246 PyObject
* obj3
= 0 ;
10247 PyObject
* obj4
= 0 ;
10248 PyObject
* obj6
= 0 ;
10249 PyObject
* obj7
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_RadioButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10257 arg3
= wxString_in_helper(obj2
);
10258 if (arg3
== NULL
) SWIG_fail
;
10264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10274 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 if (arg7
== NULL
) {
10276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10281 arg8
= wxString_in_helper(obj7
);
10282 if (arg8
== NULL
) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10316 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxRadioButton
*result
;
10319 char *kwnames
[] = {
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (wxRadioButton
*)new wxRadioButton();
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
10338 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10341 wxWindow
*arg2
= (wxWindow
*) 0 ;
10343 wxString
*arg4
= 0 ;
10344 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10345 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10346 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10347 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10348 long arg7
= (long) 0 ;
10349 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10350 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10351 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
10352 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10354 bool temp4
= False
;
10357 bool temp9
= False
;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 PyObject
* obj3
= 0 ;
10361 PyObject
* obj4
= 0 ;
10362 PyObject
* obj5
= 0 ;
10363 PyObject
* obj7
= 0 ;
10364 PyObject
* obj8
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10373 arg4
= wxString_in_helper(obj3
);
10374 if (arg4
== NULL
) SWIG_fail
;
10380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10386 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10390 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 if (arg8
== NULL
) {
10392 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10397 arg9
= wxString_in_helper(obj8
);
10398 if (arg9
== NULL
) SWIG_fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= PyInt_FromLong((long)result
);
10432 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
;
10434 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 result
= (bool)(arg1
)->GetValue();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= PyInt_FromLong((long)result
);
10457 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
;
10459 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
10461 PyObject
* obj0
= 0 ;
10462 PyObject
* obj1
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self",(char *) "value", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10469 arg2
= PyInt_AsLong(obj1
) ? true : false;
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 (arg1
)->SetValue(arg2
);
10475 wxPyEndAllowThreads(__tstate
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10478 Py_INCREF(Py_None
); resultobj
= Py_None
;
10485 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
10487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10488 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
10490 return Py_BuildValue((char *)"");
10492 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
10493 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
10498 static PyObject
*_wrap_SliderNameStr_get() {
10503 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10505 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
10512 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10513 PyObject
*resultobj
;
10514 wxWindow
*arg1
= (wxWindow
*) 0 ;
10519 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
10520 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
10521 wxSize
const &arg7_defvalue
= wxDefaultSize
;
10522 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
10523 long arg8
= (long) wxSL_HORIZONTAL
;
10524 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10525 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10526 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
10527 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10531 bool temp10
= False
;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj5
= 0 ;
10534 PyObject
* obj6
= 0 ;
10535 PyObject
* obj8
= 0 ;
10536 PyObject
* obj9
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|OOlOO:new_Slider",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
,&obj6
,&arg8
,&obj8
,&obj9
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10546 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
10552 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
10556 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10557 if (arg9
== NULL
) {
10558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10563 arg10
= wxString_in_helper(obj9
);
10564 if (arg10
== NULL
) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10590 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10593 char *kwnames
[] = {
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= (wxSlider
*)new wxSlider();
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
10612 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10613 PyObject
*resultobj
;
10614 wxSlider
*arg1
= (wxSlider
*) 0 ;
10615 wxWindow
*arg2
= (wxWindow
*) 0 ;
10620 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
10621 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
10622 wxSize
const &arg8_defvalue
= wxDefaultSize
;
10623 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
10624 long arg9
= (long) wxSL_HORIZONTAL
;
10625 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10626 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10627 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
10628 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10632 bool temp11
= False
;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj6
= 0 ;
10636 PyObject
* obj7
= 0 ;
10637 PyObject
* obj9
= 0 ;
10638 PyObject
* obj10
= 0 ;
10639 char *kwnames
[] = {
10640 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiiii|OOlOO:Slider_Create",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
,&arg9
,&obj9
,&obj10
)) goto fail
;
10644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10649 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
10655 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
10659 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10660 if (arg10
== NULL
) {
10661 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10666 arg11
= wxString_in_helper(obj10
);
10667 if (arg11
== NULL
) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 resultobj
= PyInt_FromLong((long)result
);
10693 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxSlider
*arg1
= (wxSlider
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10706 result
= (int)((wxSlider
const *)arg1
)->GetValue();
10708 wxPyEndAllowThreads(__tstate
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 resultobj
= PyInt_FromLong((long)result
);
10718 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10719 PyObject
*resultobj
;
10720 wxSlider
*arg1
= (wxSlider
*) 0 ;
10722 PyObject
* obj0
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "value", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 (arg1
)->SetValue(arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 Py_INCREF(Py_None
); resultobj
= Py_None
;
10743 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxSlider
*arg1
= (wxSlider
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetRange",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->SetRange(arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10769 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxSlider
*arg1
= (wxSlider
*) 0 ;
10773 PyObject
* obj0
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)((wxSlider
const *)arg1
)->GetMin();
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 resultobj
= PyInt_FromLong((long)result
);
10794 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxSlider
*arg1
= (wxSlider
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 char *kwnames
[] = {
10800 (char *) "self", NULL
10803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
10804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (int)((wxSlider
const *)arg1
)->GetMax();
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= PyInt_FromLong((long)result
);
10819 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxSlider
*arg1
= (wxSlider
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "minValue", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMin",kwnames
,&obj0
,&arg2
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 (arg1
)->SetMin(arg2
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 Py_INCREF(Py_None
); resultobj
= Py_None
;
10844 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxSlider
*arg1
= (wxSlider
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "maxValue", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetMax",kwnames
,&obj0
,&arg2
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 (arg1
)->SetMax(arg2
);
10859 wxPyEndAllowThreads(__tstate
);
10860 if (PyErr_Occurred()) SWIG_fail
;
10862 Py_INCREF(Py_None
); resultobj
= Py_None
;
10869 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10870 PyObject
*resultobj
;
10871 wxSlider
*arg1
= (wxSlider
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "self",(char *) "lineSize", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetLineSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 (arg1
)->SetLineSize(arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 Py_INCREF(Py_None
); resultobj
= Py_None
;
10894 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxSlider
*arg1
= (wxSlider
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self",(char *) "pageSize", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetPageSize",kwnames
,&obj0
,&arg2
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 (arg1
)->SetPageSize(arg2
);
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 Py_INCREF(Py_None
); resultobj
= Py_None
;
10919 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxSlider
*arg1
= (wxSlider
*) 0 ;
10923 PyObject
* obj0
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10932 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
10934 wxPyEndAllowThreads(__tstate
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10937 resultobj
= PyInt_FromLong((long)result
);
10944 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxSlider
*arg1
= (wxSlider
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
10959 wxPyEndAllowThreads(__tstate
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= PyInt_FromLong((long)result
);
10969 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10970 PyObject
*resultobj
;
10971 wxSlider
*arg1
= (wxSlider
*) 0 ;
10973 PyObject
* obj0
= 0 ;
10974 char *kwnames
[] = {
10975 (char *) "self",(char *) "lenPixels", NULL
10978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetThumbLength",kwnames
,&obj0
,&arg2
)) goto fail
;
10979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10982 (arg1
)->SetThumbLength(arg2
);
10984 wxPyEndAllowThreads(__tstate
);
10985 if (PyErr_Occurred()) SWIG_fail
;
10987 Py_INCREF(Py_None
); resultobj
= Py_None
;
10994 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10995 PyObject
*resultobj
;
10996 wxSlider
*arg1
= (wxSlider
*) 0 ;
10998 PyObject
* obj0
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11007 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
11009 wxPyEndAllowThreads(__tstate
);
11010 if (PyErr_Occurred()) SWIG_fail
;
11012 resultobj
= PyInt_FromLong((long)result
);
11019 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxSlider
*arg1
= (wxSlider
*) 0 ;
11024 PyObject
* obj0
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "n",(char *) "pos", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetTickFreq",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetTickFreq(arg2
,arg3
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxSlider
*arg1
= (wxSlider
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= PyInt_FromLong((long)result
);
11070 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11071 PyObject
*resultobj
;
11072 wxSlider
*arg1
= (wxSlider
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->ClearTicks();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxSlider
*arg1
= (wxSlider
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self",(char *) "tickPos", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Slider_SetTick",kwnames
,&obj0
,&arg2
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 (arg1
)->SetTick(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 Py_INCREF(Py_None
); resultobj
= Py_None
;
11119 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxSlider
*arg1
= (wxSlider
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->ClearSel();
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxSlider
*arg1
= (wxSlider
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 char *kwnames
[] = {
11149 (char *) "self", NULL
11152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
11153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= PyInt_FromLong((long)result
);
11168 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxSlider
*arg1
= (wxSlider
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 char *kwnames
[] = {
11174 (char *) "self", NULL
11177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
11178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
11183 wxPyEndAllowThreads(__tstate
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11186 resultobj
= PyInt_FromLong((long)result
);
11193 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxSlider
*arg1
= (wxSlider
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self",(char *) "min",(char *) "max", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Slider_SetSelection",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetSelection(arg2
,arg3
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
11221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11222 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
11224 return Py_BuildValue((char *)"");
11226 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
11227 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
11232 static PyObject
*_wrap_ToggleButtonNameStr_get() {
11237 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11239 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
11246 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxWindow
*arg1
= (wxWindow
*) 0 ;
11250 wxString
*arg3
= 0 ;
11251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11255 long arg6
= (long) 0 ;
11256 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11257 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11258 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
11259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11260 wxToggleButton
*result
;
11261 bool temp3
= False
;
11264 bool temp8
= False
;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj2
= 0 ;
11267 PyObject
* obj3
= 0 ;
11268 PyObject
* obj4
= 0 ;
11269 PyObject
* obj6
= 0 ;
11270 PyObject
* obj7
= 0 ;
11271 char *kwnames
[] = {
11272 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|OOlOO:new_ToggleButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
11276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11278 arg3
= wxString_in_helper(obj2
);
11279 if (arg3
== NULL
) SWIG_fail
;
11285 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11291 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11295 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11296 if (arg7
== NULL
) {
11297 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11302 arg8
= wxString_in_helper(obj7
);
11303 if (arg8
== NULL
) SWIG_fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11337 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxToggleButton
*result
;
11340 char *kwnames
[] = {
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (wxToggleButton
*)new wxToggleButton();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
11359 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11362 wxWindow
*arg2
= (wxWindow
*) 0 ;
11364 wxString
*arg4
= 0 ;
11365 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11366 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11367 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11368 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11369 long arg7
= (long) 0 ;
11370 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11371 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11372 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
11373 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11375 bool temp4
= False
;
11378 bool temp9
= False
;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 PyObject
* obj3
= 0 ;
11382 PyObject
* obj4
= 0 ;
11383 PyObject
* obj5
= 0 ;
11384 PyObject
* obj7
= 0 ;
11385 PyObject
* obj8
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11394 arg4
= wxString_in_helper(obj3
);
11395 if (arg4
== NULL
) SWIG_fail
;
11401 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11407 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11411 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 if (arg8
== NULL
) {
11413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11418 arg9
= wxString_in_helper(obj8
);
11419 if (arg9
== NULL
) SWIG_fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= PyInt_FromLong((long)result
);
11453 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self",(char *) "value", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11465 arg2
= PyInt_AsLong(obj1
) ? true : false;
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 (arg1
)->SetValue(arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 Py_INCREF(Py_None
); resultobj
= Py_None
;
11481 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= PyInt_FromLong((long)result
);
11506 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
11509 wxString
*arg2
= 0 ;
11510 bool temp2
= False
;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 char *kwnames
[] = {
11514 (char *) "self",(char *) "label", NULL
11517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
11518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToggleButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11520 arg2
= wxString_in_helper(obj1
);
11521 if (arg2
== NULL
) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 (arg1
)->SetLabel((wxString
const &)*arg2
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 Py_INCREF(Py_None
); resultobj
= Py_None
;
11546 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
11548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
11551 return Py_BuildValue((char *)"");
11553 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
11554 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
11559 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
11564 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11566 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
11573 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11574 PyObject
*resultobj
;
11575 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11577 PyObject
* obj0
= 0 ;
11578 char *kwnames
[] = {
11579 (char *) "self", NULL
11582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
11583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11586 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
11588 wxPyEndAllowThreads(__tstate
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyInt_FromLong((long)result
);
11598 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11599 PyObject
*resultobj
;
11600 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "n", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11611 arg2
= (size_t) PyInt_AsLong(obj1
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11621 resultobj
= wxPyMake_wxObject(result
);
11629 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11630 PyObject
*resultobj
;
11631 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11633 PyObject
* obj0
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= PyInt_FromLong((long)result
);
11654 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11658 wxString
*arg3
= 0 ;
11660 bool temp3
= False
;
11661 PyObject
* obj0
= 0 ;
11662 PyObject
* obj1
= 0 ;
11663 PyObject
* obj2
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self",(char *) "n",(char *) "strText", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11670 arg2
= (size_t) PyInt_AsLong(obj1
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 arg3
= wxString_in_helper(obj2
);
11674 if (arg3
== NULL
) SWIG_fail
;
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= PyInt_FromLong((long)result
);
11699 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11704 PyObject
* obj0
= 0 ;
11705 PyObject
* obj1
= 0 ;
11706 char *kwnames
[] = {
11707 (char *) "self",(char *) "n", NULL
11710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
11711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11712 arg2
= (size_t) PyInt_AsLong(obj1
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11734 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11735 PyObject
*resultobj
;
11736 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11737 wxImageList
*arg2
= (wxImageList
*) 0 ;
11738 PyObject
* obj0
= 0 ;
11739 PyObject
* obj1
= 0 ;
11740 char *kwnames
[] = {
11741 (char *) "self",(char *) "imageList", NULL
11744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 (arg1
)->SetImageList(arg2
);
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11764 wxImageList
*arg2
= (wxImageList
*) 0 ;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "self",(char *) "imageList", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
11772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11776 (arg1
)->AssignImageList(arg2
);
11778 wxPyEndAllowThreads(__tstate
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11781 Py_INCREF(Py_None
); resultobj
= Py_None
;
11788 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11791 wxImageList
*result
;
11792 PyObject
* obj0
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11801 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11807 resultobj
= wxPyMake_wxObject(result
);
11815 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "n", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11828 arg2
= (size_t) PyInt_AsLong(obj1
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= PyInt_FromLong((long)result
);
11844 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11850 PyObject
* obj0
= 0 ;
11851 PyObject
* obj1
= 0 ;
11852 char *kwnames
[] = {
11853 (char *) "self",(char *) "n",(char *) "imageId", NULL
11856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11858 arg2
= (size_t) PyInt_AsLong(obj1
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= PyInt_FromLong((long)result
);
11874 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 PyObject
* obj1
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self",(char *) "size", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 Py_INCREF(Py_None
); resultobj
= Py_None
;
11905 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11906 PyObject
*resultobj
;
11907 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11911 PyObject
* obj0
= 0 ;
11912 PyObject
* obj1
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self",(char *) "sizePage", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11921 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11931 wxSize
* resultptr
;
11932 resultptr
= new wxSize((wxSize
&) result
);
11933 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
11941 static PyObject
*_wrap_BookCtrl_DeletePage(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_DeletePage",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
= (bool)(arg1
)->DeletePage(arg2
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= PyInt_FromLong((long)result
);
11970 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
11975 PyObject
* obj0
= 0 ;
11976 PyObject
* obj1
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "self",(char *) "n", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
11982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11983 arg2
= (size_t) PyInt_AsLong(obj1
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 result
= (bool)(arg1
)->RemovePage(arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 resultobj
= PyInt_FromLong((long)result
);
11999 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12012 result
= (bool)(arg1
)->DeleteAllPages();
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= PyInt_FromLong((long)result
);
12024 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
;
12026 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12027 wxWindow
*arg2
= (wxWindow
*) 0 ;
12028 wxString
*arg3
= 0 ;
12029 bool arg4
= (bool) False
;
12030 int arg5
= (int) -1 ;
12032 bool temp3
= False
;
12033 PyObject
* obj0
= 0 ;
12034 PyObject
* obj1
= 0 ;
12035 PyObject
* obj2
= 0 ;
12036 PyObject
* obj3
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 arg3
= wxString_in_helper(obj2
);
12046 if (arg3
== NULL
) SWIG_fail
;
12050 arg4
= PyInt_AsLong(obj3
) ? true : false;
12051 if (PyErr_Occurred()) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= PyInt_FromLong((long)result
);
12075 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12079 wxWindow
*arg3
= (wxWindow
*) 0 ;
12080 wxString
*arg4
= 0 ;
12081 bool arg5
= (bool) False
;
12082 int arg6
= (int) -1 ;
12084 bool temp4
= False
;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 PyObject
* obj2
= 0 ;
12088 PyObject
* obj3
= 0 ;
12089 PyObject
* obj4
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12096 arg2
= (size_t) PyInt_AsLong(obj1
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12098 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12100 arg4
= wxString_in_helper(obj3
);
12101 if (arg4
== NULL
) SWIG_fail
;
12105 arg5
= PyInt_AsLong(obj4
) ? true : false;
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= PyInt_FromLong((long)result
);
12130 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12131 PyObject
*resultobj
;
12132 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 PyObject
* obj1
= 0 ;
12137 char *kwnames
[] = {
12138 (char *) "self",(char *) "n", NULL
12141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12143 arg2
= (size_t) PyInt_AsLong(obj1
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12147 result
= (int)(arg1
)->SetSelection(arg2
);
12149 wxPyEndAllowThreads(__tstate
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= PyInt_FromLong((long)result
);
12159 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12160 PyObject
*resultobj
;
12161 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12162 bool arg2
= (bool) True
;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "forward", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 arg2
= PyInt_AsLong(obj1
) ? true : false;
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 (arg1
)->AdvanceSelection(arg2
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
12191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12192 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
12194 return Py_BuildValue((char *)"");
12196 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12199 int arg2
= (int) 0 ;
12200 int arg3
= (int) -1 ;
12201 int arg4
= (int) -1 ;
12202 wxBookCtrlEvent
*result
;
12203 char *kwnames
[] = {
12204 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_BookCtrlEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
12222 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12223 PyObject
*resultobj
;
12224 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12226 PyObject
* obj0
= 0 ;
12227 char *kwnames
[] = {
12228 (char *) "self", NULL
12231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 resultobj
= PyInt_FromLong((long)result
);
12247 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self",(char *) "nSel", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 (arg1
)->SetSelection(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 Py_INCREF(Py_None
); resultobj
= Py_None
;
12272 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12276 PyObject
* obj0
= 0 ;
12277 char *kwnames
[] = {
12278 (char *) "self", NULL
12281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
12282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= PyInt_FromLong((long)result
);
12297 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 char *kwnames
[] = {
12303 (char *) "self",(char *) "nOldSel", NULL
12306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&arg2
)) goto fail
;
12307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 (arg1
)->SetOldSelection(arg2
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 Py_INCREF(Py_None
); resultobj
= Py_None
;
12322 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12325 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
12327 return Py_BuildValue((char *)"");
12329 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxWindow
*arg1
= (wxWindow
*) 0 ;
12333 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12334 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12335 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12336 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12337 long arg5
= (long) 0 ;
12338 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
12339 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12340 wxNotebook
*result
;
12343 bool temp6
= False
;
12344 PyObject
* obj0
= 0 ;
12345 PyObject
* obj2
= 0 ;
12346 PyObject
* obj3
= 0 ;
12347 PyObject
* obj5
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Notebook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12357 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12363 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12368 arg6
= wxString_in_helper(obj5
);
12369 if (arg6
== NULL
) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 resultobj
= wxPyMake_wxObject(result
);
12397 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12398 PyObject
*resultobj
;
12399 wxNotebook
*result
;
12400 char *kwnames
[] = {
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
12406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12407 result
= (wxNotebook
*)new wxNotebook();
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= wxPyMake_wxObject(result
);
12421 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12422 PyObject
*resultobj
;
12423 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12424 wxWindow
*arg2
= (wxWindow
*) 0 ;
12426 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12427 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12428 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12429 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12430 long arg6
= (long) 0 ;
12431 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
12432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12436 bool temp7
= False
;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 PyObject
* obj3
= 0 ;
12440 PyObject
* obj4
= 0 ;
12441 PyObject
* obj6
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Notebook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12452 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12458 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12463 arg7
= wxString_in_helper(obj6
);
12464 if (arg7
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= PyInt_FromLong((long)result
);
12490 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 char *kwnames
[] = {
12496 (char *) "self", NULL
12499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
12500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12503 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 resultobj
= PyInt_FromLong((long)result
);
12515 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self",(char *) "padding", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12534 (arg1
)->SetPadding((wxSize
const &)*arg2
);
12536 wxPyEndAllowThreads(__tstate
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12539 Py_INCREF(Py_None
); resultobj
= Py_None
;
12546 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
;
12548 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12551 PyObject
* obj0
= 0 ;
12552 PyObject
* obj1
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self",(char *) "sz", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12561 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 Py_INCREF(Py_None
); resultobj
= Py_None
;
12577 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12580 wxPoint
*arg2
= 0 ;
12581 long *arg3
= (long *) 0 ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self",(char *) "pt", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12596 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= PyInt_FromLong((long)result
);
12607 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12608 resultobj
= t_output_helper(resultobj
,o
);
12616 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 PyObject
* obj1
= 0 ;
12624 char *kwnames
[] = {
12625 (char *) "self",(char *) "sizePage", NULL
12628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 wxSize
* resultptr
;
12643 resultptr
= new wxSize((wxSize
&) result
);
12644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
12652 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12653 PyObject
*resultobj
;
12654 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
12655 wxWindow
*arg2
= (wxWindow
*) 0 ;
12656 wxColour
*arg3
= 0 ;
12658 PyObject
* obj0
= 0 ;
12659 PyObject
* obj1
= 0 ;
12660 PyObject
* obj2
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self",(char *) "window",(char *) "colour", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12670 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 Py_INCREF(Py_None
); resultobj
= Py_None
;
12686 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
12688 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12689 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
12691 return Py_BuildValue((char *)"");
12693 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12696 int arg2
= (int) 0 ;
12697 int arg3
= (int) -1 ;
12698 int arg4
= (int) -1 ;
12699 wxNotebookEvent
*result
;
12700 char *kwnames
[] = {
12701 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_NotebookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
12719 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12722 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
12724 return Py_BuildValue((char *)"");
12726 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxWindow
*arg1
= (wxWindow
*) 0 ;
12730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12732 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12733 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12734 long arg5
= (long) 0 ;
12735 wxString
const &arg6_defvalue
= wxPyEmptyString
;
12736 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12737 wxListbook
*result
;
12740 bool temp6
= False
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj2
= 0 ;
12743 PyObject
* obj3
= 0 ;
12744 PyObject
* obj5
= 0 ;
12745 char *kwnames
[] = {
12746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Listbook",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
12750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12754 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12760 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12765 arg6
= wxString_in_helper(obj5
);
12766 if (arg6
== NULL
) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12792 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12793 PyObject
*resultobj
;
12794 wxListbook
*result
;
12795 char *kwnames
[] = {
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxListbook
*)new wxListbook();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
12814 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxListbook
*arg1
= (wxListbook
*) 0 ;
12817 wxWindow
*arg2
= (wxWindow
*) 0 ;
12819 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12820 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12821 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12822 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12823 long arg6
= (long) 0 ;
12824 wxString
const &arg7_defvalue
= wxPyEmptyString
;
12825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12829 bool temp7
= False
;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 PyObject
* obj3
= 0 ;
12833 PyObject
* obj4
= 0 ;
12834 PyObject
* obj6
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Listbook_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12845 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12851 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12856 arg7
= wxString_in_helper(obj6
);
12857 if (arg7
== NULL
) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= PyInt_FromLong((long)result
);
12883 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12884 PyObject
*resultobj
;
12885 wxListbook
*arg1
= (wxListbook
*) 0 ;
12887 PyObject
* obj0
= 0 ;
12888 char *kwnames
[] = {
12889 (char *) "self", NULL
12892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
12893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12896 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= PyInt_FromLong((long)result
);
12908 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
12910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12911 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
12913 return Py_BuildValue((char *)"");
12915 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
;
12917 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12918 int arg2
= (int) 0 ;
12919 int arg3
= (int) -1 ;
12920 int arg4
= (int) -1 ;
12921 wxListbookEvent
*result
;
12922 char *kwnames
[] = {
12923 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ListbookEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
12941 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12944 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
12946 return Py_BuildValue((char *)"");
12948 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12949 PyObject
*resultobj
;
12950 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12951 wxBookCtrlSizer
*result
;
12952 PyObject
* obj0
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "nb", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12961 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
12963 wxPyEndAllowThreads(__tstate
);
12964 if (PyErr_Occurred()) SWIG_fail
;
12966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
12973 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
;
12975 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 char *kwnames
[] = {
12978 (char *) "self", NULL
12981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
12982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->RecalcSizes();
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (arg1
)->CalcMin();
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13016 wxSize
* resultptr
;
13017 resultptr
= new wxSize((wxSize
&) result
);
13018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13026 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
13029 wxBookCtrl
*result
;
13030 PyObject
* obj0
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "self", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxBookCtrl
*)(arg1
)->GetControl();
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
13051 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13054 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
13056 return Py_BuildValue((char *)"");
13058 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13061 wxNotebookSizer
*result
;
13062 PyObject
* obj0
= 0 ;
13063 char *kwnames
[] = {
13064 (char *) "nb", NULL
13067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
13068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
13083 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->RecalcSizes();
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13107 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 char *kwnames
[] = {
13113 (char *) "self", NULL
13116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
13117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 result
= (arg1
)->CalcMin();
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 wxSize
* resultptr
;
13127 resultptr
= new wxSize((wxSize
&) result
);
13128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13136 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
13139 wxNotebook
*result
;
13140 PyObject
* obj0
= 0 ;
13141 char *kwnames
[] = {
13142 (char *) "self", NULL
13145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
13146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxNotebook
*)(arg1
)->GetNotebook();
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= wxPyMake_wxObject(result
);
13163 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
13165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13166 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
13168 return Py_BuildValue((char *)"");
13170 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (int)(arg1
)->GetId();
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= PyInt_FromLong((long)result
);
13195 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (wxControl
*)(arg1
)->GetControl();
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= wxPyMake_wxObject(result
);
13222 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13225 wxToolBarBase
*result
;
13226 PyObject
* obj0
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 resultobj
= wxPyMake_wxObject(result
);
13249 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 result
= (int)(arg1
)->IsButton();
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 resultobj
= PyInt_FromLong((long)result
);
13274 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (int)(arg1
)->IsControl();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= PyInt_FromLong((long)result
);
13299 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13312 result
= (int)(arg1
)->IsSeparator();
13314 wxPyEndAllowThreads(__tstate
);
13315 if (PyErr_Occurred()) SWIG_fail
;
13317 resultobj
= PyInt_FromLong((long)result
);
13324 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (int)(arg1
)->GetStyle();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= PyInt_FromLong((long)result
);
13349 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (int)(arg1
)->GetKind();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= PyInt_FromLong((long)result
);
13374 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 char *kwnames
[] = {
13380 (char *) "self", NULL
13383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
13384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (bool)(arg1
)->IsEnabled();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= PyInt_FromLong((long)result
);
13399 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 result
= (bool)(arg1
)->IsToggled();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= PyInt_FromLong((long)result
);
13424 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (bool)(arg1
)->CanBeToggled();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= PyInt_FromLong((long)result
);
13449 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
13464 result
= (wxBitmap
*) &_result_ref
;
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13477 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
13492 result
= (wxBitmap
*) &_result_ref
;
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
13505 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (arg1
)->GetBitmap();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13524 wxBitmap
* resultptr
;
13525 resultptr
= new wxBitmap((wxBitmap
&) result
);
13526 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13534 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13535 PyObject
*resultobj
;
13536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13538 PyObject
* obj0
= 0 ;
13539 char *kwnames
[] = {
13540 (char *) "self", NULL
13543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
13544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (arg1
)->GetLabel();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13565 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (arg1
)->GetShortHelp();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13596 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (arg1
)->GetLongHelp();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13627 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13628 PyObject
*resultobj
;
13629 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 char *kwnames
[] = {
13635 (char *) "self",(char *) "enable", NULL
13638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
13639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13640 arg2
= PyInt_AsLong(obj1
) ? true : false;
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13644 result
= (bool)(arg1
)->Enable(arg2
);
13646 wxPyEndAllowThreads(__tstate
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13649 resultobj
= PyInt_FromLong((long)result
);
13656 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13657 PyObject
*resultobj
;
13658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 Py_INCREF(Py_None
); resultobj
= Py_None
;
13680 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13685 PyObject
* obj0
= 0 ;
13686 PyObject
* obj1
= 0 ;
13687 char *kwnames
[] = {
13688 (char *) "self",(char *) "toggle", NULL
13691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
13692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13693 arg2
= PyInt_AsLong(obj1
) ? true : false;
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)(arg1
)->SetToggle(arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= PyInt_FromLong((long)result
);
13709 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13712 wxString
*arg2
= 0 ;
13714 bool temp2
= False
;
13715 PyObject
* obj0
= 0 ;
13716 PyObject
* obj1
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self",(char *) "help", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13724 arg2
= wxString_in_helper(obj1
);
13725 if (arg2
== NULL
) SWIG_fail
;
13729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13730 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
13732 wxPyEndAllowThreads(__tstate
);
13733 if (PyErr_Occurred()) SWIG_fail
;
13735 resultobj
= PyInt_FromLong((long)result
);
13750 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13753 wxString
*arg2
= 0 ;
13755 bool temp2
= False
;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "help", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13765 arg2
= wxString_in_helper(obj1
);
13766 if (arg2
== NULL
) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= PyInt_FromLong((long)result
);
13791 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
;
13793 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13794 wxBitmap
*arg2
= 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self",(char *) "bmp", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13804 if (arg2
== NULL
) {
13805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 Py_INCREF(Py_None
); resultobj
= Py_None
;
13821 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13824 wxBitmap
*arg2
= 0 ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self",(char *) "bmp", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13833 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 if (arg2
== NULL
) {
13835 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13839 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
13841 wxPyEndAllowThreads(__tstate
);
13842 if (PyErr_Occurred()) SWIG_fail
;
13844 Py_INCREF(Py_None
); resultobj
= Py_None
;
13851 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13852 PyObject
*resultobj
;
13853 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13854 wxString
*arg2
= 0 ;
13855 bool temp2
= False
;
13856 PyObject
* obj0
= 0 ;
13857 PyObject
* obj1
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self",(char *) "label", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13865 arg2
= wxString_in_helper(obj1
);
13866 if (arg2
== NULL
) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 (arg1
)->SetLabel((wxString
const &)*arg2
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 Py_INCREF(Py_None
); resultobj
= Py_None
;
13891 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
13900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 wxPyEndAllowThreads(__tstate
);
13906 if (PyErr_Occurred()) SWIG_fail
;
13908 Py_INCREF(Py_None
); resultobj
= Py_None
;
13915 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13916 PyObject
*resultobj
;
13917 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13918 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self",(char *) "tbar", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 (arg1
)->Attach(arg2
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 Py_INCREF(Py_None
); resultobj
= Py_None
;
13942 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
;
13944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
13957 wxPyEndAllowThreads(__tstate
);
13958 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
;
13967 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
13970 PyObject
*arg2
= (PyObject
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "clientData", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 wxToolBarToolBase_SetClientData(arg1
,arg2
);
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 Py_INCREF(Py_None
); resultobj
= Py_None
;
13994 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
13996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13997 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
13999 return Py_BuildValue((char *)"");
14001 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14002 PyObject
*resultobj
;
14003 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14005 wxString
*arg3
= 0 ;
14006 wxBitmap
*arg4
= 0 ;
14007 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
14008 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
14009 int arg6
= (int) wxITEM_NORMAL
;
14010 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14011 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14012 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14013 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14014 PyObject
*arg9
= (PyObject
*) NULL
;
14015 wxToolBarToolBase
*result
;
14016 bool temp3
= False
;
14017 bool temp7
= False
;
14018 bool temp8
= False
;
14019 PyObject
* obj0
= 0 ;
14020 PyObject
* obj2
= 0 ;
14021 PyObject
* obj3
= 0 ;
14022 PyObject
* obj4
= 0 ;
14023 PyObject
* obj6
= 0 ;
14024 PyObject
* obj7
= 0 ;
14025 PyObject
* obj8
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
,&obj8
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 arg3
= wxString_in_helper(obj2
);
14034 if (arg3
== NULL
) SWIG_fail
;
14037 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14038 if (arg4
== NULL
) {
14039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14042 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14043 if (arg5
== NULL
) {
14044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14049 arg7
= wxString_in_helper(obj6
);
14050 if (arg7
== NULL
) SWIG_fail
;
14056 arg8
= wxString_in_helper(obj7
);
14057 if (arg8
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= wxPyMake_wxObject(result
);
14104 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14109 wxString
*arg4
= 0 ;
14110 wxBitmap
*arg5
= 0 ;
14111 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
14112 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
14113 int arg7
= (int) wxITEM_NORMAL
;
14114 wxString
const &arg8_defvalue
= wxPyEmptyString
;
14115 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14116 wxString
const &arg9_defvalue
= wxPyEmptyString
;
14117 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14118 PyObject
*arg10
= (PyObject
*) NULL
;
14119 wxToolBarToolBase
*result
;
14120 bool temp4
= False
;
14121 bool temp8
= False
;
14122 bool temp9
= False
;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 PyObject
* obj3
= 0 ;
14126 PyObject
* obj4
= 0 ;
14127 PyObject
* obj5
= 0 ;
14128 PyObject
* obj7
= 0 ;
14129 PyObject
* obj8
= 0 ;
14130 PyObject
* obj9
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&obj8
,&obj9
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14137 arg2
= (size_t) PyInt_AsLong(obj1
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14140 arg4
= wxString_in_helper(obj3
);
14141 if (arg4
== NULL
) SWIG_fail
;
14144 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14145 if (arg5
== NULL
) {
14146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14149 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14150 if (arg6
== NULL
) {
14151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
14156 arg8
= wxString_in_helper(obj7
);
14157 if (arg8
== NULL
) SWIG_fail
;
14163 arg9
= wxString_in_helper(obj8
);
14164 if (arg9
== NULL
) SWIG_fail
;
14172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14173 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
);
14175 wxPyEndAllowThreads(__tstate
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= wxPyMake_wxObject(result
);
14211 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14214 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
14215 wxToolBarToolBase
*result
;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "tool", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= wxPyMake_wxObject(result
);
14241 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14245 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
14246 wxToolBarToolBase
*result
;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "pos",(char *) "tool", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 arg2
= (size_t) PyInt_AsLong(obj1
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14258 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= wxPyMake_wxObject(result
);
14275 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14278 wxControl
*arg2
= (wxControl
*) 0 ;
14279 wxToolBarToolBase
*result
;
14280 PyObject
* obj0
= 0 ;
14281 PyObject
* obj1
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self",(char *) "control", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= wxPyMake_wxObject(result
);
14305 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14309 wxControl
*arg3
= (wxControl
*) 0 ;
14310 wxToolBarToolBase
*result
;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 PyObject
* obj2
= 0 ;
14314 char *kwnames
[] = {
14315 (char *) "self",(char *) "pos",(char *) "control", NULL
14318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14320 arg2
= (size_t) PyInt_AsLong(obj1
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14322 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
14327 wxPyEndAllowThreads(__tstate
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= wxPyMake_wxObject(result
);
14339 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14340 PyObject
*resultobj
;
14341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self",(char *) "id", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindControl",kwnames
,&obj0
,&arg2
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= wxPyMake_wxObject(result
);
14367 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14370 wxToolBarToolBase
*result
;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
14382 wxPyEndAllowThreads(__tstate
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= wxPyMake_wxObject(result
);
14394 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14398 wxToolBarToolBase
*result
;
14399 PyObject
* obj0
= 0 ;
14400 PyObject
* obj1
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "pos", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14407 arg2
= (size_t) PyInt_AsLong(obj1
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14411 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
14413 wxPyEndAllowThreads(__tstate
);
14414 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= wxPyMake_wxObject(result
);
14425 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14426 PyObject
*resultobj
;
14427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14429 wxToolBarToolBase
*result
;
14430 PyObject
* obj0
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "id", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_RemoveTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
14441 wxPyEndAllowThreads(__tstate
);
14442 if (PyErr_Occurred()) SWIG_fail
;
14445 resultobj
= wxPyMake_wxObject(result
);
14453 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14454 PyObject
*resultobj
;
14455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self",(char *) "pos", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14466 arg2
= (size_t) PyInt_AsLong(obj1
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= PyInt_FromLong((long)result
);
14482 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14487 PyObject
* obj0
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self",(char *) "id", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_DeleteTool",kwnames
,&obj0
,&arg2
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (bool)(arg1
)->DeleteTool(arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= PyInt_FromLong((long)result
);
14508 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 (arg1
)->ClearTools();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14525 Py_INCREF(Py_None
); resultobj
= Py_None
;
14532 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14533 PyObject
*resultobj
;
14534 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14536 PyObject
* obj0
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (bool)(arg1
)->Realize();
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= PyInt_FromLong((long)result
);
14557 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "id",(char *) "enable", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_EnableTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14570 arg3
= PyInt_AsLong(obj2
) ? true : false;
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->EnableTool(arg2
,arg3
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 PyObject
* obj2
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self",(char *) "id",(char *) "toggle", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14599 arg3
= PyInt_AsLong(obj2
) ? true : false;
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 (arg1
)->ToggleTool(arg2
,arg3
);
14605 wxPyEndAllowThreads(__tstate
);
14606 if (PyErr_Occurred()) SWIG_fail
;
14608 Py_INCREF(Py_None
); resultobj
= Py_None
;
14615 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj2
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "id",(char *) "toggle", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToggle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 arg3
= PyInt_AsLong(obj2
) ? true : false;
14629 if (PyErr_Occurred()) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->SetToggle(arg2
,arg3
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self",(char *) "id", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
;
14670 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14674 PyObject
*arg3
= (PyObject
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 PyObject
* obj2
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self",(char *) "id",(char *) "clientData", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "id", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolPos",kwnames
,&obj0
,&arg2
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= PyInt_FromLong((long)result
);
14724 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "id", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolState",kwnames
,&obj0
,&arg2
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (bool)(arg1
)->GetToolState(arg2
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= PyInt_FromLong((long)result
);
14750 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "id", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= PyInt_FromLong((long)result
);
14776 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14780 wxString
*arg3
= 0 ;
14781 bool temp3
= False
;
14782 PyObject
* obj0
= 0 ;
14783 PyObject
* obj2
= 0 ;
14784 char *kwnames
[] = {
14785 (char *) "self",(char *) "id",(char *) "helpString", NULL
14788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14791 arg3
= wxString_in_helper(obj2
);
14792 if (arg3
== NULL
) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14822 PyObject
* obj0
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self",(char *) "id", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (arg1
)->GetToolShortHelp(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14849 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14853 wxString
*arg3
= 0 ;
14854 bool temp3
= False
;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj2
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "id",(char *) "helpString", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14864 arg3
= wxString_in_helper(obj2
);
14865 if (arg3
== NULL
) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14895 PyObject
* obj0
= 0 ;
14896 char *kwnames
[] = {
14897 (char *) "self",(char *) "id", NULL
14900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&arg2
)) goto fail
;
14901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (arg1
)->GetToolLongHelp(arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14922 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self",(char *) "x",(char *) "y", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetMargins(arg2
,arg3
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14941 Py_INCREF(Py_None
); resultobj
= Py_None
;
14948 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "size", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14963 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 (arg1
)->SetMargins((wxSize
const &)*arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 Py_INCREF(Py_None
); resultobj
= Py_None
;
14979 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
14983 PyObject
* obj0
= 0 ;
14984 char *kwnames
[] = {
14985 (char *) "self",(char *) "packing", NULL
14988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&arg2
)) goto fail
;
14989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14992 (arg1
)->SetToolPacking(arg2
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14997 Py_INCREF(Py_None
); resultobj
= Py_None
;
15004 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15008 PyObject
* obj0
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "separation", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&arg2
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 (arg1
)->SetToolSeparation(arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (arg1
)->GetToolMargins();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 wxSize
* resultptr
;
15049 resultptr
= new wxSize((wxSize
&) result
);
15050 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15058 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
;
15060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 result
= (arg1
)->GetMargins();
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 wxSize
* resultptr
;
15078 resultptr
= new wxSize((wxSize
&) result
);
15079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15087 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 result
= (int)(arg1
)->GetToolPacking();
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= PyInt_FromLong((long)result
);
15112 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 result
= (int)(arg1
)->GetToolSeparation();
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= PyInt_FromLong((long)result
);
15137 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self",(char *) "nRows", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 (arg1
)->SetRows(arg2
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15155 Py_INCREF(Py_None
); resultobj
= Py_None
;
15162 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15163 PyObject
*resultobj
;
15164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self",(char *) "rows",(char *) "cols", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (int)(arg1
)->GetMaxRows();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= PyInt_FromLong((long)result
);
15213 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (int)(arg1
)->GetMaxCols();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= PyInt_FromLong((long)result
);
15238 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 char *kwnames
[] = {
15246 (char *) "self",(char *) "size", NULL
15249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15253 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 Py_INCREF(Py_None
); resultobj
= Py_None
;
15269 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (arg1
)->GetToolBitmapSize();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15288 wxSize
* resultptr
;
15289 resultptr
= new wxSize((wxSize
&) result
);
15290 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15298 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (arg1
)->GetToolSize();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 wxSize
* resultptr
;
15318 resultptr
= new wxSize((wxSize
&) result
);
15319 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
15327 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15332 wxToolBarToolBase
*result
;
15333 PyObject
* obj0
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "x",(char *) "y", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= wxPyMake_wxObject(result
);
15356 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15360 wxToolBarToolBase
*result
;
15361 PyObject
* obj0
= 0 ;
15362 char *kwnames
[] = {
15363 (char *) "self",(char *) "toolid", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ToolBarBase_FindById",kwnames
,&obj0
,&arg2
)) goto fail
;
15367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= wxPyMake_wxObject(result
);
15384 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)(arg1
)->IsVertical();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= PyInt_FromLong((long)result
);
15409 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
15411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15412 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
15414 return Py_BuildValue((char *)"");
15416 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxWindow
*arg1
= (wxWindow
*) 0 ;
15420 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15421 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15422 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15423 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15424 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15425 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
15426 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15430 bool temp6
= False
;
15431 PyObject
* obj0
= 0 ;
15432 PyObject
* obj2
= 0 ;
15433 PyObject
* obj3
= 0 ;
15434 PyObject
* obj5
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_ToolBar",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15444 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15450 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15455 arg6
= wxString_in_helper(obj5
);
15456 if (arg6
== NULL
) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= wxPyMake_wxObject(result
);
15484 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15485 PyObject
*resultobj
;
15487 char *kwnames
[] = {
15491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxToolBar
*)new wxToolBar();
15496 wxPyEndAllowThreads(__tstate
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= wxPyMake_wxObject(result
);
15508 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15510 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15511 wxWindow
*arg2
= (wxWindow
*) 0 ;
15513 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15514 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15515 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15516 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15517 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
15518 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
15519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15523 bool temp7
= False
;
15524 PyObject
* obj0
= 0 ;
15525 PyObject
* obj1
= 0 ;
15526 PyObject
* obj3
= 0 ;
15527 PyObject
* obj4
= 0 ;
15528 PyObject
* obj6
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15539 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15545 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15550 arg7
= wxString_in_helper(obj6
);
15551 if (arg7
== NULL
) SWIG_fail
;
15556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15557 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= PyInt_FromLong((long)result
);
15577 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
15582 wxToolBarToolBase
*result
;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "x",(char *) "y", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ToolBar_FindToolForPosition",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15598 resultobj
= wxPyMake_wxObject(result
);
15606 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
15608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15609 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
15611 return Py_BuildValue((char *)"");
15613 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
15614 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
15619 static PyObject
*_wrap_ListCtrlNameStr_get() {
15624 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15626 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
15633 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxColour
const &arg1_defvalue
= wxNullColour
;
15636 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
15637 wxColour
const &arg2_defvalue
= wxNullColour
;
15638 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
15639 wxFont
const &arg3_defvalue
= wxNullFont
;
15640 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
15641 wxListItemAttr
*result
;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 PyObject
* obj2
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15655 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
15661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15665 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15666 if (arg3
== NULL
) {
15667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
15684 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15687 wxColour
*arg2
= 0 ;
15689 PyObject
* obj0
= 0 ;
15690 PyObject
* obj1
= 0 ;
15691 char *kwnames
[] = {
15692 (char *) "self",(char *) "colText", NULL
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15699 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15703 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
15705 wxPyEndAllowThreads(__tstate
);
15706 if (PyErr_Occurred()) SWIG_fail
;
15708 Py_INCREF(Py_None
); resultobj
= Py_None
;
15715 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15718 wxColour
*arg2
= 0 ;
15720 PyObject
* obj0
= 0 ;
15721 PyObject
* obj1
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self",(char *) "colBack", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15739 Py_INCREF(Py_None
); resultobj
= Py_None
;
15746 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "font", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15759 if (arg2
== NULL
) {
15760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15764 (arg1
)->SetFont((wxFont
const &)*arg2
);
15766 wxPyEndAllowThreads(__tstate
);
15767 if (PyErr_Occurred()) SWIG_fail
;
15769 Py_INCREF(Py_None
); resultobj
= Py_None
;
15776 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15780 PyObject
* obj0
= 0 ;
15781 char *kwnames
[] = {
15782 (char *) "self", NULL
15785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
15786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (bool)(arg1
)->HasTextColour();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15794 resultobj
= PyInt_FromLong((long)result
);
15801 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15802 PyObject
*resultobj
;
15803 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15805 PyObject
* obj0
= 0 ;
15806 char *kwnames
[] = {
15807 (char *) "self", NULL
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
15811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (bool)(arg1
)->HasBackgroundColour();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= PyInt_FromLong((long)result
);
15826 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 char *kwnames
[] = {
15832 (char *) "self", NULL
15835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
15836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15839 result
= (bool)(arg1
)->HasFont();
15841 wxPyEndAllowThreads(__tstate
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15844 resultobj
= PyInt_FromLong((long)result
);
15851 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15852 PyObject
*resultobj
;
15853 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15855 PyObject
* obj0
= 0 ;
15856 char *kwnames
[] = {
15857 (char *) "self", NULL
15860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
15861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15864 result
= (arg1
)->GetTextColour();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 wxColour
* resultptr
;
15871 resultptr
= new wxColour((wxColour
&) result
);
15872 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15880 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (arg1
)->GetBackgroundColour();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 wxColour
* resultptr
;
15900 resultptr
= new wxColour((wxColour
&) result
);
15901 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
15909 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 result
= (arg1
)->GetFont();
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 wxFont
* resultptr
;
15929 resultptr
= new wxFont((wxFont
&) result
);
15930 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
15938 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 char *kwnames
[] = {
15943 (char *) "self", NULL
15946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
15947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 wxListItemAttr_Destroy(arg1
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
15964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15965 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
15967 return Py_BuildValue((char *)"");
15969 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxListItem
*result
;
15972 char *kwnames
[] = {
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= (wxListItem
*)new wxListItem();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= wxPyMake_wxObject(result
);
15993 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxListItem
*arg1
= (wxListItem
*) 0 ;
15996 PyObject
* obj0
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxListItem
*arg1
= (wxListItem
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxPyEndAllowThreads(__tstate
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16034 Py_INCREF(Py_None
); resultobj
= Py_None
;
16041 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16042 PyObject
*resultobj
;
16043 wxListItem
*arg1
= (wxListItem
*) 0 ;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 (arg1
)->ClearAttributes();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16058 Py_INCREF(Py_None
); resultobj
= Py_None
;
16065 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16066 PyObject
*resultobj
;
16067 wxListItem
*arg1
= (wxListItem
*) 0 ;
16069 PyObject
* obj0
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "self",(char *) "mask", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16078 (arg1
)->SetMask(arg2
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 Py_INCREF(Py_None
); resultobj
= Py_None
;
16090 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16092 wxListItem
*arg1
= (wxListItem
*) 0 ;
16094 PyObject
* obj0
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "id", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 (arg1
)->SetId(arg2
);
16105 wxPyEndAllowThreads(__tstate
);
16106 if (PyErr_Occurred()) SWIG_fail
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16115 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxListItem
*arg1
= (wxListItem
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self",(char *) "col", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 (arg1
)->SetColumn(arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxListItem
*arg1
= (wxListItem
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "state", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetState",kwnames
,&obj0
,&arg2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 (arg1
)->SetState(arg2
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16158 Py_INCREF(Py_None
); resultobj
= Py_None
;
16165 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16166 PyObject
*resultobj
;
16167 wxListItem
*arg1
= (wxListItem
*) 0 ;
16169 PyObject
* obj0
= 0 ;
16170 char *kwnames
[] = {
16171 (char *) "self",(char *) "stateMask", NULL
16174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetStateMask",kwnames
,&obj0
,&arg2
)) goto fail
;
16175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 (arg1
)->SetStateMask(arg2
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16190 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxListItem
*arg1
= (wxListItem
*) 0 ;
16193 wxString
*arg2
= 0 ;
16194 bool temp2
= False
;
16195 PyObject
* obj0
= 0 ;
16196 PyObject
* obj1
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "text", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16204 arg2
= wxString_in_helper(obj1
);
16205 if (arg2
== NULL
) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 (arg1
)->SetText((wxString
const &)*arg2
);
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16215 Py_INCREF(Py_None
); resultobj
= Py_None
;
16230 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxListItem
*arg1
= (wxListItem
*) 0 ;
16234 PyObject
* obj0
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "image", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetImage",kwnames
,&obj0
,&arg2
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16243 (arg1
)->SetImage(arg2
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 Py_INCREF(Py_None
); resultobj
= Py_None
;
16255 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxListItem
*arg1
= (wxListItem
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "data", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_SetData",kwnames
,&obj0
,&arg2
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 (arg1
)->SetData(arg2
);
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 Py_INCREF(Py_None
); resultobj
= Py_None
;
16280 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxListItem
*arg1
= (wxListItem
*) 0 ;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "width", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 (arg1
)->SetWidth(arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxListItem
*arg1
= (wxListItem
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self",(char *) "align", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_SetAlign",kwnames
,&obj0
,&arg2
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 Py_INCREF(Py_None
); resultobj
= Py_None
;
16330 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16331 PyObject
*resultobj
;
16332 wxListItem
*arg1
= (wxListItem
*) 0 ;
16333 wxColour
*arg2
= 0 ;
16335 PyObject
* obj0
= 0 ;
16336 PyObject
* obj1
= 0 ;
16337 char *kwnames
[] = {
16338 (char *) "self",(char *) "colText", NULL
16341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16354 Py_INCREF(Py_None
); resultobj
= Py_None
;
16361 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxListItem
*arg1
= (wxListItem
*) 0 ;
16364 wxColour
*arg2
= 0 ;
16366 PyObject
* obj0
= 0 ;
16367 PyObject
* obj1
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "colBack", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 Py_INCREF(Py_None
); resultobj
= Py_None
;
16392 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
;
16394 wxListItem
*arg1
= (wxListItem
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 PyObject
* obj1
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "self",(char *) "font", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
16403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16405 if (arg2
== NULL
) {
16406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 (arg1
)->SetFont((wxFont
const &)*arg2
);
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 Py_INCREF(Py_None
); resultobj
= Py_None
;
16422 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxListItem
*arg1
= (wxListItem
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (long)(arg1
)->GetMask();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16440 resultobj
= PyInt_FromLong((long)result
);
16447 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16448 PyObject
*resultobj
;
16449 wxListItem
*arg1
= (wxListItem
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 char *kwnames
[] = {
16453 (char *) "self", NULL
16456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
16457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (long)(arg1
)->GetId();
16462 wxPyEndAllowThreads(__tstate
);
16463 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= PyInt_FromLong((long)result
);
16472 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 wxListItem
*arg1
= (wxListItem
*) 0 ;
16476 PyObject
* obj0
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (int)(arg1
)->GetColumn();
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 resultobj
= PyInt_FromLong((long)result
);
16497 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxListItem
*arg1
= (wxListItem
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (long)(arg1
)->GetState();
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= PyInt_FromLong((long)result
);
16522 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxListItem
*arg1
= (wxListItem
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16536 wxString
const &_result_ref
= (arg1
)->GetText();
16537 result
= (wxString
*) &_result_ref
;
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16547 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16556 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16557 PyObject
*resultobj
;
16558 wxListItem
*arg1
= (wxListItem
*) 0 ;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (int)(arg1
)->GetImage();
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 resultobj
= PyInt_FromLong((long)result
);
16581 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxListItem
*arg1
= (wxListItem
*) 0 ;
16585 PyObject
* obj0
= 0 ;
16586 char *kwnames
[] = {
16587 (char *) "self", NULL
16590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
16591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= (long)(arg1
)->GetData();
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= PyInt_FromLong((long)result
);
16606 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16607 PyObject
*resultobj
;
16608 wxListItem
*arg1
= (wxListItem
*) 0 ;
16610 PyObject
* obj0
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (int)(arg1
)->GetWidth();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= PyInt_FromLong((long)result
);
16631 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxListItem
*arg1
= (wxListItem
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (int)(arg1
)->GetAlign();
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= PyInt_FromLong((long)result
);
16656 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxListItem
*arg1
= (wxListItem
*) 0 ;
16659 wxListItemAttr
*result
;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
16681 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxListItem
*arg1
= (wxListItem
*) 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (bool)(arg1
)->HasAttributes();
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16699 resultobj
= PyInt_FromLong((long)result
);
16706 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxListItem
*arg1
= (wxListItem
*) 0 ;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "self", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
16716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= ((wxListItem
const *)arg1
)->GetTextColour();
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 wxColour
* resultptr
;
16726 resultptr
= new wxColour((wxColour
&) result
);
16727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16735 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxListItem
*arg1
= (wxListItem
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 wxColour
* resultptr
;
16755 resultptr
= new wxColour((wxColour
&) result
);
16756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
16764 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16765 PyObject
*resultobj
;
16766 wxListItem
*arg1
= (wxListItem
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= ((wxListItem
const *)arg1
)->GetFont();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 wxFont
* resultptr
;
16784 resultptr
= new wxFont((wxFont
&) result
);
16785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
16793 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxListItem
*arg1
= (wxListItem
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self",(char *) "m_mask", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_mask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16804 if (arg1
) (arg1
)->m_mask
= arg2
;
16806 Py_INCREF(Py_None
); resultobj
= Py_None
;
16813 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16814 PyObject
*resultobj
;
16815 wxListItem
*arg1
= (wxListItem
*) 0 ;
16817 PyObject
* obj0
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 result
= (long) ((arg1
)->m_mask
);
16826 resultobj
= PyInt_FromLong((long)result
);
16833 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxListItem
*arg1
= (wxListItem
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self",(char *) "m_itemId", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_itemId_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16844 if (arg1
) (arg1
)->m_itemId
= arg2
;
16846 Py_INCREF(Py_None
); resultobj
= Py_None
;
16853 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxListItem
*arg1
= (wxListItem
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16864 result
= (long) ((arg1
)->m_itemId
);
16866 resultobj
= PyInt_FromLong((long)result
);
16873 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxListItem
*arg1
= (wxListItem
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "m_col", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16884 if (arg1
) (arg1
)->m_col
= arg2
;
16886 Py_INCREF(Py_None
); resultobj
= Py_None
;
16893 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxListItem
*arg1
= (wxListItem
*) 0 ;
16897 PyObject
* obj0
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16904 result
= (int) ((arg1
)->m_col
);
16906 resultobj
= PyInt_FromLong((long)result
);
16913 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxListItem
*arg1
= (wxListItem
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 char *kwnames
[] = {
16919 (char *) "self",(char *) "m_state", NULL
16922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_state_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 if (arg1
) (arg1
)->m_state
= arg2
;
16926 Py_INCREF(Py_None
); resultobj
= Py_None
;
16933 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16934 PyObject
*resultobj
;
16935 wxListItem
*arg1
= (wxListItem
*) 0 ;
16937 PyObject
* obj0
= 0 ;
16938 char *kwnames
[] = {
16939 (char *) "self", NULL
16942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
16943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16944 result
= (long) ((arg1
)->m_state
);
16946 resultobj
= PyInt_FromLong((long)result
);
16953 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 wxListItem
*arg1
= (wxListItem
*) 0 ;
16957 PyObject
* obj0
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self",(char *) "m_stateMask", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_stateMask_set",kwnames
,&obj0
,&arg2
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16964 if (arg1
) (arg1
)->m_stateMask
= arg2
;
16966 Py_INCREF(Py_None
); resultobj
= Py_None
;
16973 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxListItem
*arg1
= (wxListItem
*) 0 ;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "self", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
16983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16984 result
= (long) ((arg1
)->m_stateMask
);
16986 resultobj
= PyInt_FromLong((long)result
);
16993 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxListItem
*arg1
= (wxListItem
*) 0 ;
16996 wxString
*arg2
= (wxString
*) 0 ;
16997 bool temp2
= False
;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "m_text", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17007 arg2
= wxString_in_helper(obj1
);
17008 if (arg2
== NULL
) SWIG_fail
;
17011 if (arg1
) (arg1
)->m_text
= *arg2
;
17013 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxListItem
*arg1
= (wxListItem
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 result
= (wxString
*)& ((arg1
)->m_text
);
17043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17054 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxListItem
*arg1
= (wxListItem
*) 0 ;
17058 PyObject
* obj0
= 0 ;
17059 char *kwnames
[] = {
17060 (char *) "self",(char *) "m_image", NULL
17063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_image_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17065 if (arg1
) (arg1
)->m_image
= arg2
;
17067 Py_INCREF(Py_None
); resultobj
= Py_None
;
17074 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxListItem
*arg1
= (wxListItem
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17085 result
= (int) ((arg1
)->m_image
);
17087 resultobj
= PyInt_FromLong((long)result
);
17094 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxListItem
*arg1
= (wxListItem
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self",(char *) "m_data", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListItem_m_data_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17105 if (arg1
) (arg1
)->m_data
= arg2
;
17107 Py_INCREF(Py_None
); resultobj
= Py_None
;
17114 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxListItem
*arg1
= (wxListItem
*) 0 ;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17125 result
= (long) ((arg1
)->m_data
);
17127 resultobj
= PyInt_FromLong((long)result
);
17134 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxListItem
*arg1
= (wxListItem
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "m_format", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_format_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 if (arg1
) (arg1
)->m_format
= arg2
;
17147 Py_INCREF(Py_None
); resultobj
= Py_None
;
17154 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17156 wxListItem
*arg1
= (wxListItem
*) 0 ;
17158 PyObject
* obj0
= 0 ;
17159 char *kwnames
[] = {
17160 (char *) "self", NULL
17163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
17164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17165 result
= (int) ((arg1
)->m_format
);
17167 resultobj
= PyInt_FromLong((long)result
);
17174 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxListItem
*arg1
= (wxListItem
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self",(char *) "m_width", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListItem_m_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17185 if (arg1
) (arg1
)->m_width
= arg2
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxListItem
*arg1
= (wxListItem
*) 0 ;
17198 PyObject
* obj0
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17205 result
= (int) ((arg1
)->m_width
);
17207 resultobj
= PyInt_FromLong((long)result
);
17214 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
17216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17217 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
17219 return Py_BuildValue((char *)"");
17221 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17222 PyObject
*resultobj
;
17223 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17224 int arg2
= (int) 0 ;
17225 wxListEvent
*result
;
17226 char *kwnames
[] = {
17227 (char *) "commandType",(char *) "id", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_ListEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
17245 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self",(char *) "m_code", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_code_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17256 if (arg1
) (arg1
)->m_code
= arg2
;
17258 Py_INCREF(Py_None
); resultobj
= Py_None
;
17265 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17276 result
= (int) ((arg1
)->m_code
);
17278 resultobj
= PyInt_FromLong((long)result
);
17285 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17289 PyObject
* obj0
= 0 ;
17290 char *kwnames
[] = {
17291 (char *) "self",(char *) "m_oldItemIndex", NULL
17294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17296 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
17298 Py_INCREF(Py_None
); resultobj
= Py_None
;
17305 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17306 PyObject
*resultobj
;
17307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17309 PyObject
* obj0
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "self", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
17315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17316 result
= (long) ((arg1
)->m_oldItemIndex
);
17318 resultobj
= PyInt_FromLong((long)result
);
17325 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self",(char *) "m_itemIndex", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17336 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
17338 Py_INCREF(Py_None
); resultobj
= Py_None
;
17345 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17356 result
= (long) ((arg1
)->m_itemIndex
);
17358 resultobj
= PyInt_FromLong((long)result
);
17365 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17369 PyObject
* obj0
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "m_col", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListEvent_m_col_set",kwnames
,&obj0
,&arg2
)) goto fail
;
17375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17376 if (arg1
) (arg1
)->m_col
= arg2
;
17378 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17396 result
= (int) ((arg1
)->m_col
);
17398 resultobj
= PyInt_FromLong((long)result
);
17405 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17408 wxPoint
*arg2
= (wxPoint
*) 0 ;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "m_pointDrag", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
17420 Py_INCREF(Py_None
); resultobj
= Py_None
;
17427 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17428 PyObject
*resultobj
;
17429 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17431 PyObject
* obj0
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17438 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
17440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
17447 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17450 wxListItem
*result
;
17451 PyObject
* obj0
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 result
= (wxListItem
*)& ((arg1
)->m_item
);
17461 resultobj
= wxPyMake_wxObject(result
);
17469 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (int)(arg1
)->GetKeyCode();
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17487 resultobj
= PyInt_FromLong((long)result
);
17494 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17495 PyObject
*resultobj
;
17496 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (long)(arg1
)->GetIndex();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= PyInt_FromLong((long)result
);
17519 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17523 PyObject
* obj0
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (int)(arg1
)->GetColumn();
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= PyInt_FromLong((long)result
);
17544 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (arg1
)->GetPoint();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 wxPoint
* resultptr
;
17564 resultptr
= new wxPoint((wxPoint
&) result
);
17565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
17573 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 wxString
const &_result_ref
= (arg1
)->GetLabel();
17588 result
= (wxString
*) &_result_ref
;
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17607 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17611 PyObject
* obj0
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 wxString
const &_result_ref
= (arg1
)->GetText();
17622 result
= (wxString
*) &_result_ref
;
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17632 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17641 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 char *kwnames
[] = {
17647 (char *) "self", NULL
17650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
17651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (int)(arg1
)->GetImage();
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= PyInt_FromLong((long)result
);
17666 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17670 PyObject
* obj0
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (long)(arg1
)->GetData();
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= PyInt_FromLong((long)result
);
17691 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (long)(arg1
)->GetMask();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= PyInt_FromLong((long)result
);
17716 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17719 wxListItem
*result
;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 wxListItem
const &_result_ref
= (arg1
)->GetItem();
17731 result
= (wxListItem
*) &_result_ref
;
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
17744 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17746 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17748 PyObject
* obj0
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (long)(arg1
)->GetCacheFrom();
17759 wxPyEndAllowThreads(__tstate
);
17760 if (PyErr_Occurred()) SWIG_fail
;
17762 resultobj
= PyInt_FromLong((long)result
);
17769 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17770 PyObject
*resultobj
;
17771 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (long)(arg1
)->GetCacheTo();
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= PyInt_FromLong((long)result
);
17794 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= PyInt_FromLong((long)result
);
17819 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self",(char *) "editCancelled", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17831 arg2
= PyInt_AsLong(obj1
) ? true : false;
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 (arg1
)->SetEditCanceled(arg2
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 Py_INCREF(Py_None
); resultobj
= Py_None
;
17847 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
17852 return Py_BuildValue((char *)"");
17854 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxWindow
*arg1
= (wxWindow
*) 0 ;
17857 int arg2
= (int) -1 ;
17858 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17859 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17860 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17861 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17862 long arg5
= (long) wxLC_ICON
;
17863 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
17864 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
17865 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
17866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17867 wxPyListCtrl
*result
;
17870 bool temp7
= False
;
17871 PyObject
* obj0
= 0 ;
17872 PyObject
* obj2
= 0 ;
17873 PyObject
* obj3
= 0 ;
17874 PyObject
* obj5
= 0 ;
17875 PyObject
* obj6
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17885 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17891 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17895 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17896 if (arg6
== NULL
) {
17897 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17902 arg7
= wxString_in_helper(obj6
);
17903 if (arg7
== NULL
) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17929 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17930 PyObject
*resultobj
;
17931 wxPyListCtrl
*result
;
17932 char *kwnames
[] = {
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 result
= (wxPyListCtrl
*)new wxPyListCtrl();
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
17951 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
17954 wxWindow
*arg2
= (wxWindow
*) 0 ;
17955 int arg3
= (int) -1 ;
17956 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17957 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17958 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17959 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17960 long arg6
= (long) wxLC_ICON
;
17961 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17962 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17963 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
17964 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17968 bool temp8
= False
;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 PyObject
* obj3
= 0 ;
17972 PyObject
* obj4
= 0 ;
17973 PyObject
* obj6
= 0 ;
17974 PyObject
* obj7
= 0 ;
17975 char *kwnames
[] = {
17976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
17980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17981 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17995 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17996 if (arg7
== NULL
) {
17997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18002 arg8
= wxString_in_helper(obj7
);
18003 if (arg8
== NULL
) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= PyInt_FromLong((long)result
);
18029 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18032 PyObject
*arg2
= (PyObject
*) 0 ;
18033 PyObject
*arg3
= (PyObject
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 PyObject
* obj1
= 0 ;
18036 PyObject
* obj2
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "self",(char *) "_class", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18049 wxPyEndAllowThreads(__tstate
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 Py_INCREF(Py_None
); resultobj
= Py_None
;
18059 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18060 PyObject
*resultobj
;
18061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18062 wxColour
*arg2
= 0 ;
18065 PyObject
* obj0
= 0 ;
18066 PyObject
* obj1
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self",(char *) "col", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= PyInt_FromLong((long)result
);
18091 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18094 wxColour
*arg2
= 0 ;
18097 PyObject
* obj0
= 0 ;
18098 PyObject
* obj1
= 0 ;
18099 char *kwnames
[] = {
18100 (char *) "self",(char *) "col", NULL
18103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18107 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= PyInt_FromLong((long)result
);
18123 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18127 wxListItem
*result
;
18128 PyObject
* obj0
= 0 ;
18129 char *kwnames
[] = {
18130 (char *) "self",(char *) "col", NULL
18133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
18134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18143 resultobj
= wxPyMake_wxObject(result
);
18151 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18152 PyObject
*resultobj
;
18153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18155 wxListItem
*arg3
= 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj2
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "col",(char *) "item", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ListCtrl_SetColumn",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18165 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18166 if (arg3
== NULL
) {
18167 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= PyInt_FromLong((long)result
);
18183 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18188 PyObject
* obj0
= 0 ;
18189 char *kwnames
[] = {
18190 (char *) "self",(char *) "col", NULL
18193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
18194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= PyInt_FromLong((long)result
);
18209 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 char *kwnames
[] = {
18217 (char *) "self",(char *) "col",(char *) "width", NULL
18220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= PyInt_FromLong((long)result
);
18236 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= PyInt_FromLong((long)result
);
18261 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 char *kwnames
[] = {
18267 (char *) "self", NULL
18270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
18271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18274 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18280 wxRect
* resultptr
;
18281 resultptr
= new wxRect((wxRect
&) result
);
18282 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18290 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18292 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18293 wxTextCtrl
*result
;
18294 PyObject
* obj0
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18303 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
18305 wxPyEndAllowThreads(__tstate
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 resultobj
= wxPyMake_wxObject(result
);
18317 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18321 int arg3
= (int) 0 ;
18322 wxListItem
*result
;
18323 PyObject
* obj0
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "itemId",(char *) "col", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
18334 wxPyEndAllowThreads(__tstate
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 resultobj
= wxPyMake_wxObject(result
);
18346 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18349 wxListItem
*arg2
= 0 ;
18351 PyObject
* obj0
= 0 ;
18352 PyObject
* obj1
= 0 ;
18353 char *kwnames
[] = {
18354 (char *) "self",(char *) "info", NULL
18357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18360 if (arg2
== NULL
) {
18361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 result
= (bool)(arg1
)->SetItem(*arg2
);
18367 wxPyEndAllowThreads(__tstate
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 resultobj
= PyInt_FromLong((long)result
);
18377 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18378 PyObject
*resultobj
;
18379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18382 wxString
*arg4
= 0 ;
18383 int arg5
= (int) -1 ;
18385 bool temp4
= False
;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj3
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&arg5
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18395 arg4
= wxString_in_helper(obj3
);
18396 if (arg4
== NULL
) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= PyInt_FromLong((long)result
);
18421 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18427 PyObject
* obj0
= 0 ;
18428 char *kwnames
[] = {
18429 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_GetItemState",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= PyInt_FromLong((long)result
);
18448 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18455 PyObject
* obj0
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olll:ListCtrl_SetItemState",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18469 resultobj
= PyInt_FromLong((long)result
);
18476 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18477 PyObject
*resultobj
;
18478 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Olii:ListCtrl_SetItemImage",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18492 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
18494 wxPyEndAllowThreads(__tstate
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 resultobj
= PyInt_FromLong((long)result
);
18504 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18505 PyObject
*resultobj
;
18506 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "item", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemText",kwnames
,&obj0
,&arg2
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18536 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18540 wxString
*arg3
= 0 ;
18541 bool temp3
= False
;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self",(char *) "item",(char *) "str", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemText",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18551 arg3
= wxString_in_helper(obj2
);
18552 if (arg3
== NULL
) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18577 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self",(char *) "item", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemData",kwnames
,&obj0
,&arg2
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= PyInt_FromLong((long)result
);
18603 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18605 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18609 PyObject
* obj0
= 0 ;
18610 char *kwnames
[] = {
18611 (char *) "self",(char *) "item",(char *) "data", NULL
18614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_SetItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= PyInt_FromLong((long)result
);
18630 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 char *kwnames
[] = {
18637 (char *) "self",(char *) "item", NULL
18640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
18641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 wxPoint
* resultptr
;
18651 resultptr
= new wxPoint((wxPoint
&) result
);
18652 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
18660 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18664 int arg3
= (int) wxLIST_RECT_BOUNDS
;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "item",(char *) "code", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18681 wxRect
* resultptr
;
18682 resultptr
= new wxRect((wxRect
&) result
);
18683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
18691 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18695 wxPoint
*arg3
= 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj2
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "item",(char *) "pos", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18708 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
18714 wxPyEndAllowThreads(__tstate
);
18715 if (PyErr_Occurred()) SWIG_fail
;
18717 resultobj
= PyInt_FromLong((long)result
);
18724 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "self", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
18734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= PyInt_FromLong((long)result
);
18749 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18753 PyObject
* obj0
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= PyInt_FromLong((long)result
);
18774 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18793 wxSize
* resultptr
;
18794 resultptr
= new wxSize((wxSize
&) result
);
18795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
18803 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18816 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 resultobj
= PyInt_FromLong((long)result
);
18828 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 char *kwnames
[] = {
18834 (char *) "self", NULL
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
18838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18847 wxColour
* resultptr
;
18848 resultptr
= new wxColour((wxColour
&) result
);
18849 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18857 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18860 wxColour
*arg2
= 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "col", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18872 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 Py_INCREF(Py_None
); resultobj
= Py_None
;
18888 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
;
18890 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18892 PyObject
* obj0
= 0 ;
18893 char *kwnames
[] = {
18894 (char *) "self", NULL
18897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
18898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 resultobj
= PyInt_FromLong((long)result
);
18913 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18917 bool arg3
= (bool) True
;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj2
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "style",(char *) "add", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 arg3
= PyInt_AsLong(obj2
) ? true : false;
18928 if (PyErr_Occurred()) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 (arg1
)->SetSingleStyle(arg2
,arg3
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18948 PyObject
* obj0
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "style", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 (arg1
)->SetWindowStyleFlag(arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 Py_INCREF(Py_None
); resultobj
= Py_None
;
18969 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
18973 int arg3
= (int) wxLIST_NEXT_ALL
;
18974 int arg4
= (int) wxLIST_STATE_DONTCARE
;
18976 PyObject
* obj0
= 0 ;
18977 char *kwnames
[] = {
18978 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= PyInt_FromLong((long)result
);
18997 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18998 PyObject
*resultobj
;
18999 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19001 wxImageList
*result
;
19002 PyObject
* obj0
= 0 ;
19003 char *kwnames
[] = {
19004 (char *) "self",(char *) "which", NULL
19007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_GetImageList",kwnames
,&obj0
,&arg2
)) goto fail
;
19008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= wxPyMake_wxObject(result
);
19025 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19028 wxImageList
*arg2
= (wxImageList
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self",(char *) "imageList",(char *) "which", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19038 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 (arg1
)->SetImageList(arg2
,arg3
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 Py_INCREF(Py_None
); resultobj
= Py_None
;
19053 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19056 wxImageList
*arg2
= (wxImageList
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "imageList",(char *) "which", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->AssignImageList(arg2
,arg3
);
19071 wxPyEndAllowThreads(__tstate
);
19072 if (PyErr_Occurred()) SWIG_fail
;
19074 Py_INCREF(Py_None
); resultobj
= Py_None
;
19081 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19082 PyObject
*resultobj
;
19083 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19085 PyObject
* obj0
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= PyInt_FromLong((long)result
);
19106 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self",(char *) "item", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_RefreshItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 (arg1
)->RefreshItem(arg2
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 Py_INCREF(Py_None
); resultobj
= Py_None
;
19131 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19136 PyObject
* obj0
= 0 ;
19137 char *kwnames
[] = {
19138 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_RefreshItems",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 (arg1
)->RefreshItems(arg2
,arg3
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19158 PyObject
*resultobj
;
19159 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19160 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
19162 PyObject
* obj0
= 0 ;
19163 char *kwnames
[] = {
19164 (char *) "self",(char *) "flag", NULL
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:ListCtrl_Arrange",kwnames
,&obj0
,&arg2
)) goto fail
;
19168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (bool)(arg1
)->Arrange(arg2
);
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= PyInt_FromLong((long)result
);
19183 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self",(char *) "item", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_DeleteItem",kwnames
,&obj0
,&arg2
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (bool)(arg1
)->DeleteItem(arg2
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= PyInt_FromLong((long)result
);
19209 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19210 PyObject
*resultobj
;
19211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (bool)(arg1
)->DeleteAllItems();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= PyInt_FromLong((long)result
);
19234 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19235 PyObject
*resultobj
;
19236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self",(char *) "col", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListCtrl_DeleteColumn",kwnames
,&obj0
,&arg2
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (bool)(arg1
)->DeleteColumn(arg2
);
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= PyInt_FromLong((long)result
);
19260 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "self", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
19270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19273 result
= (bool)(arg1
)->DeleteAllColumns();
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= PyInt_FromLong((long)result
);
19285 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19288 PyObject
* obj0
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 (arg1
)->ClearAll();
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 Py_INCREF(Py_None
); resultobj
= Py_None
;
19309 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19313 wxTextCtrl
*result
;
19314 PyObject
* obj0
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self",(char *) "item", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EditLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= wxPyMake_wxObject(result
);
19337 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19342 PyObject
* obj0
= 0 ;
19343 PyObject
* obj1
= 0 ;
19344 char *kwnames
[] = {
19345 (char *) "self",(char *) "cancel", NULL
19348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19350 arg2
= PyInt_AsLong(obj1
) ? true : false;
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 result
= (bool)(arg1
)->EndEditLabel(arg2
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= PyInt_FromLong((long)result
);
19366 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19371 PyObject
* obj0
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "item", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_EnsureVisible",kwnames
,&obj0
,&arg2
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= (bool)(arg1
)->EnsureVisible(arg2
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 resultobj
= PyInt_FromLong((long)result
);
19392 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19396 wxString
*arg3
= 0 ;
19397 bool arg4
= (bool) False
;
19399 bool temp3
= False
;
19400 PyObject
* obj0
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 PyObject
* obj3
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|O:ListCtrl_FindItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19410 arg3
= wxString_in_helper(obj2
);
19411 if (arg3
== NULL
) SWIG_fail
;
19415 arg4
= PyInt_AsLong(obj3
) ? true : false;
19416 if (PyErr_Occurred()) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= PyInt_FromLong((long)result
);
19440 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19441 PyObject
*resultobj
;
19442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19446 PyObject
* obj0
= 0 ;
19447 char *kwnames
[] = {
19448 (char *) "self",(char *) "start",(char *) "data", NULL
19451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:ListCtrl_FindItemData",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= PyInt_FromLong((long)result
);
19467 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19471 wxPoint
*arg3
= 0 ;
19475 PyObject
* obj0
= 0 ;
19476 PyObject
* obj2
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 resultobj
= PyInt_FromLong((long)result
);
19501 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19504 wxPoint
*arg2
= 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "point", NULL
19516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
19517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= PyInt_FromLong((long)result
);
19531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19532 resultobj
= t_output_helper(resultobj
,o
);
19540 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19543 wxListItem
*arg2
= 0 ;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self",(char *) "info", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19554 if (arg2
== NULL
) {
19555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (long)(arg1
)->InsertItem(*arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= PyInt_FromLong((long)result
);
19571 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19575 wxString
*arg3
= 0 ;
19577 bool temp3
= False
;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj2
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "self",(char *) "index",(char *) "label", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19587 arg3
= wxString_in_helper(obj2
);
19588 if (arg3
== NULL
) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= PyInt_FromLong((long)result
);
19613 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
;
19615 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19619 PyObject
* obj0
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oli:ListCtrl_InsertImageItem",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= PyInt_FromLong((long)result
);
19640 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19644 wxString
*arg3
= 0 ;
19647 bool temp3
= False
;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj2
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19657 arg3
= wxString_in_helper(obj2
);
19658 if (arg3
== NULL
) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 resultobj
= PyInt_FromLong((long)result
);
19683 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19687 wxListItem
*arg3
= 0 ;
19689 PyObject
* obj0
= 0 ;
19690 PyObject
* obj2
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self",(char *) "col",(char *) "info", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19697 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19698 if (arg3
== NULL
) {
19699 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= PyInt_FromLong((long)result
);
19715 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19719 wxString
*arg3
= 0 ;
19720 int arg4
= (int) wxLIST_FORMAT_LEFT
;
19721 int arg5
= (int) -1 ;
19723 bool temp3
= False
;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj2
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 arg3
= wxString_in_helper(obj2
);
19734 if (arg3
== NULL
) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 resultobj
= PyInt_FromLong((long)result
);
19759 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19763 PyObject
* obj0
= 0 ;
19764 char *kwnames
[] = {
19765 (char *) "self",(char *) "count", NULL
19768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_SetItemCount",kwnames
,&obj0
,&arg2
)) goto fail
;
19769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19772 (arg1
)->SetItemCount(arg2
);
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 Py_INCREF(Py_None
); resultobj
= Py_None
;
19784 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19790 PyObject
* obj0
= 0 ;
19791 char *kwnames
[] = {
19792 (char *) "self",(char *) "dx",(char *) "dy", NULL
19795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListCtrl_ScrollList",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= PyInt_FromLong((long)result
);
19811 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19815 wxColour
*arg3
= 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj2
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "item",(char *) "col", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19827 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19843 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19844 PyObject
*resultobj
;
19845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "item", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19863 wxColour
* resultptr
;
19864 resultptr
= new wxColour((wxColour
&) result
);
19865 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19873 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19874 PyObject
*resultobj
;
19875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19877 wxColour
*arg3
= 0 ;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj2
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self",(char *) "item",(char *) "col", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self",(char *) "item", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&arg2
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 wxColour
* resultptr
;
19926 resultptr
= new wxColour((wxColour
&) result
);
19927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
19935 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19936 PyObject
*resultobj
;
19937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19938 PyObject
*arg2
= (PyObject
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 PyObject
* obj1
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self",(char *) "func", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
19947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19956 resultobj
= PyInt_FromLong((long)result
);
19963 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= wxPyMake_wxObject(result
);
19990 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
19992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19993 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
19995 return Py_BuildValue((char *)"");
19997 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxWindow
*arg1
= (wxWindow
*) 0 ;
20000 int arg2
= (int) -1 ;
20001 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20002 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20003 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20004 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20005 long arg5
= (long) wxLC_REPORT
;
20006 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20007 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20008 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20009 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20010 wxListView
*result
;
20013 bool temp7
= False
;
20014 PyObject
* obj0
= 0 ;
20015 PyObject
* obj2
= 0 ;
20016 PyObject
* obj3
= 0 ;
20017 PyObject
* obj5
= 0 ;
20018 PyObject
* obj6
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_ListView",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20028 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20034 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20038 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20039 if (arg6
== NULL
) {
20040 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20045 arg7
= wxString_in_helper(obj6
);
20046 if (arg7
== NULL
) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20072 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxListView
*result
;
20075 char *kwnames
[] = {
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (wxListView
*)new wxListView();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
20094 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxListView
*arg1
= (wxListView
*) 0 ;
20097 wxWindow
*arg2
= (wxWindow
*) 0 ;
20098 int arg3
= (int) -1 ;
20099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20103 long arg6
= (long) wxLC_REPORT
;
20104 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20105 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20106 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20111 bool temp8
= False
;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 PyObject
* obj3
= 0 ;
20115 PyObject
* obj4
= 0 ;
20116 PyObject
* obj6
= 0 ;
20117 PyObject
* obj7
= 0 ;
20118 char *kwnames
[] = {
20119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:ListView_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
20123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20124 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20138 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20139 if (arg7
== NULL
) {
20140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20145 arg8
= wxString_in_helper(obj7
);
20146 if (arg8
== NULL
) SWIG_fail
;
20151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20152 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20157 resultobj
= PyInt_FromLong((long)result
);
20172 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxListView
*arg1
= (wxListView
*) 0 ;
20176 bool arg3
= (bool) True
;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj2
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "n",(char *) "on", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|O:ListView_Select",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20186 arg3
= PyInt_AsLong(obj2
) ? true : false;
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 (arg1
)->Select(arg2
,arg3
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 Py_INCREF(Py_None
); resultobj
= Py_None
;
20203 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxListView
*arg1
= (wxListView
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "index", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_Focus",kwnames
,&obj0
,&arg2
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20216 (arg1
)->Focus(arg2
);
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20228 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxListView
*arg1
= (wxListView
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= PyInt_FromLong((long)result
);
20253 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxListView
*arg1
= (wxListView
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self",(char *) "item", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_GetNextSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20267 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= PyInt_FromLong((long)result
);
20279 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxListView
*arg1
= (wxListView
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
20294 wxPyEndAllowThreads(__tstate
);
20295 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= PyInt_FromLong((long)result
);
20304 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxListView
*arg1
= (wxListView
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "index", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ListView_IsSelected",kwnames
,&obj0
,&arg2
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20318 result
= (bool)(arg1
)->IsSelected(arg2
);
20320 wxPyEndAllowThreads(__tstate
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20323 resultobj
= PyInt_FromLong((long)result
);
20330 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxListView
*arg1
= (wxListView
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self",(char *) "col",(char *) "image", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:ListView_SetColumnImage",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 (arg1
)->SetColumnImage(arg2
,arg3
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 Py_INCREF(Py_None
); resultobj
= Py_None
;
20356 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxListView
*arg1
= (wxListView
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self",(char *) "col", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ListView_ClearColumnImage",kwnames
,&obj0
,&arg2
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 (arg1
)->ClearColumnImage(arg2
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 Py_INCREF(Py_None
); resultobj
= Py_None
;
20381 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
20383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20384 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
20386 return Py_BuildValue((char *)"");
20388 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
20389 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
20394 static PyObject
*_wrap_TreeCtrlNameStr_get() {
20399 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20401 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
20408 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxTreeItemId
*result
;
20411 char *kwnames
[] = {
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 result
= (wxTreeItemId
*)new wxTreeItemId();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
20430 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 Py_INCREF(Py_None
); resultobj
= Py_None
;
20454 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20458 PyObject
* obj0
= 0 ;
20459 char *kwnames
[] = {
20460 (char *) "self", NULL
20463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
20464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 resultobj
= PyInt_FromLong((long)result
);
20479 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20482 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 PyObject
* obj1
= 0 ;
20486 char *kwnames
[] = {
20487 (char *) "self",(char *) "other", NULL
20490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= PyInt_FromLong((long)result
);
20507 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20510 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 PyObject
* obj1
= 0 ;
20514 char *kwnames
[] = {
20515 (char *) "self",(char *) "other", NULL
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 resultobj
= PyInt_FromLong((long)result
);
20535 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20538 wxTreeItemIdValue arg2
= (wxTreeItemIdValue
) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "m_pItem", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
20548 if (arg1
) (arg1
)->m_pItem
= arg2
;
20550 Py_INCREF(Py_None
); resultobj
= Py_None
;
20557 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
20560 wxTreeItemIdValue result
;
20561 PyObject
* obj0
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20568 result
= (wxTreeItemIdValue
) ((arg1
)->m_pItem
);
20570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_wxTreeItemIdValue
, 0);
20577 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
20579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20580 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
20582 return Py_BuildValue((char *)"");
20584 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20585 PyObject
*resultobj
;
20586 PyObject
*arg1
= (PyObject
*) NULL
;
20587 wxPyTreeItemData
*result
;
20588 PyObject
* obj0
= 0 ;
20589 char *kwnames
[] = {
20590 (char *) "obj", NULL
20593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
20598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20599 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
20601 wxPyEndAllowThreads(__tstate
);
20602 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
20611 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20612 PyObject
*resultobj
;
20613 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (PyObject
*)(arg1
)->GetData();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20629 resultobj
= result
;
20636 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20639 PyObject
*arg2
= (PyObject
*) 0 ;
20640 PyObject
* obj0
= 0 ;
20641 PyObject
* obj1
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self",(char *) "obj", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 (arg1
)->SetData(arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 Py_INCREF(Py_None
); resultobj
= Py_None
;
20663 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20666 wxTreeItemId
*result
;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
20678 result
= (wxTreeItemId
*) &_result_ref
;
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
20691 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20694 wxTreeItemId
*arg2
= 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "id", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20704 if (arg2
== NULL
) {
20705 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 Py_INCREF(Py_None
); resultobj
= Py_None
;
20721 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
20724 PyObject
* obj0
= 0 ;
20725 char *kwnames
[] = {
20726 (char *) "self", NULL
20729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
20730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 wxPyTreeItemData_Destroy(arg1
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 Py_INCREF(Py_None
); resultobj
= Py_None
;
20745 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
20747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20748 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
20750 return Py_BuildValue((char *)"");
20752 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20753 PyObject
*resultobj
;
20754 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20755 int arg2
= (int) 0 ;
20756 wxTreeEvent
*result
;
20757 char *kwnames
[] = {
20758 (char *) "commandType",(char *) "id", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TreeEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
20776 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20779 wxTreeItemId result
;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20795 wxTreeItemId
* resultptr
;
20796 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20797 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20805 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20808 wxTreeItemId
*arg2
= 0 ;
20809 PyObject
* obj0
= 0 ;
20810 PyObject
* obj1
= 0 ;
20811 char *kwnames
[] = {
20812 (char *) "self",(char *) "item", NULL
20815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20817 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20818 if (arg2
== NULL
) {
20819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
20825 wxPyEndAllowThreads(__tstate
);
20826 if (PyErr_Occurred()) SWIG_fail
;
20828 Py_INCREF(Py_None
); resultobj
= Py_None
;
20835 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20838 wxTreeItemId result
;
20839 PyObject
* obj0
= 0 ;
20840 char *kwnames
[] = {
20841 (char *) "self", NULL
20844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20854 wxTreeItemId
* resultptr
;
20855 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
20856 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
20864 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20867 wxTreeItemId
*arg2
= 0 ;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self",(char *) "item", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20876 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20877 if (arg2
== NULL
) {
20878 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20913 wxPoint
* resultptr
;
20914 resultptr
= new wxPoint((wxPoint
&) result
);
20915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20923 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20926 wxPoint
*arg2
= 0 ;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "pt", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 Py_INCREF(Py_None
); resultobj
= Py_None
;
20954 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20957 wxKeyEvent
*result
;
20958 PyObject
* obj0
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20968 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
20969 result
= (wxKeyEvent
*) &_result_ref
;
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
20982 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= PyInt_FromLong((long)result
);
21007 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21010 wxKeyEvent
*arg2
= 0 ;
21011 PyObject
* obj0
= 0 ;
21012 PyObject
* obj1
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self",(char *) "evt", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21019 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21020 if (arg2
== NULL
) {
21021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 Py_INCREF(Py_None
); resultobj
= Py_None
;
21037 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
21052 result
= (wxString
*) &_result_ref
;
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21062 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21071 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21074 wxString
*arg2
= 0 ;
21075 bool temp2
= False
;
21076 PyObject
* obj0
= 0 ;
21077 PyObject
* obj1
= 0 ;
21078 char *kwnames
[] = {
21079 (char *) "self",(char *) "label", NULL
21082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21085 arg2
= wxString_in_helper(obj1
);
21086 if (arg2
== NULL
) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 (arg1
)->SetLabel((wxString
const &)*arg2
);
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= PyInt_FromLong((long)result
);
21136 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self",(char *) "editCancelled", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21148 arg2
= PyInt_AsLong(obj1
) ? true : false;
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 (arg1
)->SetEditCanceled(arg2
);
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21157 Py_INCREF(Py_None
); resultobj
= Py_None
;
21164 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
21167 wxString
*arg2
= 0 ;
21168 bool temp2
= False
;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self",(char *) "toolTip", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21178 arg2
= wxString_in_helper(obj1
);
21179 if (arg2
== NULL
) SWIG_fail
;
21183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21184 (arg1
)->SetToolTip((wxString
const &)*arg2
);
21186 wxPyEndAllowThreads(__tstate
);
21187 if (PyErr_Occurred()) SWIG_fail
;
21189 Py_INCREF(Py_None
); resultobj
= Py_None
;
21204 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
21206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21207 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
21209 return Py_BuildValue((char *)"");
21211 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21212 PyObject
*resultobj
;
21213 wxWindow
*arg1
= (wxWindow
*) 0 ;
21214 int arg2
= (int) -1 ;
21215 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21216 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21217 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21218 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21219 long arg5
= (long) wxTR_DEFAULT_STYLE
;
21220 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21221 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21222 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
21223 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21224 wxPyTreeCtrl
*result
;
21227 bool temp7
= False
;
21228 PyObject
* obj0
= 0 ;
21229 PyObject
* obj2
= 0 ;
21230 PyObject
* obj3
= 0 ;
21231 PyObject
* obj5
= 0 ;
21232 PyObject
* obj6
= 0 ;
21233 char *kwnames
[] = {
21234 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOlOO:new_TreeCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
21238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21242 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21248 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21252 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 if (arg6
== NULL
) {
21254 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21259 arg7
= wxString_in_helper(obj6
);
21260 if (arg7
== NULL
) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= wxPyMake_wxObject(result
);
21288 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxPyTreeCtrl
*result
;
21291 char *kwnames
[] = {
21295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= wxPyMake_wxObject(result
);
21312 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21315 wxWindow
*arg2
= (wxWindow
*) 0 ;
21316 int arg3
= (int) -1 ;
21317 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21318 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21319 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21320 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21321 long arg6
= (long) wxTR_DEFAULT_STYLE
;
21322 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21323 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21324 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
21325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21329 bool temp8
= False
;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 PyObject
* obj3
= 0 ;
21333 PyObject
* obj4
= 0 ;
21334 PyObject
* obj6
= 0 ;
21335 PyObject
* obj7
= 0 ;
21336 char *kwnames
[] = {
21337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
21341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21346 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21352 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21356 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21357 if (arg7
== NULL
) {
21358 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21363 arg8
= wxString_in_helper(obj7
);
21364 if (arg8
== NULL
) SWIG_fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= PyInt_FromLong((long)result
);
21390 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21393 PyObject
*arg2
= (PyObject
*) 0 ;
21394 PyObject
*arg3
= (PyObject
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 PyObject
* obj1
= 0 ;
21397 PyObject
* obj2
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self",(char *) "self",(char *) "_class", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 Py_INCREF(Py_None
); resultobj
= Py_None
;
21420 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 resultobj
= PyInt_FromLong((long)result
);
21445 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21448 unsigned int result
;
21449 PyObject
* obj0
= 0 ;
21450 char *kwnames
[] = {
21451 (char *) "self", NULL
21454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
21455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= PyInt_FromLong((long)result
);
21470 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21471 PyObject
*resultobj
;
21472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21473 unsigned int arg2
;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "self",(char *) "indent", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
21481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21482 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 (arg1
)->SetIndent(arg2
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 Py_INCREF(Py_None
); resultobj
= Py_None
;
21498 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21501 unsigned int result
;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= PyInt_FromLong((long)result
);
21523 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21526 unsigned int arg2
;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "spacing", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21535 arg2
= (unsigned int) PyInt_AsLong(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 (arg1
)->SetSpacing(arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21554 wxImageList
*result
;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 resultobj
= wxPyMake_wxObject(result
);
21578 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21579 PyObject
*resultobj
;
21580 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21581 wxImageList
*result
;
21582 PyObject
* obj0
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= wxPyMake_wxObject(result
);
21605 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21608 wxImageList
*arg2
= (wxImageList
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "imageList", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21617 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->SetImageList(arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21632 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21633 PyObject
*resultobj
;
21634 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21635 wxImageList
*arg2
= (wxImageList
*) 0 ;
21636 PyObject
* obj0
= 0 ;
21637 PyObject
* obj1
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self",(char *) "imageList", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21647 (arg1
)->SetStateImageList(arg2
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 Py_INCREF(Py_None
); resultobj
= Py_None
;
21659 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21660 PyObject
*resultobj
;
21661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21662 wxImageList
*arg2
= (wxImageList
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 char *kwnames
[] = {
21666 (char *) "self",(char *) "imageList", NULL
21669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->AssignImageList(arg2
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21689 wxImageList
*arg2
= (wxImageList
*) 0 ;
21690 PyObject
* obj0
= 0 ;
21691 PyObject
* obj1
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "imageList", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21701 (arg1
)->AssignStateImageList(arg2
);
21703 wxPyEndAllowThreads(__tstate
);
21704 if (PyErr_Occurred()) SWIG_fail
;
21706 Py_INCREF(Py_None
); resultobj
= Py_None
;
21713 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21716 wxTreeItemId
*arg2
= 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "item", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21727 if (arg2
== NULL
) {
21728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21750 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21753 wxTreeItemId
*arg2
= 0 ;
21754 int arg3
= (int) wxTreeItemIcon_Normal
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "item",(char *) "which", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= PyInt_FromLong((long)result
);
21782 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21785 wxTreeItemId
*arg2
= 0 ;
21786 wxPyTreeItemData
*result
;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "item", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21796 if (arg2
== NULL
) {
21797 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
21813 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21816 wxTreeItemId
*arg2
= 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "item", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21826 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21827 if (arg2
== NULL
) {
21828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= result
;
21844 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21845 PyObject
*resultobj
;
21846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21847 wxTreeItemId
*arg2
= 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "item", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 if (arg2
== NULL
) {
21859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21869 wxColour
* resultptr
;
21870 resultptr
= new wxColour((wxColour
&) result
);
21871 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21879 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
;
21881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21882 wxTreeItemId
*arg2
= 0 ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "item", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21892 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21893 if (arg2
== NULL
) {
21894 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21904 wxColour
* resultptr
;
21905 resultptr
= new wxColour((wxColour
&) result
);
21906 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21914 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21917 wxTreeItemId
*arg2
= 0 ;
21919 PyObject
* obj0
= 0 ;
21920 PyObject
* obj1
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "item", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21927 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21928 if (arg2
== NULL
) {
21929 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 wxFont
* resultptr
;
21940 resultptr
= new wxFont((wxFont
&) result
);
21941 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
21949 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21950 PyObject
*resultobj
;
21951 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21952 wxTreeItemId
*arg2
= 0 ;
21953 wxString
*arg3
= 0 ;
21954 bool temp3
= False
;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 PyObject
* obj2
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "item",(char *) "text", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21965 if (arg2
== NULL
) {
21966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21969 arg3
= wxString_in_helper(obj2
);
21970 if (arg3
== NULL
) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 Py_INCREF(Py_None
); resultobj
= Py_None
;
21995 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21996 PyObject
*resultobj
;
21997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
21998 wxTreeItemId
*arg2
= 0 ;
22000 int arg4
= (int) wxTreeItemIcon_Normal
;
22001 PyObject
* obj0
= 0 ;
22002 PyObject
* obj1
= 0 ;
22003 char *kwnames
[] = {
22004 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
22008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22009 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22010 if (arg2
== NULL
) {
22011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22027 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22030 wxTreeItemId
*arg2
= 0 ;
22031 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 PyObject
* obj2
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "item",(char *) "data", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22042 if (arg2
== NULL
) {
22043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22045 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22048 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 Py_INCREF(Py_None
); resultobj
= Py_None
;
22060 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22063 wxTreeItemId
*arg2
= 0 ;
22064 PyObject
*arg3
= (PyObject
*) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "item",(char *) "obj", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22075 if (arg2
== NULL
) {
22076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 Py_INCREF(Py_None
); resultobj
= Py_None
;
22093 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22096 wxTreeItemId
*arg2
= 0 ;
22097 bool arg3
= (bool) True
;
22098 PyObject
* obj0
= 0 ;
22099 PyObject
* obj1
= 0 ;
22100 PyObject
* obj2
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "item",(char *) "has", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22108 if (arg2
== NULL
) {
22109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22112 arg3
= PyInt_AsLong(obj2
) ? true : false;
22113 if (PyErr_Occurred()) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 Py_INCREF(Py_None
); resultobj
= Py_None
;
22129 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22132 wxTreeItemId
*arg2
= 0 ;
22133 bool arg3
= (bool) True
;
22134 PyObject
* obj0
= 0 ;
22135 PyObject
* obj1
= 0 ;
22136 PyObject
* obj2
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self",(char *) "item",(char *) "bold", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22144 if (arg2
== NULL
) {
22145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22148 arg3
= PyInt_AsLong(obj2
) ? true : false;
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22168 wxTreeItemId
*arg2
= 0 ;
22169 bool arg3
= (bool) True
;
22170 PyObject
* obj0
= 0 ;
22171 PyObject
* obj1
= 0 ;
22172 PyObject
* obj2
= 0 ;
22173 char *kwnames
[] = {
22174 (char *) "self",(char *) "item",(char *) "highlight", NULL
22177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22180 if (arg2
== NULL
) {
22181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22184 arg3
= PyInt_AsLong(obj2
) ? true : false;
22185 if (PyErr_Occurred()) SWIG_fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 Py_INCREF(Py_None
); resultobj
= Py_None
;
22201 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22204 wxTreeItemId
*arg2
= 0 ;
22205 wxColour
*arg3
= 0 ;
22207 PyObject
* obj0
= 0 ;
22208 PyObject
* obj1
= 0 ;
22209 PyObject
* obj2
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self",(char *) "item",(char *) "col", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22217 if (arg2
== NULL
) {
22218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22222 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 Py_INCREF(Py_None
); resultobj
= Py_None
;
22238 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22241 wxTreeItemId
*arg2
= 0 ;
22242 wxColour
*arg3
= 0 ;
22244 PyObject
* obj0
= 0 ;
22245 PyObject
* obj1
= 0 ;
22246 PyObject
* obj2
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self",(char *) "item",(char *) "col", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22254 if (arg2
== NULL
) {
22255 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22259 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 Py_INCREF(Py_None
); resultobj
= Py_None
;
22275 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22278 wxTreeItemId
*arg2
= 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 PyObject
* obj2
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self",(char *) "item",(char *) "font", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 if (arg2
== NULL
) {
22291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22293 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22294 if (arg3
== NULL
) {
22295 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22314 wxTreeItemId
*arg2
= 0 ;
22316 PyObject
* obj0
= 0 ;
22317 PyObject
* obj1
= 0 ;
22318 char *kwnames
[] = {
22319 (char *) "self",(char *) "item", NULL
22322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22325 if (arg2
== NULL
) {
22326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 resultobj
= PyInt_FromLong((long)result
);
22342 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22345 wxTreeItemId
*arg2
= 0 ;
22347 PyObject
* obj0
= 0 ;
22348 PyObject
* obj1
= 0 ;
22349 char *kwnames
[] = {
22350 (char *) "self",(char *) "item", NULL
22353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
22354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22356 if (arg2
== NULL
) {
22357 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= PyInt_FromLong((long)result
);
22373 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22376 wxTreeItemId
*arg2
= 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self",(char *) "item", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22387 if (arg2
== NULL
) {
22388 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= PyInt_FromLong((long)result
);
22404 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22407 wxTreeItemId
*arg2
= 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 char *kwnames
[] = {
22412 (char *) "self",(char *) "item", NULL
22415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22418 if (arg2
== NULL
) {
22419 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 resultobj
= PyInt_FromLong((long)result
);
22435 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22438 wxTreeItemId
*arg2
= 0 ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self",(char *) "item", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22449 if (arg2
== NULL
) {
22450 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22454 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= PyInt_FromLong((long)result
);
22466 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22469 wxTreeItemId
*arg2
= 0 ;
22470 bool arg3
= (bool) True
;
22472 PyObject
* obj0
= 0 ;
22473 PyObject
* obj1
= 0 ;
22474 PyObject
* obj2
= 0 ;
22475 char *kwnames
[] = {
22476 (char *) "self",(char *) "item",(char *) "recursively", NULL
22479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22482 if (arg2
== NULL
) {
22483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22486 arg3
= PyInt_AsLong(obj2
) ? true : false;
22487 if (PyErr_Occurred()) SWIG_fail
;
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= PyInt_FromLong((long)result
);
22503 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22506 wxTreeItemId result
;
22507 PyObject
* obj0
= 0 ;
22508 char *kwnames
[] = {
22509 (char *) "self", NULL
22512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
22513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22522 wxTreeItemId
* resultptr
;
22523 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22532 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22533 PyObject
*resultobj
;
22534 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22535 wxTreeItemId result
;
22536 PyObject
* obj0
= 0 ;
22537 char *kwnames
[] = {
22538 (char *) "self", NULL
22541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
22542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22551 wxTreeItemId
* resultptr
;
22552 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22553 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22561 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= result
;
22586 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22589 wxTreeItemId
*arg2
= 0 ;
22590 wxTreeItemId result
;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "item", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22600 if (arg2
== NULL
) {
22601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22611 wxTreeItemId
* resultptr
;
22612 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22613 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22621 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22624 wxTreeItemId
*arg2
= 0 ;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 char *kwnames
[] = {
22629 (char *) "self",(char *) "item", NULL
22632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22635 if (arg2
== NULL
) {
22636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 resultobj
= result
;
22652 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22655 wxTreeItemId
*arg2
= 0 ;
22656 wxTreeItemIdValue
*arg3
= 0 ;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "item",(char *) "cookie", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22668 if (arg2
== NULL
) {
22669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22671 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemIdValue
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22672 if (arg3
== NULL
) {
22673 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,*arg3
);
22679 wxPyEndAllowThreads(__tstate
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22682 resultobj
= result
;
22689 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22692 wxTreeItemId
*arg2
= 0 ;
22693 wxTreeItemId result
;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self",(char *) "item", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22703 if (arg2
== NULL
) {
22704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22714 wxTreeItemId
* resultptr
;
22715 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22716 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22724 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22725 PyObject
*resultobj
;
22726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22727 wxTreeItemId
*arg2
= 0 ;
22728 wxTreeItemId result
;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "item", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22738 if (arg2
== NULL
) {
22739 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
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);
22759 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22762 wxTreeItemId
*arg2
= 0 ;
22763 wxTreeItemId result
;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 char *kwnames
[] = {
22767 (char *) "self",(char *) "item", NULL
22770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
22771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22773 if (arg2
== NULL
) {
22774 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22784 wxTreeItemId
* resultptr
;
22785 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22786 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22794 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22797 wxTreeItemId result
;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22813 wxTreeItemId
* resultptr
;
22814 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22815 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22823 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22826 wxTreeItemId
*arg2
= 0 ;
22827 wxTreeItemId result
;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char *kwnames
[] = {
22831 (char *) "self",(char *) "item", NULL
22834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22837 if (arg2
== NULL
) {
22838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22842 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
22844 wxPyEndAllowThreads(__tstate
);
22845 if (PyErr_Occurred()) SWIG_fail
;
22848 wxTreeItemId
* resultptr
;
22849 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22850 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22858 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22861 wxTreeItemId
*arg2
= 0 ;
22862 wxTreeItemId result
;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "item", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22872 if (arg2
== NULL
) {
22873 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22883 wxTreeItemId
* resultptr
;
22884 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22893 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22896 wxString
*arg2
= 0 ;
22897 int arg3
= (int) -1 ;
22898 int arg4
= (int) -1 ;
22899 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
22900 wxTreeItemId result
;
22901 bool temp2
= False
;
22902 PyObject
* obj0
= 0 ;
22903 PyObject
* obj1
= 0 ;
22904 PyObject
* obj4
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22912 arg2
= wxString_in_helper(obj1
);
22913 if (arg2
== NULL
) SWIG_fail
;
22917 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 wxTreeItemId
* resultptr
;
22928 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22945 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
22948 wxTreeItemId
*arg2
= 0 ;
22949 wxString
*arg3
= 0 ;
22950 int arg4
= (int) -1 ;
22951 int arg5
= (int) -1 ;
22952 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
22953 wxTreeItemId result
;
22954 bool temp3
= False
;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 PyObject
* obj2
= 0 ;
22958 PyObject
* obj5
= 0 ;
22959 char *kwnames
[] = {
22960 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
22964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22965 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22966 if (arg2
== NULL
) {
22967 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22970 arg3
= wxString_in_helper(obj2
);
22971 if (arg3
== NULL
) SWIG_fail
;
22975 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22985 wxTreeItemId
* resultptr
;
22986 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22987 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23003 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23005 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23006 wxTreeItemId
*arg2
= 0 ;
23007 wxTreeItemId
*arg3
= 0 ;
23008 wxString
*arg4
= 0 ;
23009 int arg5
= (int) -1 ;
23010 int arg6
= (int) -1 ;
23011 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23012 wxTreeItemId result
;
23013 bool temp4
= False
;
23014 PyObject
* obj0
= 0 ;
23015 PyObject
* obj1
= 0 ;
23016 PyObject
* obj2
= 0 ;
23017 PyObject
* obj3
= 0 ;
23018 PyObject
* obj6
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23026 if (arg2
== NULL
) {
23027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23029 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23030 if (arg3
== NULL
) {
23031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23034 arg4
= wxString_in_helper(obj3
);
23035 if (arg4
== NULL
) SWIG_fail
;
23039 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23049 wxTreeItemId
* resultptr
;
23050 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23051 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23067 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23070 wxTreeItemId
*arg2
= 0 ;
23072 wxString
*arg4
= 0 ;
23073 int arg5
= (int) -1 ;
23074 int arg6
= (int) -1 ;
23075 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
23076 wxTreeItemId result
;
23077 bool temp4
= False
;
23078 PyObject
* obj0
= 0 ;
23079 PyObject
* obj1
= 0 ;
23080 PyObject
* obj2
= 0 ;
23081 PyObject
* obj3
= 0 ;
23082 PyObject
* obj6
= 0 ;
23083 char *kwnames
[] = {
23084 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
23088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23090 if (arg2
== NULL
) {
23091 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23093 arg3
= (size_t) PyInt_AsLong(obj2
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23096 arg4
= wxString_in_helper(obj3
);
23097 if (arg4
== NULL
) SWIG_fail
;
23101 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23105 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
23107 wxPyEndAllowThreads(__tstate
);
23108 if (PyErr_Occurred()) SWIG_fail
;
23111 wxTreeItemId
* resultptr
;
23112 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23113 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23129 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23132 wxTreeItemId
*arg2
= 0 ;
23133 wxString
*arg3
= 0 ;
23134 int arg4
= (int) -1 ;
23135 int arg5
= (int) -1 ;
23136 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
23137 wxTreeItemId result
;
23138 bool temp3
= False
;
23139 PyObject
* obj0
= 0 ;
23140 PyObject
* obj1
= 0 ;
23141 PyObject
* obj2
= 0 ;
23142 PyObject
* obj5
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 if (arg2
== NULL
) {
23151 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23154 arg3
= wxString_in_helper(obj2
);
23155 if (arg3
== NULL
) SWIG_fail
;
23159 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23169 wxTreeItemId
* resultptr
;
23170 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23171 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23187 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23190 wxTreeItemId
*arg2
= 0 ;
23191 PyObject
* obj0
= 0 ;
23192 PyObject
* obj1
= 0 ;
23193 char *kwnames
[] = {
23194 (char *) "self",(char *) "item", NULL
23197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
23198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23200 if (arg2
== NULL
) {
23201 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23217 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23220 wxTreeItemId
*arg2
= 0 ;
23221 PyObject
* obj0
= 0 ;
23222 PyObject
* obj1
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self",(char *) "item", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23230 if (arg2
== NULL
) {
23231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 Py_INCREF(Py_None
); resultobj
= Py_None
;
23247 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23248 PyObject
*resultobj
;
23249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 (arg1
)->DeleteAllItems();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 Py_INCREF(Py_None
); resultobj
= Py_None
;
23271 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23274 wxTreeItemId
*arg2
= 0 ;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "item", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23283 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23284 if (arg2
== NULL
) {
23285 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 Py_INCREF(Py_None
); resultobj
= Py_None
;
23301 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23304 wxTreeItemId
*arg2
= 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "item", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23314 if (arg2
== NULL
) {
23315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 Py_INCREF(Py_None
); resultobj
= Py_None
;
23331 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23334 wxTreeItemId
*arg2
= 0 ;
23335 PyObject
* obj0
= 0 ;
23336 PyObject
* obj1
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self",(char *) "item", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23343 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23344 if (arg2
== NULL
) {
23345 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23364 wxTreeItemId
*arg2
= 0 ;
23365 PyObject
* obj0
= 0 ;
23366 PyObject
* obj1
= 0 ;
23367 char *kwnames
[] = {
23368 (char *) "self",(char *) "item", NULL
23371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
23372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23374 if (arg2
== NULL
) {
23375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23394 PyObject
* obj0
= 0 ;
23395 char *kwnames
[] = {
23396 (char *) "self", NULL
23399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
23400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 (arg1
)->Unselect();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 Py_INCREF(Py_None
); resultobj
= Py_None
;
23415 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23416 PyObject
*resultobj
;
23417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 (arg1
)->UnselectAll();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 Py_INCREF(Py_None
); resultobj
= Py_None
;
23439 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23440 PyObject
*resultobj
;
23441 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23442 wxTreeItemId
*arg2
= 0 ;
23443 PyObject
* obj0
= 0 ;
23444 PyObject
* obj1
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self",(char *) "item", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23452 if (arg2
== NULL
) {
23453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 Py_INCREF(Py_None
); resultobj
= Py_None
;
23469 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23472 wxTreeItemId
*arg2
= 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self",(char *) "item", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23482 if (arg2
== NULL
) {
23483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23492 Py_INCREF(Py_None
); resultobj
= Py_None
;
23499 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23500 PyObject
*resultobj
;
23501 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23502 wxTreeItemId
*arg2
= 0 ;
23503 PyObject
* obj0
= 0 ;
23504 PyObject
* obj1
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self",(char *) "item", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23512 if (arg2
== NULL
) {
23513 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 Py_INCREF(Py_None
); resultobj
= Py_None
;
23529 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23532 wxTreeItemId
*arg2
= 0 ;
23533 PyObject
* obj0
= 0 ;
23534 PyObject
* obj1
= 0 ;
23535 char *kwnames
[] = {
23536 (char *) "self",(char *) "item", NULL
23539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23542 if (arg2
== NULL
) {
23543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23562 wxTextCtrl
*result
;
23563 PyObject
* obj0
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= wxPyMake_wxObject(result
);
23586 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23589 wxTreeItemId
*arg2
= 0 ;
23590 bool arg3
= (bool) False
;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 PyObject
* obj2
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23601 if (arg2
== NULL
) {
23602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23605 arg3
= PyInt_AsLong(obj2
) ? true : false;
23606 if (PyErr_Occurred()) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23625 wxTreeItemId
*arg2
= 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "item", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23635 if (arg2
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23655 wxPoint
*arg2
= 0 ;
23657 wxTreeItemId result
;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "point", NULL
23667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23671 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 wxTreeItemId
* resultptr
;
23682 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23686 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23687 resultobj
= t_output_helper(resultobj
,o
);
23695 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23698 wxTreeItemId
*arg2
= 0 ;
23699 bool arg3
= (bool) False
;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 PyObject
* obj2
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23711 if (arg2
== NULL
) {
23712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23715 arg3
= PyInt_AsLong(obj2
) ? true : false;
23716 if (PyErr_Occurred()) SWIG_fail
;
23719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23720 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
23722 wxPyEndAllowThreads(__tstate
);
23723 if (PyErr_Occurred()) SWIG_fail
;
23725 resultobj
= result
;
23732 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23735 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
23737 return Py_BuildValue((char *)"");
23739 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
23740 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
23745 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
23750 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23752 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
23759 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
;
23761 wxWindow
*arg1
= (wxWindow
*) 0 ;
23762 int arg2
= (int) (int)-1 ;
23763 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
23764 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
23765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23769 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23770 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23771 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23772 int arg8
= (int) 0 ;
23773 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
23774 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23775 wxGenericDirCtrl
*result
;
23776 bool temp3
= False
;
23779 bool temp7
= False
;
23780 bool temp9
= False
;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj2
= 0 ;
23783 PyObject
* obj3
= 0 ;
23784 PyObject
* obj4
= 0 ;
23785 PyObject
* obj6
= 0 ;
23786 PyObject
* obj8
= 0 ;
23787 char *kwnames
[] = {
23788 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&obj8
)) goto fail
;
23792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23795 arg3
= wxString_in_helper(obj2
);
23796 if (arg3
== NULL
) SWIG_fail
;
23803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23814 arg7
= wxString_in_helper(obj6
);
23815 if (arg7
== NULL
) SWIG_fail
;
23821 arg9
= wxString_in_helper(obj8
);
23822 if (arg9
== NULL
) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23864 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxGenericDirCtrl
*result
;
23867 char *kwnames
[] = {
23871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
23886 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23887 PyObject
*resultobj
;
23888 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23889 wxWindow
*arg2
= (wxWindow
*) 0 ;
23890 int arg3
= (int) (int)-1 ;
23891 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
23892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
23893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
23894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
23895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
23896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
23897 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
23898 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23899 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23900 int arg9
= (int) 0 ;
23901 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
23902 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
23904 bool temp4
= False
;
23907 bool temp8
= False
;
23908 bool temp10
= False
;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj3
= 0 ;
23912 PyObject
* obj4
= 0 ;
23913 PyObject
* obj5
= 0 ;
23914 PyObject
* obj7
= 0 ;
23915 PyObject
* obj9
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
,&arg7
,&obj7
,&arg9
,&obj9
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23925 arg4
= wxString_in_helper(obj3
);
23926 if (arg4
== NULL
) SWIG_fail
;
23933 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
23939 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
23944 arg8
= wxString_in_helper(obj7
);
23945 if (arg8
== NULL
) SWIG_fail
;
23951 arg10
= wxString_in_helper(obj9
);
23952 if (arg10
== NULL
) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= PyInt_FromLong((long)result
);
23994 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23995 PyObject
*resultobj
;
23996 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
23997 wxString
*arg2
= 0 ;
23999 bool temp2
= False
;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "path", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24009 arg2
= wxString_in_helper(obj1
);
24010 if (arg2
== NULL
) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= PyInt_FromLong((long)result
);
24035 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24036 PyObject
*resultobj
;
24037 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24066 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24069 wxString
*arg2
= 0 ;
24070 bool temp2
= False
;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "path", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24080 arg2
= wxString_in_helper(obj1
);
24081 if (arg2
== NULL
) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24106 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24137 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24168 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24171 wxString
*arg2
= 0 ;
24172 bool temp2
= False
;
24173 PyObject
* obj0
= 0 ;
24174 PyObject
* obj1
= 0 ;
24175 char *kwnames
[] = {
24176 (char *) "self",(char *) "path", NULL
24179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
24180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24182 arg2
= wxString_in_helper(obj1
);
24183 if (arg2
== NULL
) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 (arg1
)->SetPath((wxString
const &)*arg2
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 PyObject
* obj1
= 0 ;
24214 char *kwnames
[] = {
24215 (char *) "self",(char *) "show", NULL
24218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
24219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24220 arg2
= PyInt_AsLong(obj1
) ? true : false;
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->ShowHidden(arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)(arg1
)->GetShowHidden();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= PyInt_FromLong((long)result
);
24261 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24292 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24295 wxString
*arg2
= 0 ;
24296 bool temp2
= False
;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "filter", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24306 arg2
= wxString_in_helper(obj1
);
24307 if (arg2
== NULL
) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 (arg1
)->SetFilter((wxString
const &)*arg2
);
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 Py_INCREF(Py_None
); resultobj
= Py_None
;
24332 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24336 PyObject
* obj0
= 0 ;
24337 char *kwnames
[] = {
24338 (char *) "self", NULL
24341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
24342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= PyInt_FromLong((long)result
);
24357 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "n", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&arg2
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24370 (arg1
)->SetFilterIndex(arg2
);
24372 wxPyEndAllowThreads(__tstate
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 Py_INCREF(Py_None
); resultobj
= Py_None
;
24382 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24383 PyObject
*resultobj
;
24384 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24385 wxTreeItemId result
;
24386 PyObject
* obj0
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 result
= (arg1
)->GetRootId();
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 wxTreeItemId
* resultptr
;
24402 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24403 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24411 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24414 wxPyTreeCtrl
*result
;
24415 PyObject
* obj0
= 0 ;
24416 char *kwnames
[] = {
24417 (char *) "self", NULL
24420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
24421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= wxPyMake_wxObject(result
);
24438 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24439 PyObject
*resultobj
;
24440 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24441 wxDirFilterListCtrl
*result
;
24442 PyObject
* obj0
= 0 ;
24443 char *kwnames
[] = {
24444 (char *) "self", NULL
24447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
24448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
24453 wxPyEndAllowThreads(__tstate
);
24454 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
24463 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24466 wxTreeItemId arg2
;
24467 wxString
*arg3
= 0 ;
24469 wxTreeItemId result
;
24470 wxTreeItemId
*argp2
;
24471 bool temp3
= False
;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 PyObject
* obj2
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "parentId",(char *) "path", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
24486 arg3
= wxString_in_helper(obj2
);
24487 if (arg3
== NULL
) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 wxTreeItemId
* resultptr
;
24499 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24500 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24503 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
24504 resultobj
= t_output_helper(resultobj
,o
);
24520 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 (arg1
)->DoResize();
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 Py_INCREF(Py_None
); resultobj
= Py_None
;
24544 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24547 PyObject
* obj0
= 0 ;
24548 char *kwnames
[] = {
24549 (char *) "self", NULL
24552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
24553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24556 (arg1
)->ReCreateTree();
24558 wxPyEndAllowThreads(__tstate
);
24559 if (PyErr_Occurred()) SWIG_fail
;
24561 Py_INCREF(Py_None
); resultobj
= Py_None
;
24568 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24571 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
24573 return Py_BuildValue((char *)"");
24575 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
24578 int arg2
= (int) (int)-1 ;
24579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24583 long arg5
= (long) 0 ;
24584 wxDirFilterListCtrl
*result
;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj2
= 0 ;
24589 PyObject
* obj3
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24622 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxDirFilterListCtrl
*result
;
24625 char *kwnames
[] = {
24629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
24631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24632 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
24634 wxPyEndAllowThreads(__tstate
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
24644 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24647 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
24648 int arg3
= (int) (int)-1 ;
24649 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24650 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24651 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24652 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24653 long arg6
= (long) 0 ;
24657 PyObject
* obj0
= 0 ;
24658 PyObject
* obj1
= 0 ;
24659 PyObject
* obj3
= 0 ;
24660 PyObject
* obj4
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
24684 wxPyEndAllowThreads(__tstate
);
24685 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= PyInt_FromLong((long)result
);
24694 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24695 PyObject
*resultobj
;
24696 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
24697 wxString
*arg2
= 0 ;
24699 bool temp2
= False
;
24700 PyObject
* obj0
= 0 ;
24701 PyObject
* obj1
= 0 ;
24702 char *kwnames
[] = {
24703 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
24707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24709 arg2
= wxString_in_helper(obj1
);
24710 if (arg2
== NULL
) SWIG_fail
;
24714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24715 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
24717 wxPyEndAllowThreads(__tstate
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 Py_INCREF(Py_None
); resultobj
= Py_None
;
24735 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
24737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24738 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
24740 return Py_BuildValue((char *)"");
24742 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxWindow
*arg1
= (wxWindow
*) 0 ;
24746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24750 long arg5
= (long) 0 ;
24751 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24752 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24753 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
24754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24755 wxPyControl
*result
;
24758 bool temp7
= False
;
24759 PyObject
* obj0
= 0 ;
24760 PyObject
* obj2
= 0 ;
24761 PyObject
* obj3
= 0 ;
24762 PyObject
* obj5
= 0 ;
24763 PyObject
* obj6
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_PyControl",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24773 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24779 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24783 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24784 if (arg6
== NULL
) {
24785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24790 arg7
= wxString_in_helper(obj6
);
24791 if (arg7
== NULL
) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
24817 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24820 PyObject
*arg2
= (PyObject
*) 0 ;
24821 PyObject
*arg3
= (PyObject
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 PyObject
* obj2
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "self",(char *) "_class", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24854 PyObject
* obj0
= 0 ;
24855 char *kwnames
[] = {
24856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
24860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 Py_INCREF(Py_None
); resultobj
= Py_None
;
24875 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24876 PyObject
*resultobj
;
24877 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24882 int arg6
= (int) wxSIZE_AUTO
;
24883 PyObject
* obj0
= 0 ;
24884 char *kwnames
[] = {
24885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
24889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24892 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 Py_INCREF(Py_None
); resultobj
= Py_None
;
24904 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
;
24906 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24909 PyObject
* obj0
= 0 ;
24910 char *kwnames
[] = {
24911 (char *) "self",(char *) "width",(char *) "height", NULL
24914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24931 PyObject
*resultobj
;
24932 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24935 PyObject
* obj0
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self",(char *) "x",(char *) "y", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24959 int *arg2
= (int *) 0 ;
24960 int *arg3
= (int *) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self", NULL
24970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
24971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 Py_INCREF(Py_None
); resultobj
= Py_None
;
24981 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
24982 resultobj
= t_output_helper(resultobj
,o
);
24985 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
24986 resultobj
= t_output_helper(resultobj
,o
);
24994 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
24997 int *arg2
= (int *) 0 ;
24998 int *arg3
= (int *) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
25014 wxPyEndAllowThreads(__tstate
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25017 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25020 resultobj
= t_output_helper(resultobj
,o
);
25023 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25024 resultobj
= t_output_helper(resultobj
,o
);
25032 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25035 int *arg2
= (int *) 0 ;
25036 int *arg3
= (int *) 0 ;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
25047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 Py_INCREF(Py_None
); resultobj
= Py_None
;
25057 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25058 resultobj
= t_output_helper(resultobj
,o
);
25061 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25062 resultobj
= t_output_helper(resultobj
,o
);
25070 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 char *kwnames
[] = {
25076 (char *) "self", NULL
25079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
25080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 wxSize
* resultptr
;
25090 resultptr
= new wxSize((wxSize
&) result
);
25091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25099 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25103 PyObject
* obj0
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25118 wxSize
* resultptr
;
25119 resultptr
= new wxSize((wxSize
&) result
);
25120 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25128 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 char *kwnames
[] = {
25133 (char *) "self", NULL
25136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
25137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25140 (arg1
)->base_InitDialog();
25142 wxPyEndAllowThreads(__tstate
);
25143 if (PyErr_Occurred()) SWIG_fail
;
25145 Py_INCREF(Py_None
); resultobj
= Py_None
;
25152 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25153 PyObject
*resultobj
;
25154 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25156 PyObject
* obj0
= 0 ;
25157 char *kwnames
[] = {
25158 (char *) "self", NULL
25161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (bool)(arg1
)->base_TransferDataToWindow();
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= PyInt_FromLong((long)result
);
25177 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25181 PyObject
* obj0
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (bool)(arg1
)->base_TransferDataFromWindow();
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= PyInt_FromLong((long)result
);
25202 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25206 PyObject
* obj0
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 result
= (bool)(arg1
)->base_Validate();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= PyInt_FromLong((long)result
);
25227 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 resultobj
= PyInt_FromLong((long)result
);
25252 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 char *kwnames
[] = {
25258 (char *) "self", NULL
25261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
25262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25265 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= PyInt_FromLong((long)result
);
25277 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
;
25279 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25281 PyObject
* obj0
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 wxSize
* resultptr
;
25297 resultptr
= new wxSize((wxSize
&) result
);
25298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
25306 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25309 wxWindow
*arg2
= (wxWindow
*) 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self",(char *) "child", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25318 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25321 (arg1
)->base_AddChild(arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
25336 wxWindow
*arg2
= (wxWindow
*) 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "child", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25348 (arg1
)->base_RemoveChild(arg2
);
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 Py_INCREF(Py_None
); resultobj
= Py_None
;
25360 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
25362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25363 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
25365 return Py_BuildValue((char *)"");
25367 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25368 PyObject
*resultobj
;
25369 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25370 int arg2
= (int) 0 ;
25371 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25372 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25373 wxHelpEvent
*result
;
25375 PyObject
* obj2
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "type",(char *) "winid",(char *) "pt", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_HelpEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
25384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25389 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
25401 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
25411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
25416 result
= (wxPoint
*) &_result_ref
;
25419 wxPyEndAllowThreads(__tstate
);
25420 if (PyErr_Occurred()) SWIG_fail
;
25422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
25429 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25430 PyObject
*resultobj
;
25431 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25432 wxPoint
*arg2
= 0 ;
25434 PyObject
* obj0
= 0 ;
25435 PyObject
* obj1
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "pos", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25444 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 Py_INCREF(Py_None
); resultobj
= Py_None
;
25460 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25464 PyObject
* obj0
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
25475 result
= (wxString
*) &_result_ref
;
25478 wxPyEndAllowThreads(__tstate
);
25479 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25494 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25497 wxString
*arg2
= 0 ;
25498 bool temp2
= False
;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self",(char *) "link", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
25506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25508 arg2
= wxString_in_helper(obj1
);
25509 if (arg2
== NULL
) SWIG_fail
;
25513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25514 (arg1
)->SetLink((wxString
const &)*arg2
);
25516 wxPyEndAllowThreads(__tstate
);
25517 if (PyErr_Occurred()) SWIG_fail
;
25519 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
25544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
25549 result
= (wxString
*) &_result_ref
;
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25559 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25568 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
25571 wxString
*arg2
= 0 ;
25572 bool temp2
= False
;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "target", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25582 arg2
= wxString_in_helper(obj1
);
25583 if (arg2
== NULL
) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 (arg1
)->SetTarget((wxString
const &)*arg2
);
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 Py_INCREF(Py_None
); resultobj
= Py_None
;
25608 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
25610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25611 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
25613 return Py_BuildValue((char *)"");
25615 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxWindow
*arg1
= (wxWindow
*) NULL
;
25618 bool arg2
= (bool) True
;
25619 wxContextHelp
*result
;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "window",(char *) "doNow", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25631 arg2
= PyInt_AsLong(obj1
) ? true : false;
25632 if (PyErr_Occurred()) SWIG_fail
;
25635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25636 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
25638 wxPyEndAllowThreads(__tstate
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
25648 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25649 PyObject
*resultobj
;
25650 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25651 PyObject
* obj0
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
25657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 Py_INCREF(Py_None
); resultobj
= Py_None
;
25672 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25675 wxWindow
*arg2
= (wxWindow
*) NULL
;
25677 PyObject
* obj0
= 0 ;
25678 PyObject
* obj1
= 0 ;
25679 char *kwnames
[] = {
25680 (char *) "self",(char *) "window", NULL
25683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= PyInt_FromLong((long)result
);
25702 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 char *kwnames
[] = {
25708 (char *) "self", NULL
25711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
25712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (bool)(arg1
)->EndContextHelp();
25717 wxPyEndAllowThreads(__tstate
);
25718 if (PyErr_Occurred()) SWIG_fail
;
25720 resultobj
= PyInt_FromLong((long)result
);
25727 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
25729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25730 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
25732 return Py_BuildValue((char *)"");
25734 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25735 PyObject
*resultobj
;
25736 wxWindow
*arg1
= (wxWindow
*) 0 ;
25737 int arg2
= (int) wxID_CONTEXT_HELP
;
25738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25742 long arg5
= (long) wxBU_AUTODRAW
;
25743 wxContextHelpButton
*result
;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj2
= 0 ;
25748 PyObject
* obj3
= 0 ;
25749 char *kwnames
[] = {
25750 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iOOl:new_ContextHelpButton",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25758 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25764 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
25781 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
25783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25784 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
25786 return Py_BuildValue((char *)"");
25788 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25789 PyObject
*resultobj
;
25790 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25791 wxHelpProvider
*result
;
25792 PyObject
* obj0
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "helpProvider", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25801 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25813 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxHelpProvider
*result
;
25816 char *kwnames
[] = {
25820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
25822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 result
= (wxHelpProvider
*)wxHelpProvider::Get();
25825 wxPyEndAllowThreads(__tstate
);
25826 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
25835 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25836 PyObject
*resultobj
;
25837 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25838 wxWindow
*arg2
= (wxWindow
*) 0 ;
25840 PyObject
* obj0
= 0 ;
25841 PyObject
* obj1
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "window", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25869 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
;
25871 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25872 wxWindow
*arg2
= (wxWindow
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 char *kwnames
[] = {
25877 (char *) "self",(char *) "window", NULL
25880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
25881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25885 result
= (bool)(arg1
)->ShowHelp(arg2
);
25887 wxPyEndAllowThreads(__tstate
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= PyInt_FromLong((long)result
);
25897 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25900 wxWindow
*arg2
= (wxWindow
*) 0 ;
25901 wxString
*arg3
= 0 ;
25902 bool temp3
= False
;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 char *kwnames
[] = {
25907 (char *) "self",(char *) "window",(char *) "text", NULL
25910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25914 arg3
= wxString_in_helper(obj2
);
25915 if (arg3
== NULL
) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25944 wxString
*arg3
= 0 ;
25945 bool temp3
= False
;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj2
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "id",(char *) "text", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:HelpProvider_AddHelpById",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 arg3
= wxString_in_helper(obj2
);
25956 if (arg3
== NULL
) SWIG_fail
;
25960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25961 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 Py_INCREF(Py_None
); resultobj
= Py_None
;
25981 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
;
25983 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
25984 PyObject
* obj0
= 0 ;
25985 char *kwnames
[] = {
25986 (char *) "self", NULL
25989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
25990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 wxHelpProvider_Destroy(arg1
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25998 Py_INCREF(Py_None
); resultobj
= Py_None
;
26005 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26008 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
26010 return Py_BuildValue((char *)"");
26012 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxSimpleHelpProvider
*result
;
26015 char *kwnames
[] = {
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
26034 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
26036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26037 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
26039 return Py_BuildValue((char *)"");
26041 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxBitmap
*arg1
= 0 ;
26044 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26045 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26046 wxGenericDragImage
*result
;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "image",(char *) "cursor", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26055 if (arg1
== NULL
) {
26056 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26060 if (arg2
== NULL
) {
26061 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26078 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26081 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26082 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26083 wxGenericDragImage
*result
;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "image",(char *) "cursor", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26092 if (arg1
== NULL
) {
26093 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26097 if (arg2
== NULL
) {
26098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
26105 wxPyEndAllowThreads(__tstate
);
26106 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26115 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26116 PyObject
*resultobj
;
26117 wxString
*arg1
= 0 ;
26118 wxCursor
const &arg2_defvalue
= wxNullCursor
;
26119 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
26120 wxGenericDragImage
*result
;
26121 bool temp1
= False
;
26122 PyObject
* obj0
= 0 ;
26123 PyObject
* obj1
= 0 ;
26124 char *kwnames
[] = {
26125 (char *) "str",(char *) "cursor", NULL
26128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
26130 arg1
= wxString_in_helper(obj0
);
26131 if (arg1
== NULL
) SWIG_fail
;
26135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26136 if (arg2
== NULL
) {
26137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26162 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
;
26164 wxPyTreeCtrl
*arg1
= 0 ;
26165 wxTreeItemId
*arg2
= 0 ;
26166 wxGenericDragImage
*result
;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "treeCtrl",(char *) "id", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26175 if (arg1
== NULL
) {
26176 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26178 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26179 if (arg2
== NULL
) {
26180 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26196 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxPyListCtrl
*arg1
= 0 ;
26200 wxGenericDragImage
*result
;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "listCtrl",(char *) "id", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:new_DragListItem",kwnames
,&obj0
,&arg2
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26208 if (arg1
== NULL
) {
26209 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
26225 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
;
26227 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 wxPyEndAllowThreads(__tstate
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 Py_INCREF(Py_None
); resultobj
= Py_None
;
26249 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26252 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char *kwnames
[] = {
26256 (char *) "self",(char *) "bitmap", NULL
26259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
26260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26261 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 (arg1
)->SetBackingBitmap(arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 Py_INCREF(Py_None
); resultobj
= Py_None
;
26276 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26277 PyObject
*resultobj
;
26278 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26279 wxPoint
*arg2
= 0 ;
26280 wxWindow
*arg3
= (wxWindow
*) 0 ;
26281 bool arg4
= (bool) False
;
26282 wxRect
*arg5
= (wxRect
*) NULL
;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 PyObject
* obj2
= 0 ;
26288 PyObject
* obj3
= 0 ;
26289 PyObject
* obj4
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26300 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26302 arg4
= PyInt_AsLong(obj3
) ? true : false;
26303 if (PyErr_Occurred()) SWIG_fail
;
26306 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= PyInt_FromLong((long)result
);
26322 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26325 wxPoint
*arg2
= 0 ;
26326 wxWindow
*arg3
= (wxWindow
*) 0 ;
26327 wxWindow
*arg4
= (wxWindow
*) 0 ;
26330 PyObject
* obj0
= 0 ;
26331 PyObject
* obj1
= 0 ;
26332 PyObject
* obj2
= 0 ;
26333 PyObject
* obj3
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26342 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26344 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26345 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= PyInt_FromLong((long)result
);
26360 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26361 PyObject
*resultobj
;
26362 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 char *kwnames
[] = {
26366 (char *) "self", NULL
26369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
26370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26373 result
= (bool)(arg1
)->EndDrag();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 resultobj
= PyInt_FromLong((long)result
);
26385 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26388 wxPoint
*arg2
= 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self",(char *) "pt", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
26398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 resultobj
= PyInt_FromLong((long)result
);
26417 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26418 PyObject
*resultobj
;
26419 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (bool)(arg1
)->Show();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= PyInt_FromLong((long)result
);
26442 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26443 PyObject
*resultobj
;
26444 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26446 PyObject
* obj0
= 0 ;
26447 char *kwnames
[] = {
26448 (char *) "self", NULL
26451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
26452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (bool)(arg1
)->Hide();
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= PyInt_FromLong((long)result
);
26467 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26470 wxPoint
*arg2
= 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "pos", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26483 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26493 wxRect
* resultptr
;
26494 resultptr
= new wxRect((wxRect
&) result
);
26495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
26503 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26507 wxPoint
*arg3
= 0 ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 PyObject
* obj2
= 0 ;
26513 char *kwnames
[] = {
26514 (char *) "self",(char *) "dc",(char *) "pos", NULL
26517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26520 if (arg2
== NULL
) {
26521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= PyInt_FromLong((long)result
);
26541 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26545 wxMemoryDC
*arg3
= 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 PyObject
* obj2
= 0 ;
26554 PyObject
* obj3
= 0 ;
26555 PyObject
* obj4
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26563 if (arg2
== NULL
) {
26564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26566 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26567 if (arg3
== NULL
) {
26568 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26572 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
26576 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
26582 wxPyEndAllowThreads(__tstate
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26585 resultobj
= PyInt_FromLong((long)result
);
26592 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
26595 wxPoint
*arg2
= 0 ;
26596 wxPoint
*arg3
= 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 PyObject
* obj2
= 0 ;
26605 PyObject
* obj3
= 0 ;
26606 PyObject
* obj4
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26615 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26619 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26621 arg4
= PyInt_AsLong(obj3
) ? true : false;
26622 if (PyErr_Occurred()) SWIG_fail
;
26623 arg5
= PyInt_AsLong(obj4
) ? true : false;
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
26629 wxPyEndAllowThreads(__tstate
);
26630 if (PyErr_Occurred()) SWIG_fail
;
26632 resultobj
= PyInt_FromLong((long)result
);
26639 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
26641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26642 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
26644 return Py_BuildValue((char *)"");
26646 static PyMethodDef SwigMethods
[] = {
26647 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
26648 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
26649 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
26650 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
26651 { (char *)"Button_SetImageLabel", (PyCFunction
) _wrap_Button_SetImageLabel
, METH_VARARGS
| METH_KEYWORDS
},
26652 { (char *)"Button_SetImageMargins", (PyCFunction
) _wrap_Button_SetImageMargins
, METH_VARARGS
| METH_KEYWORDS
},
26653 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26654 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
26655 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26656 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
26657 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26658 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26659 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26660 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26661 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26662 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
26663 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
26664 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
26665 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
26666 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
26667 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
26668 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
26669 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
26670 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26671 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
26672 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26673 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26674 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26675 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26676 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26677 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
26678 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
26679 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
26680 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
26681 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
26682 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
26683 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
26684 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26685 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
26686 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26687 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26688 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26689 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
26690 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26691 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
26692 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26693 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26694 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26695 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26696 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26697 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26698 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26699 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26700 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26701 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26702 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26703 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
26704 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26705 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26706 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26707 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
26708 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
26709 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
26710 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
26711 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26712 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26713 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26714 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26715 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26716 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26717 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
26718 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26719 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
26720 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
26721 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26722 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
26723 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26724 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
26725 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26726 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
26727 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
26728 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26729 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
26730 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
26731 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
26732 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
26733 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
26734 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
26735 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26736 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26737 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
26738 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26739 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
26740 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
26741 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
26742 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
26743 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
26744 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26745 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
26746 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
26747 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
26748 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
26749 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26750 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
26751 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
26752 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
26753 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26754 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
26755 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
26756 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
26757 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26758 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
26759 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
26760 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
26761 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26762 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
26763 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26764 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
26765 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
26766 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
26767 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26768 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
26769 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
26770 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
26771 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
26772 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26773 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26774 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
26775 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26776 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26777 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26778 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26779 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26780 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26781 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26782 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
26783 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26784 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
26785 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26786 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26787 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
26788 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
26789 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
26790 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
26791 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
26792 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
26793 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
26794 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
26795 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
26796 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
26797 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
26798 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
26799 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26800 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26801 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26802 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26803 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26804 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26805 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
26806 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
26807 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
26808 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
26809 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
26810 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
26811 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
26812 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26813 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26814 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
26815 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
26816 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
26817 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
26818 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
26819 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
26820 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
26821 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
26822 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
26823 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
26824 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
26825 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26826 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
26827 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26828 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
26829 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
26830 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
26831 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
26832 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
26833 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
26834 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
26835 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
26836 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
26837 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
26838 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
26839 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
26840 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
26841 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
26842 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26843 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
26844 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
26845 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
26846 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26847 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
26848 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
26849 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26850 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
26851 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
26852 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26853 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
26854 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26855 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
26856 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
26857 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
26858 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
26859 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26860 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
26861 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
26862 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26863 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
26864 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26865 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
26866 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26867 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
26868 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
26869 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
26870 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26871 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
26872 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26873 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26874 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26875 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26876 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26877 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26878 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26879 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26880 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26881 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
26882 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26883 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
26884 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
26885 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26886 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26887 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
26888 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26889 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26890 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26891 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26892 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
26893 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
26894 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26895 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
26896 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
26897 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26898 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
26899 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
26900 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26901 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26902 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26903 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
26904 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
26905 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
26906 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
26907 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
26908 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
26909 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
26910 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
26911 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26912 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
26913 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
26914 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26915 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
26916 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26917 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26918 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26919 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
26920 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
26921 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
26922 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
26923 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26924 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26925 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
26926 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
26927 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
26928 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
26929 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
26930 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26931 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26932 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
26933 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26934 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26935 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
26936 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26937 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
26938 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
26939 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
26940 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
26941 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
26942 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
26943 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26944 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
26945 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26946 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
26947 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
26948 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
26949 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
26950 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
26951 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
26952 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
26953 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
26954 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26955 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26956 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
26957 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26958 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
26959 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
26960 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26961 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
26962 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
26963 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26964 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
26965 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
26966 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
26967 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
26968 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
26969 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26970 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
26971 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
26972 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
26973 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26974 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
26975 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26976 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
26977 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
26978 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
26979 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
26980 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26981 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
26982 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
26983 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
26984 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
26985 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
26986 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
26987 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
26988 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26989 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
26990 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
26991 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
26992 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
26993 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
26994 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
26995 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
26996 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
26997 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
26998 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
26999 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27000 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27001 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
27002 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
27003 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
27004 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
27005 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
27006 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
27007 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27008 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
27009 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27010 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
27011 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
27012 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27013 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
27014 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
27015 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27016 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
27017 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
27018 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27019 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27020 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27021 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27022 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27023 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27024 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
27025 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27026 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27027 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27028 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27029 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27030 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27031 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27032 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
27033 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
27034 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27035 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
27036 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
27037 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
27038 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
27039 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27040 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
27041 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
27042 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
27043 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
27044 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27045 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
27046 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
27047 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
27048 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
27049 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
27050 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
27051 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
27052 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
27053 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
27054 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27055 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
27056 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
27057 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
27058 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
27059 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27060 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
27061 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27062 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
27063 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
27064 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27065 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27066 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27067 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
27068 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
27069 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
27070 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
27071 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
27072 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
27073 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
27074 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
27075 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27076 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
27077 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
27078 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27079 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
27080 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
27081 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
27082 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27083 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
27084 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
27085 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
27086 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
27087 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
27088 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27089 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27090 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27091 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27092 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27093 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
27094 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27095 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27096 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27097 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27098 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
27099 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27100 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
27101 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
27102 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27103 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
27104 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27105 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27106 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
27107 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
27108 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
27109 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
27110 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27111 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27112 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27113 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27114 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27115 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
27116 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27117 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27118 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27119 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
27120 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27121 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27122 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27123 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
27124 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
27125 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27126 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
27127 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27128 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27129 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27130 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
27131 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
27132 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
27133 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
27134 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27135 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27136 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
27137 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
27138 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
27139 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
27140 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
27141 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
27142 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
27143 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
27144 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
27145 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
27146 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
27147 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
27148 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
27149 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
27150 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
27151 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
27152 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
27153 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
27154 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27155 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27156 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
27157 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
27158 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
27159 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
27160 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
27161 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
27162 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
27163 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27164 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
27165 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27166 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27167 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27168 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
27169 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
27170 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27171 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
27172 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27173 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
27174 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
27175 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27176 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27177 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
27178 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27179 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27180 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27181 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27182 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27183 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27184 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27185 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
27186 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27187 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
27188 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
27189 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
27190 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27191 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27192 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27193 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27194 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27195 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
27196 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27197 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27198 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27199 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27200 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27201 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27202 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
27203 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
27204 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27205 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
27206 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27207 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27208 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27209 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27210 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
27211 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
27212 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
27213 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
27214 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27215 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27216 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27217 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
27218 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
27219 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
27220 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
27221 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
27222 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27223 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
27224 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
27225 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
27226 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27227 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27228 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27229 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
27230 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
27231 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
27232 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27233 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27234 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27235 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
27236 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
27237 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
27238 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
27239 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
27240 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
27241 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27242 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27243 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27244 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27245 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
27246 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
27247 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
27248 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
27249 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
27250 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
27251 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
27252 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
27253 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
27254 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
27255 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
27256 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27257 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27258 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
27259 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
27260 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27261 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
27262 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
27263 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
27264 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
27265 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
27266 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
27267 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
27268 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
27269 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
27270 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
27271 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
27272 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
27273 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27274 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
27275 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
27276 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
27277 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
27278 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27279 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
27280 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27281 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
27282 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27283 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
27284 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
27285 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27286 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
27287 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
27288 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
27289 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
27290 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
27291 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27292 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27293 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27294 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27295 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
27296 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27297 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
27298 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27299 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
27300 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27301 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27302 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
27303 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27304 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
27305 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
27306 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27307 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27308 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27309 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27310 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27311 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27312 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27313 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
27314 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
27315 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
27316 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
27317 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27318 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
27319 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
27320 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
27321 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
27322 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
27323 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
27324 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
27325 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
27326 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
27327 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
27328 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
27329 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
27330 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
27331 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
27332 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
27333 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
27334 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
27335 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
27336 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
27337 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
27338 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
27339 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
27340 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
27341 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
27342 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
27343 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
27344 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
27345 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
27346 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
27347 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
27348 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
27349 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
27350 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
27351 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
27352 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
27353 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
27354 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
27355 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
27356 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
27357 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
27358 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27359 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
27360 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
27361 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
27362 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
27363 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
27364 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
27365 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27366 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27367 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27368 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
27369 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27370 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
27371 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
27372 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
27373 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
27374 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27375 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
27376 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27377 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
27378 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27379 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
27380 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
27381 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27382 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27383 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
27384 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
27385 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
27386 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
27387 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27388 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
27389 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
27390 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
27391 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
27392 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
27393 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
27394 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
27395 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
27396 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27397 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27398 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
27399 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
27400 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27401 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
27402 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
27403 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
27404 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
27405 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27406 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
27407 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
27408 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
27409 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
27410 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
27411 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
27412 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
27413 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
27414 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27415 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
27416 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
27417 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
27418 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27419 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
27420 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
27421 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27422 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27423 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27424 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
27425 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
27426 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
27427 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
27428 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
27429 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
27430 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
27431 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
27432 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
27433 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
27434 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
27435 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
27436 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
27437 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
27438 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27439 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
27440 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
27441 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
27442 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
27443 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
27444 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
27445 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
27446 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
27447 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
27448 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
27449 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
27450 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
27451 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
27452 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27453 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
27454 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
27455 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
27460 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27462 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
27463 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27465 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
27466 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27468 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
27469 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
27471 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
27472 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27474 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
27475 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27477 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
27478 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
27480 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
27481 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27483 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
27484 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
27486 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
27487 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
27489 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
27490 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
27492 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
27493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27495 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
27496 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
27498 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
27499 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
27501 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
27502 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
27504 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
27505 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
27507 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
27508 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27510 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
27511 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
27513 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
27514 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
27516 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
27517 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
27519 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
27520 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27522 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
27523 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27525 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
27526 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
27528 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
27529 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27531 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
27532 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
27534 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
27535 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27537 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
27538 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27540 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
27541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
27543 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
27544 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
27546 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
27547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27549 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
27550 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
27552 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
27553 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
27555 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
27556 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
27558 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
27559 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
27561 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
27562 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
27564 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
27565 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
27567 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
27568 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
27570 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
27571 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
27573 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
27574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27576 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
27577 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27579 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
27580 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27582 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
27583 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27585 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
27586 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27588 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
27589 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
27591 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
27592 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
27594 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
27595 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27597 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
27598 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
27600 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
27601 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
27603 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
27604 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27606 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
27607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27609 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
27610 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
27612 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
27613 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
27615 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
27616 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
27618 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
27619 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27621 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
27622 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27624 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
27625 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27627 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
27628 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27630 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
27631 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
27633 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
27634 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27636 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
27637 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27639 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
27640 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
27642 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
27643 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27645 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
27646 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
27648 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
27649 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
27651 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
27652 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
27654 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
27655 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
27657 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
27658 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27660 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
27661 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
27663 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
27664 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
27666 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
27667 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
27669 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
27670 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
27672 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
27673 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27675 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
27676 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
27678 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
27679 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
27681 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
27682 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
27684 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
27685 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
27687 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
27688 return (void *)((wxControl
*) ((wxGauge
*) x
));
27690 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
27691 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
27693 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
27694 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
27696 static void *_p_wxButtonTo_p_wxControl(void *x
) {
27697 return (void *)((wxControl
*) ((wxButton
*) x
));
27699 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
27700 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
27702 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
27703 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27705 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
27706 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
27708 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
27709 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
27711 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
27712 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
27714 static void *_p_wxListbookTo_p_wxControl(void *x
) {
27715 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
27717 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
27718 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
27720 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
27721 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
27723 static void *_p_wxListViewTo_p_wxControl(void *x
) {
27724 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
27726 static void *_p_wxSliderTo_p_wxControl(void *x
) {
27727 return (void *)((wxControl
*) ((wxSlider
*) x
));
27729 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
27730 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
27732 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
27733 return (void *)((wxControl
*) ((wxPyControl
*) x
));
27735 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
27736 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
27738 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
27739 return (void *)((wxControl
*) ((wxStaticText
*) x
));
27741 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
27742 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
27744 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
27745 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
27747 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
27748 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27750 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
27751 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
27753 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
27754 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27756 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
27757 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
27759 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
27760 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
27762 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
27763 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
27765 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
27766 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
27768 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
27769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
27771 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
27772 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
27774 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
27775 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
27777 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
27778 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
27780 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
27781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
27783 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
27784 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
27786 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
27787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
27789 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
27790 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
27792 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
27793 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
27795 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
27796 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
27798 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
27799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
27801 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
27802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27804 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
27805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
27807 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
27808 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27810 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
27811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27813 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
27814 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
27816 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
27817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27819 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
27820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
27822 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
27823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
27825 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
27826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
27828 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
27829 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27831 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
27832 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
27834 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
27835 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27837 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
27838 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27840 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
27841 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
27843 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
27844 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
27846 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
27847 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
27849 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
27850 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
27852 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
27853 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
27855 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
27856 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
27858 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
27859 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
27861 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
27862 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
27864 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
27865 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
27867 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
27868 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
27870 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
27871 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
27873 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
27874 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
27876 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
27877 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
27879 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
27880 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
27882 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
27883 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27885 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
27886 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
27888 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
27889 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
27891 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
27892 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
27894 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
27895 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
27897 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
27898 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
27900 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
27901 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27903 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
27904 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
27906 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
27907 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
27909 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
27910 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
27912 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
27913 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
27915 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
27916 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
27918 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
27919 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
27921 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
27922 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
27924 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
27925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
27927 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
27928 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
27930 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
27931 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
27933 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
27934 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
27936 static void *_p_wxSizerTo_p_wxObject(void *x
) {
27937 return (void *)((wxObject
*) ((wxSizer
*) x
));
27939 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
27940 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
27942 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
27943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
27945 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
27946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
27948 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
27949 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27951 static void *_p_wxEventTo_p_wxObject(void *x
) {
27952 return (void *)((wxObject
*) ((wxEvent
*) x
));
27954 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
27955 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
27957 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
27958 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
27960 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
27961 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
27963 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
27964 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
27966 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
27967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
27969 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
27970 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
27972 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
27973 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
27975 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
27976 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
27978 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
27979 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
27981 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
27982 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
27984 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
27985 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
27987 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
27988 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
27990 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
27991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
27993 static void *_p_wxControlTo_p_wxObject(void *x
) {
27994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
27996 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
27997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
27999 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
28000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
28002 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
28003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
28005 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
28006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
28008 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
28009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
28011 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28012 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28014 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
28015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28017 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28018 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28020 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28021 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28023 static void *_p_wxListViewTo_p_wxObject(void *x
) {
28024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28026 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
28027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
28029 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
28030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28032 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28033 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28035 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28038 static void *_p_wxListbookTo_p_wxObject(void *x
) {
28039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28041 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28042 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28044 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
28045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
28047 static void *_p_wxSliderTo_p_wxObject(void *x
) {
28048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
28050 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28051 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28053 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28054 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28056 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28057 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28059 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28060 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28062 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28063 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28065 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28066 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28068 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28069 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28071 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28072 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28074 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28075 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28077 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
28078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
28080 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
28081 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
28083 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28086 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28087 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28089 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28090 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28092 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28093 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28095 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28096 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28098 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28101 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28102 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28104 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28105 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28107 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28110 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28111 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28113 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28114 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28116 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28119 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28120 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28122 static void *_p_wxListEventTo_p_wxObject(void *x
) {
28123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
28125 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
28126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28128 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
28129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28131 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
28132 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
28134 static void *_p_wxButtonTo_p_wxObject(void *x
) {
28135 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
28137 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
28138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28140 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
28141 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
28143 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
28144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28146 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28147 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28149 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
28150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
28152 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
28153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
28155 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
28156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28158 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
28159 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
28161 static void *_p_wxListItemTo_p_wxObject(void *x
) {
28162 return (void *)((wxObject
*) ((wxListItem
*) x
));
28164 static void *_p_wxImageTo_p_wxObject(void *x
) {
28165 return (void *)((wxObject
*) ((wxImage
*) x
));
28167 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
28168 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
28170 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28171 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28173 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
28174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28176 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
28177 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
28179 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
28180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
28182 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
28183 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28185 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
28186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28188 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28191 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28192 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28194 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28195 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28197 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28198 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28200 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28201 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28203 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28206 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28207 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28209 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28210 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28212 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28213 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28215 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28216 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28218 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28219 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28221 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28222 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28224 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28225 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28227 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
28228 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28230 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28231 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28233 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28234 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28236 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
28237 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
28239 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28240 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28242 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28243 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28245 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28246 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28248 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28251 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
28252 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
28254 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
28255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28257 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28260 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28261 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28263 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
28264 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
28266 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
28267 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
28269 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
28270 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
28272 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
28273 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
28275 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
28276 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
28278 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
28279 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
28281 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
28282 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
28284 static void *_p_wxControlTo_p_wxWindow(void *x
) {
28285 return (void *)((wxWindow
*) ((wxControl
*) x
));
28287 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
28288 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
28290 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
28291 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28293 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
28294 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
28296 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
28297 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
28299 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
28300 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
28302 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
28303 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
28305 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
28306 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
28308 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
28309 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
28311 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
28312 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
28314 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
28315 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
28317 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
28318 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
28320 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
28321 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
28323 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
28324 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
28326 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
28327 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
28329 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
28330 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
28332 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
28333 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
28335 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
28336 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
28338 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
28339 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
28341 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
28342 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
28344 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
28345 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
28347 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
28348 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
28350 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
28351 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
28353 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
28354 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
28356 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
28357 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
28359 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
28360 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
28362 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
28363 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
28365 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
28366 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
28368 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
28369 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
28371 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
28372 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28374 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
28375 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
28377 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
28378 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
28380 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
28381 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
28383 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
28384 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28386 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
28387 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28389 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
28390 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28392 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
28393 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
28395 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
28396 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
28398 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
28399 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
28401 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
28402 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28404 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
28405 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
28407 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
28408 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
28410 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
28411 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
28413 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
28414 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28416 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
28417 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28419 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
28420 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
28422 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
28423 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
28425 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
28426 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
28428 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
28429 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
28431 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
28432 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
28434 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
28435 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
28437 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28438 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}};
28439 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}};
28440 static swig_type_info _swigt__p_wxTreeItemIdValue
[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28441 static swig_type_info _swigt__wxTreeItemIdValue
[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28442 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28443 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28444 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_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
28445 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28446 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28447 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28448 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}};
28449 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28450 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
28451 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28452 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}};
28453 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28454 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28455 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
28456 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28457 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28458 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28459 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
28460 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28461 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28462 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28463 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28464 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28465 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28466 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28467 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28468 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28469 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_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
},{"_p_wxNotifyEvent"},{0}};
28470 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28471 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28472 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28473 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28474 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28475 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28476 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28477 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28478 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}};
28479 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28480 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
28481 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28482 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}};
28483 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28484 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}};
28485 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
28486 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28487 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28488 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28489 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28490 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28491 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28492 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28493 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28494 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28495 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28496 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28497 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28498 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28499 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
28500 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28501 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28502 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28503 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28504 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28505 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_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_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_wxSpinEvent", _p_wxSpinEventTo_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}};
28506 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28507 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28508 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}};
28509 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28510 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28511 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28512 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28513 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_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
},{0}};
28514 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28515 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
28516 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28517 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28518 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28519 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28520 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
28522 static swig_type_info
*swig_types_initial
[] = {
28523 _swigt__p_wxTextUrlEvent
,
28524 _swigt__p_wxBookCtrlEvent
,
28526 _swigt__p_wxTreeItemIdValue
,
28527 _swigt__wxTreeItemIdValue
,
28528 _swigt__p_wxCheckBox
,
28529 _swigt__p_wxPyTreeCtrl
,
28531 _swigt__p_wxGenericDirCtrl
,
28533 _swigt__p_wxPyTreeItemData
,
28534 _swigt__p_wxItemContainer
,
28535 _swigt__p_wxDirFilterListCtrl
,
28536 _swigt__p_wxPyListCtrl
,
28537 _swigt__p_wxStaticLine
,
28538 _swigt__p_wxControl
,
28539 _swigt__p_wxPyControl
,
28541 _swigt__p_wxToolBarBase
,
28543 _swigt__p_wxToggleButton
,
28544 _swigt__p_wxRadioButton
,
28545 _swigt__p_wxChoice
,
28546 _swigt__p_wxMemoryDC
,
28547 _swigt__p_wxListItemAttr
,
28551 _swigt__p_wxListView
,
28553 _swigt__p_wxTextCtrl
,
28554 _swigt__p_wxNotebook
,
28555 _swigt__p_wxNotifyEvent
,
28556 _swigt__p_wxArrayString
,
28557 _swigt__p_wxListbook
,
28558 _swigt__p_wxStaticBitmap
,
28559 _swigt__p_wxSlider
,
28560 _swigt__p_wxStaticBox
,
28561 _swigt__p_wxArrayInt
,
28562 _swigt__p_wxContextHelp
,
28564 _swigt__p_wxEvtHandler
,
28565 _swigt__p_wxListEvent
,
28566 _swigt__p_wxListBox
,
28567 _swigt__p_wxCheckListBox
,
28568 _swigt__p_wxBookCtrl
,
28569 _swigt__p_wxSpinButton
,
28570 _swigt__p_wxButton
,
28571 _swigt__p_wxBitmapButton
,
28573 _swigt__p_wxContextHelpButton
,
28574 _swigt__p_wxRadioBox
,
28575 _swigt__p_wxScrollBar
,
28576 _swigt__p_wxTreeItemId
,
28577 _swigt__p_wxComboBox
,
28578 _swigt__p_wxHelpEvent
,
28579 _swigt__p_wxListItem
,
28580 _swigt__p_wxNotebookSizer
,
28581 _swigt__p_wxSpinEvent
,
28582 _swigt__p_wxGenericDragImage
,
28583 _swigt__p_wxSpinCtrl
,
28584 _swigt__p_wxImageList
,
28585 _swigt__p_wxHelpProvider
,
28586 _swigt__p_wxTextAttr
,
28587 _swigt__p_wxSimpleHelpProvider
,
28589 _swigt__p_wxListbookEvent
,
28590 _swigt__p_wxNotebookEvent
,
28591 _swigt__p_wxObject
,
28592 _swigt__p_wxCursor
,
28593 _swigt__p_wxKeyEvent
,
28594 _swigt__p_wxWindow
,
28595 _swigt__p_wxString
,
28596 _swigt__p_wxBitmap
,
28597 _swigt__p_wxTreeEvent
,
28598 _swigt__p_wxMouseEvent
,
28599 _swigt__p_wxCommandEvent
,
28600 _swigt__p_wxStaticText
,
28601 _swigt__p_wxControlWithItems
,
28602 _swigt__p_wxToolBarToolBase
,
28603 _swigt__p_wxColour
,
28604 _swigt__p_wxToolBar
,
28605 _swigt__p_wxBookCtrlSizer
,
28606 _swigt__p_wxValidator
,
28611 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28613 static swig_const_info swig_const_table
[] = {
28614 { SWIG_PY_INT
, (char *)"BU_LEFT", (long) wxBU_LEFT
, 0, 0, 0},
28615 { SWIG_PY_INT
, (char *)"BU_TOP", (long) wxBU_TOP
, 0, 0, 0},
28616 { SWIG_PY_INT
, (char *)"BU_RIGHT", (long) wxBU_RIGHT
, 0, 0, 0},
28617 { SWIG_PY_INT
, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM
, 0, 0, 0},
28618 { SWIG_PY_INT
, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT
, 0, 0, 0},
28619 { SWIG_PY_INT
, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW
, 0, 0, 0},
28620 { SWIG_PY_INT
, (char *)"CHK_2STATE", (long) wxCHK_2STATE
, 0, 0, 0},
28621 { SWIG_PY_INT
, (char *)"CHK_3STATE", (long) wxCHK_3STATE
, 0, 0, 0},
28622 { SWIG_PY_INT
, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER
, 0, 0, 0},
28623 { SWIG_PY_INT
, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED
, 0, 0, 0},
28624 { SWIG_PY_INT
, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED
, 0, 0, 0},
28625 { SWIG_PY_INT
, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED
, 0, 0, 0},
28626 { SWIG_PY_INT
, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL
, 0, 0, 0},
28627 { SWIG_PY_INT
, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL
, 0, 0, 0},
28628 { SWIG_PY_INT
, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH
, 0, 0, 0},
28629 { SWIG_PY_INT
, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR
, 0, 0, 0},
28630 { SWIG_PY_INT
, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL
, 0, 0, 0},
28631 { SWIG_PY_INT
, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL
, 0, 0, 0},
28632 { SWIG_PY_INT
, (char *)"TE_READONLY", (long) wxTE_READONLY
, 0, 0, 0},
28633 { SWIG_PY_INT
, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE
, 0, 0, 0},
28634 { SWIG_PY_INT
, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB
, 0, 0, 0},
28635 { SWIG_PY_INT
, (char *)"TE_LEFT", (long) wxTE_LEFT
, 0, 0, 0},
28636 { SWIG_PY_INT
, (char *)"TE_CENTER", (long) wxTE_CENTER
, 0, 0, 0},
28637 { SWIG_PY_INT
, (char *)"TE_RIGHT", (long) wxTE_RIGHT
, 0, 0, 0},
28638 { SWIG_PY_INT
, (char *)"TE_CENTRE", (long) wxTE_CENTRE
, 0, 0, 0},
28639 { SWIG_PY_INT
, (char *)"TE_RICH", (long) wxTE_RICH
, 0, 0, 0},
28640 { SWIG_PY_INT
, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER
, 0, 0, 0},
28641 { SWIG_PY_INT
, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD
, 0, 0, 0},
28642 { SWIG_PY_INT
, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL
, 0, 0, 0},
28643 { SWIG_PY_INT
, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL
, 0, 0, 0},
28644 { SWIG_PY_INT
, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP
, 0, 0, 0},
28645 { SWIG_PY_INT
, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP
, 0, 0, 0},
28646 { SWIG_PY_INT
, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP
, 0, 0, 0},
28647 { SWIG_PY_INT
, (char *)"TE_RICH2", (long) wxTE_RICH2
, 0, 0, 0},
28648 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT
, 0, 0, 0},
28649 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT
, 0, 0, 0},
28650 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE
, 0, 0, 0},
28651 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER
, 0, 0, 0},
28652 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT
, 0, 0, 0},
28653 { SWIG_PY_INT
, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED
, 0, 0, 0},
28654 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR
, 0, 0, 0},
28655 { SWIG_PY_INT
, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR
, 0, 0, 0},
28656 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE
, 0, 0, 0},
28657 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE
, 0, 0, 0},
28658 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT
, 0, 0, 0},
28659 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC
, 0, 0, 0},
28660 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE
, 0, 0, 0},
28661 { SWIG_PY_INT
, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT
, 0, 0, 0},
28662 { SWIG_PY_INT
, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT
, 0, 0, 0},
28663 { SWIG_PY_INT
, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT
, 0, 0, 0},
28664 { SWIG_PY_INT
, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT
, 0, 0, 0},
28665 { SWIG_PY_INT
, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS
, 0, 0, 0},
28666 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED
, 0, 0, 0},
28667 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER
, 0, 0, 0},
28668 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL
, 0, 0, 0},
28669 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN
, 0, 0, 0},
28670 { SWIG_PY_INT
, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL
, 0, 0, 0},
28671 { SWIG_PY_INT
, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL
, 0, 0, 0},
28672 { SWIG_PY_INT
, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS
, 0, 0, 0},
28673 { SWIG_PY_INT
, (char *)"SP_WRAP", (long) wxSP_WRAP
, 0, 0, 0},
28674 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED
, 0, 0, 0},
28675 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 0, 0, 0},
28676 { SWIG_PY_INT
, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH
, 0, 0, 0},
28677 { SWIG_PY_INT
, (char *)"NB_TOP", (long) wxNB_TOP
, 0, 0, 0},
28678 { SWIG_PY_INT
, (char *)"NB_LEFT", (long) wxNB_LEFT
, 0, 0, 0},
28679 { SWIG_PY_INT
, (char *)"NB_RIGHT", (long) wxNB_RIGHT
, 0, 0, 0},
28680 { SWIG_PY_INT
, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM
, 0, 0, 0},
28681 { SWIG_PY_INT
, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE
, 0, 0, 0},
28682 { SWIG_PY_INT
, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE
, 0, 0, 0},
28683 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON
, 0, 0, 0},
28684 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL
, 0, 0, 0},
28685 { SWIG_PY_INT
, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM
, 0, 0, 0},
28686 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
, 0, 0, 0},
28687 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
, 0, 0, 0},
28688 { SWIG_PY_INT
, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT
, 0, 0, 0},
28689 { SWIG_PY_INT
, (char *)"LB_TOP", (long) wxLB_TOP
, 0, 0, 0},
28690 { SWIG_PY_INT
, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM
, 0, 0, 0},
28691 { SWIG_PY_INT
, (char *)"LB_LEFT", (long) wxLB_LEFT
, 0, 0, 0},
28692 { SWIG_PY_INT
, (char *)"LB_RIGHT", (long) wxLB_RIGHT
, 0, 0, 0},
28693 { SWIG_PY_INT
, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK
, 0, 0, 0},
28694 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
, 0, 0, 0},
28695 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
, 0, 0, 0},
28696 { SWIG_PY_INT
, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON
, 0, 0, 0},
28697 { SWIG_PY_INT
, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR
, 0, 0, 0},
28698 { SWIG_PY_INT
, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL
, 0, 0, 0},
28699 { SWIG_PY_INT
, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL
, 0, 0, 0},
28700 { SWIG_PY_INT
, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL
, 0, 0, 0},
28701 { SWIG_PY_INT
, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS
, 0, 0, 0},
28702 { SWIG_PY_INT
, (char *)"TB_FLAT", (long) wxTB_FLAT
, 0, 0, 0},
28703 { SWIG_PY_INT
, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE
, 0, 0, 0},
28704 { SWIG_PY_INT
, (char *)"TB_NOICONS", (long) wxTB_NOICONS
, 0, 0, 0},
28705 { SWIG_PY_INT
, (char *)"TB_TEXT", (long) wxTB_TEXT
, 0, 0, 0},
28706 { SWIG_PY_INT
, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER
, 0, 0, 0},
28707 { SWIG_PY_INT
, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN
, 0, 0, 0},
28708 { SWIG_PY_INT
, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT
, 0, 0, 0},
28709 { SWIG_PY_INT
, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT
, 0, 0, 0},
28710 { SWIG_PY_INT
, (char *)"LC_VRULES", (long) wxLC_VRULES
, 0, 0, 0},
28711 { SWIG_PY_INT
, (char *)"LC_HRULES", (long) wxLC_HRULES
, 0, 0, 0},
28712 { SWIG_PY_INT
, (char *)"LC_ICON", (long) wxLC_ICON
, 0, 0, 0},
28713 { SWIG_PY_INT
, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON
, 0, 0, 0},
28714 { SWIG_PY_INT
, (char *)"LC_LIST", (long) wxLC_LIST
, 0, 0, 0},
28715 { SWIG_PY_INT
, (char *)"LC_REPORT", (long) wxLC_REPORT
, 0, 0, 0},
28716 { SWIG_PY_INT
, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP
, 0, 0, 0},
28717 { SWIG_PY_INT
, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT
, 0, 0, 0},
28718 { SWIG_PY_INT
, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE
, 0, 0, 0},
28719 { SWIG_PY_INT
, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL
, 0, 0, 0},
28720 { SWIG_PY_INT
, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS
, 0, 0, 0},
28721 { SWIG_PY_INT
, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER
, 0, 0, 0},
28722 { SWIG_PY_INT
, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER
, 0, 0, 0},
28723 { SWIG_PY_INT
, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL
, 0, 0, 0},
28724 { SWIG_PY_INT
, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING
, 0, 0, 0},
28725 { SWIG_PY_INT
, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING
, 0, 0, 0},
28726 { SWIG_PY_INT
, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE
, 0, 0, 0},
28727 { SWIG_PY_INT
, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN
, 0, 0, 0},
28728 { SWIG_PY_INT
, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT
, 0, 0, 0},
28729 { SWIG_PY_INT
, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE
, 0, 0, 0},
28730 { SWIG_PY_INT
, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT
, 0, 0, 0},
28731 { SWIG_PY_INT
, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE
, 0, 0, 0},
28732 { SWIG_PY_INT
, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA
, 0, 0, 0},
28733 { SWIG_PY_INT
, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM
, 0, 0, 0},
28734 { SWIG_PY_INT
, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH
, 0, 0, 0},
28735 { SWIG_PY_INT
, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT
, 0, 0, 0},
28736 { SWIG_PY_INT
, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE
, 0, 0, 0},
28737 { SWIG_PY_INT
, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED
, 0, 0, 0},
28738 { SWIG_PY_INT
, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED
, 0, 0, 0},
28739 { SWIG_PY_INT
, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED
, 0, 0, 0},
28740 { SWIG_PY_INT
, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT
, 0, 0, 0},
28741 { SWIG_PY_INT
, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED
, 0, 0, 0},
28742 { SWIG_PY_INT
, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED
, 0, 0, 0},
28743 { SWIG_PY_INT
, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE
, 0, 0, 0},
28744 { SWIG_PY_INT
, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED
, 0, 0, 0},
28745 { SWIG_PY_INT
, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE
, 0, 0, 0},
28746 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE
, 0, 0, 0},
28747 { SWIG_PY_INT
, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW
, 0, 0, 0},
28748 { SWIG_PY_INT
, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE
, 0, 0, 0},
28749 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON
, 0, 0, 0},
28750 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL
, 0, 0, 0},
28751 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28752 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28753 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT
, 0, 0, 0},
28754 { SWIG_PY_INT
, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT
, 0, 0, 0},
28755 { SWIG_PY_INT
, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM
, 0, 0, 0},
28756 { SWIG_PY_INT
, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE
, 0, 0, 0},
28757 { SWIG_PY_INT
, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL
, 0, 0, 0},
28758 { SWIG_PY_INT
, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW
, 0, 0, 0},
28759 { SWIG_PY_INT
, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT
, 0, 0, 0},
28760 { SWIG_PY_INT
, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT
, 0, 0, 0},
28761 { SWIG_PY_INT
, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT
, 0, 0, 0},
28762 { SWIG_PY_INT
, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT
, 0, 0, 0},
28763 { SWIG_PY_INT
, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP
, 0, 0, 0},
28764 { SWIG_PY_INT
, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID
, 0, 0, 0},
28765 { SWIG_PY_INT
, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT
, 0, 0, 0},
28766 { SWIG_PY_INT
, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT
, 0, 0, 0},
28767 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE
, 0, 0, 0},
28768 { SWIG_PY_INT
, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER
, 0, 0, 0},
28769 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE
, 0, 0, 0},
28770 { SWIG_PY_INT
, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER
, 0, 0, 0},
28771 { SWIG_PY_INT
, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS
, 0, 0, 0},
28772 { SWIG_PY_INT
, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON
, 0, 0, 0},
28773 { SWIG_PY_INT
, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL
, 0, 0, 0},
28774 { SWIG_PY_INT
, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP
, 0, 0, 0},
28775 { SWIG_PY_INT
, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN
, 0, 0, 0},
28776 { SWIG_PY_INT
, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT
, 0, 0, 0},
28777 { SWIG_PY_INT
, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT
, 0, 0, 0},
28778 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG
, 0, 0, 0},
28779 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG
, 0, 0, 0},
28780 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
, 0, 0, 0},
28781 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT
, 0, 0, 0},
28782 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM
, 0, 0, 0},
28783 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
, 0, 0, 0},
28784 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO
, 0, 0, 0},
28785 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO
, 0, 0, 0},
28786 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED
, 0, 0, 0},
28787 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED
, 0, 0, 0},
28788 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN
, 0, 0, 0},
28789 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM
, 0, 0, 0},
28790 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK
, 0, 0, 0},
28791 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
, 0, 0, 0},
28792 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28793 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED
, 0, 0, 0},
28794 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT
, 0, 0, 0},
28795 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
, 0, 0, 0},
28796 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
, 0, 0, 0},
28797 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING
, 0, 0, 0},
28798 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG
, 0, 0, 0},
28799 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED
, 0, 0, 0},
28800 { SWIG_PY_INT
, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS
, 0, 0, 0},
28801 { SWIG_PY_INT
, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS
, 0, 0, 0},
28802 { SWIG_PY_INT
, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES
, 0, 0, 0},
28803 { SWIG_PY_INT
, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT
, 0, 0, 0},
28804 { SWIG_PY_INT
, (char *)"TR_SINGLE", (long) wxTR_SINGLE
, 0, 0, 0},
28805 { SWIG_PY_INT
, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE
, 0, 0, 0},
28806 { SWIG_PY_INT
, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED
, 0, 0, 0},
28807 { SWIG_PY_INT
, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT
, 0, 0, 0},
28808 { SWIG_PY_INT
, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS
, 0, 0, 0},
28809 { SWIG_PY_INT
, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT
, 0, 0, 0},
28810 { SWIG_PY_INT
, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES
, 0, 0, 0},
28811 { SWIG_PY_INT
, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT
, 0, 0, 0},
28812 { SWIG_PY_INT
, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE
, 0, 0, 0},
28813 { SWIG_PY_INT
, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS
, 0, 0, 0},
28814 { SWIG_PY_INT
, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS
, 0, 0, 0},
28815 { SWIG_PY_INT
, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS
, 0, 0, 0},
28816 { SWIG_PY_INT
, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal
, 0, 0, 0},
28817 { SWIG_PY_INT
, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected
, 0, 0, 0},
28818 { SWIG_PY_INT
, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded
, 0, 0, 0},
28819 { SWIG_PY_INT
, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded
, 0, 0, 0},
28820 { SWIG_PY_INT
, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max
, 0, 0, 0},
28821 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE
, 0, 0, 0},
28822 { SWIG_PY_INT
, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW
, 0, 0, 0},
28823 { SWIG_PY_INT
, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE
, 0, 0, 0},
28824 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON
, 0, 0, 0},
28825 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON
, 0, 0, 0},
28826 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT
, 0, 0, 0},
28827 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL
, 0, 0, 0},
28828 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT
, 0, 0, 0},
28829 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON
, 0, 0, 0},
28830 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT
, 0, 0, 0},
28831 { SWIG_PY_INT
, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT
, 0, 0, 0},
28832 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART
, 0, 0, 0},
28833 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART
, 0, 0, 0},
28834 { SWIG_PY_INT
, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM
, 0, 0, 0},
28835 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG
, 0, 0, 0},
28836 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG
, 0, 0, 0},
28837 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
, 0, 0, 0},
28838 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT
, 0, 0, 0},
28839 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM
, 0, 0, 0},
28840 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO
, 0, 0, 0},
28841 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO
, 0, 0, 0},
28842 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED
, 0, 0, 0},
28843 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING
, 0, 0, 0},
28844 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED
, 0, 0, 0},
28845 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING
, 0, 0, 0},
28846 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED
, 0, 0, 0},
28847 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING
, 0, 0, 0},
28848 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN
, 0, 0, 0},
28849 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED
, 0, 0, 0},
28850 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
, 0, 0, 0},
28851 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
, 0, 0, 0},
28852 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG
, 0, 0, 0},
28853 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
, 0, 0, 0},
28854 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
, 0, 0, 0},
28855 { SWIG_PY_INT
, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY
, 0, 0, 0},
28856 { SWIG_PY_INT
, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST
, 0, 0, 0},
28857 { SWIG_PY_INT
, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS
, 0, 0, 0},
28858 { SWIG_PY_INT
, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL
, 0, 0, 0},
28859 { SWIG_PY_INT
, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS
, 0, 0, 0},
28860 { SWIG_PY_INT
, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP
, 0, 0, 0},
28861 { SWIG_PY_INT
, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP
, 0, 0, 0},
28862 { SWIG_PY_INT
, (char *)"wxEVT_HELP", (long) wxEVT_HELP
, 0, 0, 0},
28863 { SWIG_PY_INT
, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP
, 0, 0, 0},
28873 SWIGEXPORT(void) SWIG_init(void) {
28874 static PyObject
*SWIG_globals
= 0;
28875 static int typeinit
= 0;
28878 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
28879 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
28880 d
= PyModule_GetDict(m
);
28883 for (i
= 0; swig_types_initial
[i
]; i
++) {
28884 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
28888 SWIG_InstallConstants(d
,swig_const_table
);
28890 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
28891 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
28892 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
28893 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
28894 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
28895 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
28896 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
28897 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
28898 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
28899 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
28900 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
28901 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
28902 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
28903 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
28904 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
28905 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
28906 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
28907 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
28908 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
28909 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
28910 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
28911 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
28912 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
28913 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
28914 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
28915 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
28916 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
28917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
28918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
28919 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
28920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
28921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
28922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
28923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
28924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
28925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
28926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
28927 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
28928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
28929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
28930 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
28931 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
28932 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
28933 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
28934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
28935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
28936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
28937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
28938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
28939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
28940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
28941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
28943 // Map renamed classes back to their common name for OOR
28944 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28946 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
28947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
28948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
28949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
28950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
28951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
28952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
28953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
28954 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
28955 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
28956 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
28957 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
28958 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
28959 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
28960 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
28961 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
28962 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
28963 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
28964 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
28965 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
28966 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
28968 // Map renamed classes back to their common name for OOR
28969 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28970 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28972 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
28973 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
28974 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
28976 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");