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);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
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
[]);
198 /* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
205 SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
206 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharPtr(const char* cptr
);
207 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject
* obj
);
208 SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject
* obj
, const char* type
,
209 long min_value
, long max_value
);
210 SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject
*obj
, const char* type
,
211 unsigned long max_value
);
212 SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject
*obj
, swig_type_info
* pchar_info
);
213 SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject
*obj
, swig_type_info
* pchar_info
,
214 char** cptr
, size_t* size
);
215 SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject
*obj
, swig_type_info
* pchar_info
,
216 char* carray
, size_t size
);
217 SWIGIMPORT(PyObject
*) SWIG_PyObj_FromCharArray(const char* carray
, size_t size
);
218 SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject
*obj
, py_objasdbl_conv pyconv
);
221 /* Contract support */
223 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
231 /* -------- TYPES TABLE (BEGIN) -------- */
233 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235 #define SWIGTYPE_p_wxSizer swig_types[2]
236 #define SWIGTYPE_p_wxCheckBox swig_types[3]
237 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238 #define SWIGTYPE_p_wxEvent swig_types[5]
239 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240 #define SWIGTYPE_p_bool swig_types[7]
241 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242 #define SWIGTYPE_p_wxItemContainer swig_types[9]
243 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245 #define SWIGTYPE_p_wxStaticLine swig_types[12]
246 #define SWIGTYPE_p_wxControl swig_types[13]
247 #define SWIGTYPE_p_wxPyControl swig_types[14]
248 #define SWIGTYPE_p_wxGauge swig_types[15]
249 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
250 #define SWIGTYPE_p_wxFont swig_types[17]
251 #define SWIGTYPE_p_wxToggleButton swig_types[18]
252 #define SWIGTYPE_p_wxRadioButton swig_types[19]
253 #define SWIGTYPE_p_wxChoice swig_types[20]
254 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
255 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
256 #define SWIGTYPE_p_void swig_types[23]
257 #define SWIGTYPE_p_int swig_types[24]
258 #define SWIGTYPE_p_wxSize swig_types[25]
259 #define SWIGTYPE_p_wxDC swig_types[26]
260 #define SWIGTYPE_p_wxListView swig_types[27]
261 #define SWIGTYPE_p_wxIcon swig_types[28]
262 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
263 #define SWIGTYPE_p_wxNotebook swig_types[30]
264 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265 #define SWIGTYPE_p_wxArrayString swig_types[32]
266 #define SWIGTYPE_p_wxListbook swig_types[33]
267 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268 #define SWIGTYPE_p_wxSlider swig_types[35]
269 #define SWIGTYPE_p_wxStaticBox swig_types[36]
270 #define SWIGTYPE_p_wxArrayInt swig_types[37]
271 #define SWIGTYPE_p_wxContextHelp swig_types[38]
272 #define SWIGTYPE_p_long swig_types[39]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
274 #define SWIGTYPE_p_wxListEvent swig_types[41]
275 #define SWIGTYPE_p_wxListBox swig_types[42]
276 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
277 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
278 #define SWIGTYPE_p_wxSpinButton swig_types[45]
279 #define SWIGTYPE_p_wxButton swig_types[46]
280 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
281 #define SWIGTYPE_p_wxRect swig_types[48]
282 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283 #define SWIGTYPE_p_wxRadioBox swig_types[50]
284 #define SWIGTYPE_p_wxScrollBar swig_types[51]
285 #define SWIGTYPE_p_char swig_types[52]
286 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
287 #define SWIGTYPE_p_wxComboBox swig_types[54]
288 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
289 #define SWIGTYPE_p_wxListItem swig_types[56]
290 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
292 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294 #define SWIGTYPE_p_wxImageList swig_types[61]
295 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
296 #define SWIGTYPE_p_wxTextAttr swig_types[63]
297 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298 #define SWIGTYPE_p_wxPoint swig_types[65]
299 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
300 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301 #define SWIGTYPE_p_wxObject swig_types[68]
302 #define SWIGTYPE_p_wxCursor swig_types[69]
303 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
304 #define SWIGTYPE_p_wxWindow swig_types[71]
305 #define SWIGTYPE_p_wxString swig_types[72]
306 #define SWIGTYPE_p_wxBitmap swig_types[73]
307 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
308 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
309 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
310 #define SWIGTYPE_p_wxStaticText swig_types[77]
311 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
312 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313 #define SWIGTYPE_p_wxColour swig_types[80]
314 #define SWIGTYPE_p_wxToolBar swig_types[81]
315 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316 #define SWIGTYPE_p_wxValidator swig_types[83]
317 static swig_type_info
*swig_types
[85];
319 /* -------- TYPES TABLE (END) -------- */
322 /*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325 #define SWIG_init init_controls
327 #define SWIG_name "_controls"
335 #define SWIGSTATIC(a) static inline a
337 #define SWIGSTATIC(a) static a
343 #ifdef HAVE_NUMERIC_CAST
344 #define numeric_cast(type,a) numeric_cast<type>(a)
346 #define numeric_cast(type,a) static_cast<type>(a)
349 #define numeric_cast(type,a) (type)(a)
355 #define SWIG_PyObj_FromSignedChar PyInt_FromLong
356 #define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357 #define SWIG_PyObj_FromShort PyInt_FromLong
358 #define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359 #define SWIG_PyObj_FromInt PyInt_FromLong
360 #define SWIG_PyObj_FromLong PyInt_FromLong
361 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
362 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
363 #define SWIG_PyObj_FromFloat PyFloat_FromDouble
364 #define SWIG_PyObj_FromDouble PyFloat_FromDouble
367 #include "wx/wxPython/wxPython.h"
368 #include "wx/wxPython/pyclasses.h"
370 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
371 static const wxString
wxPyEmptyString(wxEmptyString
);
372 static const wxString
wxPyControlNameStr(wxControlNameStr
);
374 const wxArrayString wxPyEmptyStringArray
;
376 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
379 SWIG_PyObj_AsInt(PyObject
*obj
)
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj
, "int", INT_MIN
, INT_MAX
));
387 SWIG_PyObj_AsLong(PyObject
* obj
)
389 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
392 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
395 SWIG_PyObj_AsBool(PyObject
*obj
)
397 return PyObject_IsTrue(obj
) ? true : false;
400 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
401 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
402 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
403 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
404 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
405 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
407 #include <wx/checklst.h>
410 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
411 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
413 wxPyClientData
* data
= new wxPyClientData(clientData
);
414 self
->Insert(item
, pos
, data
);
416 self
->Insert(item
, pos
);
418 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
420 self
->GetSelections(lst
);
421 PyObject
*tup
= PyTuple_New(lst
.GetCount());
422 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
423 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
427 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
429 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
430 self
->GetItem(item
)->SetTextColour(c
);
433 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
435 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
436 self
->GetItem(item
)->SetBackgroundColour(c
);
439 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
441 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
442 self
->GetItem(item
)->SetFont(f
);
445 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
447 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
453 } else if (target
== Py_None
) {
457 if (!PyTuple_Check(target
)) {
459 target
= PyTuple_New(1);
460 PyTuple_SetItem(target
, 0, o2
);
463 PyTuple_SetItem(o3
, 0, o
);
466 target
= PySequence_Concat(o2
, o3
);
473 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
474 self
->AppendText(text
);
476 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
477 return self
->GetValue().Mid(from
, to
- from
);
479 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
480 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
481 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
483 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
485 #include <wx/slider.h>
488 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
489 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
491 #if defined(__WXMAC__) || defined(__WXX11__)
492 // implement dummy classes and such for wxMac
494 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
496 class wxToggleButton
: public wxControl
499 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
500 const wxPoint
&, const wxSize
&, long,
501 const wxValidator
&, const wxString
&)
502 { wxPyRaiseNotImplemented(); }
505 { wxPyRaiseNotImplemented(); }
509 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
511 SWIGSTATIC(PyObject
* )
512 SWIG_PyObj_FromUnsignedLong(unsigned long value
)
514 return (value
> (unsigned long)(LONG_MAX
)) ?
515 PyLong_FromUnsignedLong(value
) : PyInt_FromLong((long)value
);
518 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
519 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
520 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
522 Py_INCREF(udata
->m_obj
);
529 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
530 self
->SetClientData(new wxPyUserData(clientData
));
532 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
){
533 wxPyUserData
* udata
= NULL
;
534 if (clientData
&& clientData
!= Py_None
)
535 udata
= new wxPyUserData(clientData
);
536 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
537 shortHelp
, longHelp
, udata
);
539 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
){
540 wxPyUserData
* udata
= NULL
;
541 if (clientData
&& clientData
!= Py_None
)
542 udata
= new wxPyUserData(clientData
);
543 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
544 shortHelp
, longHelp
, udata
);
546 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
547 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
549 Py_INCREF(udata
->m_obj
);
556 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
557 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
560 #include <wx/listctrl.h>
563 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
564 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
568 PyObject
* func
= (PyObject
*)funcPtr
;
569 wxPyBeginBlockThreads();
571 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
572 PyObject
* result
= PyEval_CallObject(func
, args
);
575 retval
= PyInt_AsLong(result
);
579 wxPyEndBlockThreads();
583 // C++ Version of a Python aware class
584 class wxPyListCtrl
: public wxListCtrl
{
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
592 const wxValidator
& validator
,
593 const wxString
& name
) :
594 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
596 bool Create(wxWindow
* parent
, wxWindowID id
,
600 const wxValidator
& validator
,
601 const wxString
& name
) {
602 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
612 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
614 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
615 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
616 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
618 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
620 item
.SetMask( wxLIST_MASK_STATE
|
628 if (self
->GetColumn(col
, item
))
629 return new wxListItem(item
);
633 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
634 wxListItem
* info
= new wxListItem
;
635 info
->m_itemId
= itemId
;
637 info
->m_mask
= 0xFFFF;
638 self
->GetItem(*info
);
641 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
643 self
->GetItemPosition(item
, pos
);
646 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
648 self
->GetItemRect(item
, rect
, code
);
651 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
652 if (!PyCallable_Check(func
))
654 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
656 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
660 return (wxWindow
*)self
->m_mainWin
;
664 #include <wx/treectrl.h>
665 #include "wx/wxPython/pytree.h"
667 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668 bool wxTreeItemId_operator_ee___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
669 if (!other
) return False
;
670 return *self
== *other
;
672 bool wxTreeItemId_operator_Ne___(wxTreeItemId
*self
,wxTreeItemId
const *other
){
673 if (!other
) return True
;
674 return *self
!= *other
;
676 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
677 // C++ version of Python aware wxTreeCtrl
678 class wxPyTreeCtrl
: public wxTreeCtrl
{
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
686 const wxValidator
& validator
,
687 const wxString
& name
) :
688 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
690 bool Create(wxWindow
*parent
, wxWindowID id
,
694 const wxValidator
& validator
,
695 const wxString
& name
) {
696 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
700 int OnCompareItems(const wxTreeItemId
& item1
,
701 const wxTreeItemId
& item2
) {
704 wxPyBeginBlockThreads();
705 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
706 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
707 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
708 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
712 wxPyEndBlockThreads();
714 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
720 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
724 #define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
727 SWIGSTATIC(unsigned int)
728 SWIG_PyObj_AsUnsignedInt(PyObject
*obj
)
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj
, "unsigned int", UINT_MAX
));
734 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
735 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
737 data
= new wxPyTreeItemData();
738 data
->SetId(item
); // set the id
739 self
->SetItemData(item
, data
);
743 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
744 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
746 data
= new wxPyTreeItemData();
747 data
->SetId(item
); // set the id
748 self
->SetItemData(item
, data
);
750 return data
->GetData();
752 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
753 data
->SetId(item
); // set the id
754 self
->SetItemData(item
, data
);
756 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
757 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
759 data
= new wxPyTreeItemData(obj
);
760 data
->SetId(item
); // set the id
761 self
->SetItemData(item
, data
);
765 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
766 wxPyBeginBlockThreads();
767 PyObject
* rval
= PyList_New(0);
768 wxArrayTreeItemIds array
;
770 num
= self
->GetSelections(array
);
771 for (x
=0; x
< num
; x
++) {
772 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
773 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
774 PyList_Append(rval
, item
);
776 wxPyEndBlockThreads();
779 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
781 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
782 wxPyBeginBlockThreads();
783 PyObject
* tup
= PyTuple_New(2);
784 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
785 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
786 wxPyEndBlockThreads();
789 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
790 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
791 wxPyBeginBlockThreads();
792 PyObject
* tup
= PyTuple_New(2);
793 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
794 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
795 wxPyEndBlockThreads();
798 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
800 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
801 wxPyBeginBlockThreads();
802 wxRect
* r
= new wxRect(rect
);
803 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
804 wxPyEndBlockThreads();
810 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
811 // C++ version of Python aware wxControl
812 class wxPyControl
: public wxControl
814 DECLARE_DYNAMIC_CLASS(wxPyControl
)
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
818 const wxPoint
& pos
= wxDefaultPosition
,
819 const wxSize
& size
= wxDefaultSize
,
821 const wxValidator
& validator
=wxDefaultValidator
,
822 const wxString
& name
= wxPyControlNameStr
)
823 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
838 DEC_PYCALLBACK__(InitDialog
);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
841 DEC_PYCALLBACK_BOOL_(Validate
);
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
853 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
855 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
856 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
857 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
858 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
860 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
861 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
862 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
864 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
865 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
867 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
868 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
869 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
870 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
872 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
873 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
874 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
876 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
877 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
882 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
884 #include <wx/generic/dragimgg.h>
889 static int _wrap_ButtonNameStr_set(PyObject
*) {
890 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
895 static PyObject
*_wrap_ButtonNameStr_get() {
900 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
902 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
909 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 wxWindow
*arg1
= (wxWindow
*) 0 ;
914 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
915 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
916 wxSize
const &arg5_defvalue
= wxDefaultSize
;
917 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
918 long arg6
= (long) 0 ;
919 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
920 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
921 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
922 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
928 PyObject
* obj0
= 0 ;
929 PyObject
* obj1
= 0 ;
930 PyObject
* obj2
= 0 ;
931 PyObject
* obj3
= 0 ;
932 PyObject
* obj4
= 0 ;
933 PyObject
* obj5
= 0 ;
934 PyObject
* obj6
= 0 ;
935 PyObject
* obj7
= 0 ;
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
943 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
944 if (PyErr_Occurred()) SWIG_fail
;
947 arg3
= wxString_in_helper(obj2
);
948 if (arg3
== NULL
) SWIG_fail
;
954 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
960 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
965 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
966 if (PyErr_Occurred()) SWIG_fail
;
970 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
977 arg8
= wxString_in_helper(obj7
);
978 if (arg8
== NULL
) SWIG_fail
;
983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
984 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
986 wxPyEndAllowThreads(__tstate
);
987 if (PyErr_Occurred()) SWIG_fail
;
990 resultobj
= wxPyMake_wxObject(result
);
1014 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
*resultobj
;
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1024 result
= (wxButton
*)new wxButton();
1026 wxPyEndAllowThreads(__tstate
);
1027 if (PyErr_Occurred()) SWIG_fail
;
1030 resultobj
= wxPyMake_wxObject(result
);
1038 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1039 PyObject
*resultobj
;
1040 wxButton
*arg1
= (wxButton
*) 0 ;
1041 wxWindow
*arg2
= (wxWindow
*) 0 ;
1043 wxString
*arg4
= 0 ;
1044 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1045 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1046 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1047 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1048 long arg7
= (long) 0 ;
1049 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1050 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1051 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1052 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1054 bool temp4
= False
;
1057 bool temp9
= False
;
1058 PyObject
* obj0
= 0 ;
1059 PyObject
* obj1
= 0 ;
1060 PyObject
* obj2
= 0 ;
1061 PyObject
* obj3
= 0 ;
1062 PyObject
* obj4
= 0 ;
1063 PyObject
* obj5
= 0 ;
1064 PyObject
* obj6
= 0 ;
1065 PyObject
* obj7
= 0 ;
1066 PyObject
* obj8
= 0 ;
1068 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1075 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1079 arg4
= wxString_in_helper(obj3
);
1080 if (arg4
== NULL
) SWIG_fail
;
1086 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1092 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1097 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1098 if (PyErr_Occurred()) SWIG_fail
;
1102 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1104 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1109 arg9
= wxString_in_helper(obj8
);
1110 if (arg9
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1144 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1145 PyObject
*resultobj
;
1146 wxButton
*arg1
= (wxButton
*) 0 ;
1147 PyObject
* obj0
= 0 ;
1149 (char *) "self", NULL
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 (arg1
)->SetDefault();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1161 Py_INCREF(Py_None
); resultobj
= Py_None
;
1168 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= wxButton::GetDefaultSize();
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1185 resultptr
= new wxSize((wxSize
&) result
);
1186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1194 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1197 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1199 return Py_BuildValue((char *)"");
1201 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1203 wxWindow
*arg1
= (wxWindow
*) 0 ;
1205 wxBitmap
*arg3
= 0 ;
1206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1210 long arg6
= (long) wxBU_AUTODRAW
;
1211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1213 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1215 wxBitmapButton
*result
;
1218 bool temp8
= False
;
1219 PyObject
* obj0
= 0 ;
1220 PyObject
* obj1
= 0 ;
1221 PyObject
* obj2
= 0 ;
1222 PyObject
* obj3
= 0 ;
1223 PyObject
* obj4
= 0 ;
1224 PyObject
* obj5
= 0 ;
1225 PyObject
* obj6
= 0 ;
1226 PyObject
* obj7
= 0 ;
1228 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1244 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1250 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1255 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1256 if (PyErr_Occurred()) SWIG_fail
;
1260 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1262 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1267 arg8
= wxString_in_helper(obj7
);
1268 if (arg8
== NULL
) SWIG_fail
;
1273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1274 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1276 wxPyEndAllowThreads(__tstate
);
1277 if (PyErr_Occurred()) SWIG_fail
;
1280 resultobj
= wxPyMake_wxObject(result
);
1296 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1297 PyObject
*resultobj
;
1298 wxBitmapButton
*result
;
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1306 result
= (wxBitmapButton
*)new wxBitmapButton();
1308 wxPyEndAllowThreads(__tstate
);
1309 if (PyErr_Occurred()) SWIG_fail
;
1312 resultobj
= wxPyMake_wxObject(result
);
1320 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
*resultobj
;
1322 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1323 wxWindow
*arg2
= (wxWindow
*) 0 ;
1325 wxBitmap
*arg4
= 0 ;
1326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1330 long arg7
= (long) wxBU_AUTODRAW
;
1331 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1332 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1333 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1334 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1338 bool temp9
= False
;
1339 PyObject
* obj0
= 0 ;
1340 PyObject
* obj1
= 0 ;
1341 PyObject
* obj2
= 0 ;
1342 PyObject
* obj3
= 0 ;
1343 PyObject
* obj4
= 0 ;
1344 PyObject
* obj5
= 0 ;
1345 PyObject
* obj6
= 0 ;
1346 PyObject
* obj7
= 0 ;
1347 PyObject
* obj8
= 0 ;
1349 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1356 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1357 if (PyErr_Occurred()) SWIG_fail
;
1359 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1377 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1378 if (PyErr_Occurred()) SWIG_fail
;
1382 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1384 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1389 arg9
= wxString_in_helper(obj8
);
1390 if (arg9
== NULL
) SWIG_fail
;
1395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1396 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1398 wxPyEndAllowThreads(__tstate
);
1399 if (PyErr_Occurred()) SWIG_fail
;
1401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1416 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1417 PyObject
*resultobj
;
1418 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1420 PyObject
* obj0
= 0 ;
1422 (char *) "self", NULL
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1429 result
= (arg1
)->GetBitmapLabel();
1431 wxPyEndAllowThreads(__tstate
);
1432 if (PyErr_Occurred()) SWIG_fail
;
1435 wxBitmap
* resultptr
;
1436 resultptr
= new wxBitmap((wxBitmap
&) result
);
1437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1445 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
*resultobj
;
1447 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1449 PyObject
* obj0
= 0 ;
1451 (char *) "self", NULL
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 result
= (arg1
)->GetBitmapDisabled();
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) SWIG_fail
;
1464 wxBitmap
* resultptr
;
1465 resultptr
= new wxBitmap((wxBitmap
&) result
);
1466 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1474 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
*resultobj
;
1476 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1478 PyObject
* obj0
= 0 ;
1480 (char *) "self", NULL
1483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1487 result
= (arg1
)->GetBitmapFocus();
1489 wxPyEndAllowThreads(__tstate
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 wxBitmap
* resultptr
;
1494 resultptr
= new wxBitmap((wxBitmap
&) result
);
1495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1503 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1507 PyObject
* obj0
= 0 ;
1509 (char *) "self", NULL
1512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (arg1
)->GetBitmapSelected();
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1522 wxBitmap
* resultptr
;
1523 resultptr
= new wxBitmap((wxBitmap
&) result
);
1524 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
1532 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1534 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1535 wxBitmap
*arg2
= 0 ;
1536 PyObject
* obj0
= 0 ;
1537 PyObject
* obj1
= 0 ;
1539 (char *) "self",(char *) "bitmap", NULL
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1550 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1552 wxPyEndAllowThreads(__tstate
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 Py_INCREF(Py_None
); resultobj
= Py_None
;
1562 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1563 PyObject
*resultobj
;
1564 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1565 wxBitmap
*arg2
= 0 ;
1566 PyObject
* obj0
= 0 ;
1567 PyObject
* obj1
= 0 ;
1569 (char *) "self",(char *) "bitmap", NULL
1572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1580 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1582 wxPyEndAllowThreads(__tstate
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 Py_INCREF(Py_None
); resultobj
= Py_None
;
1592 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1595 wxBitmap
*arg2
= 0 ;
1596 PyObject
* obj0
= 0 ;
1597 PyObject
* obj1
= 0 ;
1599 (char *) "self",(char *) "bitmap", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1606 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1610 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1612 wxPyEndAllowThreads(__tstate
);
1613 if (PyErr_Occurred()) SWIG_fail
;
1615 Py_INCREF(Py_None
); resultobj
= Py_None
;
1622 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1625 wxBitmap
*arg2
= 0 ;
1626 PyObject
* obj0
= 0 ;
1627 PyObject
* obj1
= 0 ;
1629 (char *) "self",(char *) "bitmap", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 Py_INCREF(Py_None
); resultobj
= Py_None
;
1652 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1659 PyObject
* obj2
= 0 ;
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1671 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 (arg1
)->SetMargins(arg2
,arg3
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1688 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
*resultobj
;
1690 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1692 PyObject
* obj0
= 0 ;
1694 (char *) "self", NULL
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= SWIG_PyObj_FromInt((int)result
);
1713 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "self", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= SWIG_PyObj_FromInt((int)result
);
1738 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1743 return Py_BuildValue((char *)"");
1745 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
1746 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1751 static PyObject
*_wrap_CheckBoxNameStr_get() {
1756 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1758 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1765 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxWindow
*arg1
= (wxWindow
*) 0 ;
1769 wxString
*arg3
= 0 ;
1770 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1771 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1772 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1773 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1774 long arg6
= (long) 0 ;
1775 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1776 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1777 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1778 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1780 bool temp3
= False
;
1783 bool temp8
= False
;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1786 PyObject
* obj2
= 0 ;
1787 PyObject
* obj3
= 0 ;
1788 PyObject
* obj4
= 0 ;
1789 PyObject
* obj5
= 0 ;
1790 PyObject
* obj6
= 0 ;
1791 PyObject
* obj7
= 0 ;
1793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1799 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1803 arg3
= wxString_in_helper(obj2
);
1804 if (arg3
== NULL
) SWIG_fail
;
1810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1821 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1826 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1828 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1833 arg8
= wxString_in_helper(obj7
);
1834 if (arg8
== NULL
) SWIG_fail
;
1839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1840 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1842 wxPyEndAllowThreads(__tstate
);
1843 if (PyErr_Occurred()) SWIG_fail
;
1845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1868 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
1877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1878 result
= (wxCheckBox
*)new wxCheckBox();
1880 wxPyEndAllowThreads(__tstate
);
1881 if (PyErr_Occurred()) SWIG_fail
;
1883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckBox
, 1);
1890 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
1893 wxWindow
*arg2
= (wxWindow
*) 0 ;
1895 wxString
*arg4
= 0 ;
1896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1900 long arg7
= (long) 0 ;
1901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1903 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
1904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1906 bool temp4
= False
;
1909 bool temp9
= False
;
1910 PyObject
* obj0
= 0 ;
1911 PyObject
* obj1
= 0 ;
1912 PyObject
* obj2
= 0 ;
1913 PyObject
* obj3
= 0 ;
1914 PyObject
* obj4
= 0 ;
1915 PyObject
* obj5
= 0 ;
1916 PyObject
* obj6
= 0 ;
1917 PyObject
* obj7
= 0 ;
1918 PyObject
* obj8
= 0 ;
1920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1927 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
1928 if (PyErr_Occurred()) SWIG_fail
;
1931 arg4
= wxString_in_helper(obj3
);
1932 if (arg4
== NULL
) SWIG_fail
;
1938 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1944 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1949 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1954 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
1961 arg9
= wxString_in_helper(obj8
);
1962 if (arg9
== NULL
) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1996 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2000 PyObject
* obj0
= 0 ;
2002 (char *) "self", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2009 result
= (bool)(arg1
)->GetValue();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2021 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2025 PyObject
* obj0
= 0 ;
2027 (char *) "self", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 result
= (bool)(arg1
)->IsChecked();
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2046 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2050 PyObject
* obj0
= 0 ;
2051 PyObject
* obj1
= 0 ;
2053 (char *) "self",(char *) "state", NULL
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2059 arg2
= (bool const) SWIG_PyObj_AsBool(obj1
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetValue(arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2080 PyObject
* obj0
= 0 ;
2082 (char *) "self", NULL
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 resultobj
= SWIG_PyObj_FromInt((int)result
);
2101 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
*resultobj
;
2103 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2108 (char *) "self",(char *) "state", NULL
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 arg2
= (wxCheckBoxState
) SWIG_PyObj_AsInt(obj1
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2124 Py_INCREF(Py_None
); resultobj
= Py_None
;
2131 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
*resultobj
;
2133 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2135 PyObject
* obj0
= 0 ;
2137 (char *) "self", NULL
2140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2144 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2146 wxPyEndAllowThreads(__tstate
);
2147 if (PyErr_Occurred()) SWIG_fail
;
2149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2156 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2157 PyObject
*resultobj
;
2158 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2160 PyObject
* obj0
= 0 ;
2162 (char *) "self", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2186 return Py_BuildValue((char *)"");
2188 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2189 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2194 static PyObject
*_wrap_ChoiceNameStr_get() {
2199 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2201 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2208 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxWindow
*arg1
= (wxWindow
*) 0 ;
2212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2216 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2217 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2218 long arg6
= (long) 0 ;
2219 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2220 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2221 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2222 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2226 bool temp5
= False
;
2227 bool temp8
= False
;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2230 PyObject
* obj2
= 0 ;
2231 PyObject
* obj3
= 0 ;
2232 PyObject
* obj4
= 0 ;
2233 PyObject
* obj5
= 0 ;
2234 PyObject
* obj6
= 0 ;
2235 PyObject
* obj7
= 0 ;
2237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2249 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2255 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2260 if (! PySequence_Check(obj4
)) {
2261 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2264 arg5
= new wxArrayString
;
2266 int i
, len
=PySequence_Length(obj4
);
2267 for (i
=0; i
<len
; i
++) {
2268 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2270 PyObject
* str
= PyObject_Unicode(item
);
2272 PyObject
* str
= PyObject_Str(item
);
2274 arg5
->Add(Py2wxString(str
));
2282 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
2283 if (PyErr_Occurred()) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2294 arg8
= wxString_in_helper(obj7
);
2295 if (arg8
== NULL
) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2301 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2308 if (temp5
) delete arg5
;
2317 if (temp5
) delete arg5
;
2327 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2337 result
= (wxChoice
*)new wxChoice();
2339 wxPyEndAllowThreads(__tstate
);
2340 if (PyErr_Occurred()) SWIG_fail
;
2342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChoice
, 1);
2349 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
*resultobj
;
2351 wxChoice
*arg1
= (wxChoice
*) 0 ;
2352 wxWindow
*arg2
= (wxWindow
*) 0 ;
2354 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2355 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2356 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2357 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2358 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2359 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2360 long arg7
= (long) 0 ;
2361 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2362 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2363 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2364 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2368 bool temp6
= False
;
2369 bool temp9
= False
;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2373 PyObject
* obj3
= 0 ;
2374 PyObject
* obj4
= 0 ;
2375 PyObject
* obj5
= 0 ;
2376 PyObject
* obj6
= 0 ;
2377 PyObject
* obj7
= 0 ;
2378 PyObject
* obj8
= 0 ;
2380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2387 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2388 if (PyErr_Occurred()) SWIG_fail
;
2393 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2399 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2404 if (! PySequence_Check(obj5
)) {
2405 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2408 arg6
= new wxArrayString
;
2410 int i
, len
=PySequence_Length(obj5
);
2411 for (i
=0; i
<len
; i
++) {
2412 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2414 PyObject
* str
= PyObject_Unicode(item
);
2416 PyObject
* str
= PyObject_Str(item
);
2418 arg6
->Add(Py2wxString(str
));
2426 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2427 if (PyErr_Occurred()) SWIG_fail
;
2431 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2438 arg9
= wxString_in_helper(obj8
);
2439 if (arg9
== NULL
) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2452 if (temp6
) delete arg6
;
2461 if (temp6
) delete arg6
;
2471 static PyObject
*_wrap_Choice_GetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxChoice
*arg1
= (wxChoice
*) 0 ;
2475 PyObject
* obj0
= 0 ;
2477 (char *) "self", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choice_GetColumns",kwnames
,&obj0
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 result
= (int)(arg1
)->GetColumns();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= SWIG_PyObj_FromInt((int)result
);
2496 static PyObject
*_wrap_Choice_SetColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxChoice
*arg1
= (wxChoice
*) 0 ;
2499 int arg2
= (int) (int)1 ;
2500 PyObject
* obj0
= 0 ;
2501 PyObject
* obj1
= 0 ;
2503 (char *) "self",(char *) "n", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Choice_SetColumns",kwnames
,&obj0
,&obj1
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2510 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2511 if (PyErr_Occurred()) SWIG_fail
;
2515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2516 (arg1
)->SetColumns(arg2
);
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 Py_INCREF(Py_None
); resultobj
= Py_None
;
2528 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxChoice
*arg1
= (wxChoice
*) 0 ;
2532 PyObject
* obj0
= 0 ;
2533 PyObject
* obj1
= 0 ;
2535 (char *) "self",(char *) "n", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2541 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 (arg1
)->SetSelection(arg2
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 Py_INCREF(Py_None
); resultobj
= Py_None
;
2558 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxChoice
*arg1
= (wxChoice
*) 0 ;
2561 wxString
*arg2
= 0 ;
2562 bool temp2
= False
;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2566 (char *) "self",(char *) "string", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2572 arg2
= wxString_in_helper(obj1
);
2573 if (arg2
== NULL
) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 Py_INCREF(Py_None
); resultobj
= Py_None
;
2598 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
*resultobj
;
2600 wxChoice
*arg1
= (wxChoice
*) 0 ;
2602 wxString
*arg3
= 0 ;
2603 bool temp3
= False
;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2606 PyObject
* obj2
= 0 ;
2608 (char *) "self",(char *) "n",(char *) "s", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChoice
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2614 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2618 arg3
= wxString_in_helper(obj2
);
2619 if (arg3
== NULL
) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2629 Py_INCREF(Py_None
); resultobj
= Py_None
;
2644 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2647 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2649 return Py_BuildValue((char *)"");
2651 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
2652 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2657 static PyObject
*_wrap_ComboBoxNameStr_get() {
2662 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2664 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2671 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2672 PyObject
*resultobj
;
2673 wxWindow
*arg1
= (wxWindow
*) 0 ;
2675 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2676 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2681 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2682 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2683 long arg7
= (long) 0 ;
2684 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2685 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2686 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2687 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2689 bool temp3
= False
;
2692 bool temp6
= False
;
2693 bool temp9
= False
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2696 PyObject
* obj2
= 0 ;
2697 PyObject
* obj3
= 0 ;
2698 PyObject
* obj4
= 0 ;
2699 PyObject
* obj5
= 0 ;
2700 PyObject
* obj6
= 0 ;
2701 PyObject
* obj7
= 0 ;
2702 PyObject
* obj8
= 0 ;
2704 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2710 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
2711 if (PyErr_Occurred()) SWIG_fail
;
2715 arg3
= wxString_in_helper(obj2
);
2716 if (arg3
== NULL
) SWIG_fail
;
2723 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2729 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2734 if (! PySequence_Check(obj5
)) {
2735 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2738 arg6
= new wxArrayString
;
2740 int i
, len
=PySequence_Length(obj5
);
2741 for (i
=0; i
<len
; i
++) {
2742 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2744 PyObject
* str
= PyObject_Unicode(item
);
2746 PyObject
* str
= PyObject_Str(item
);
2748 arg6
->Add(Py2wxString(str
));
2756 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2761 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2763 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2768 arg9
= wxString_in_helper(obj8
);
2769 if (arg9
== NULL
) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2786 if (temp6
) delete arg6
;
2799 if (temp6
) delete arg6
;
2809 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2810 PyObject
*resultobj
;
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (wxComboBox
*)new wxComboBox();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxComboBox
, 1);
2831 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2834 wxWindow
*arg2
= (wxWindow
*) 0 ;
2836 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2837 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2838 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2839 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2840 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2841 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2842 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2843 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2844 long arg8
= (long) 0 ;
2845 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2846 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2847 wxString
const &arg10_defvalue
= wxPyComboBoxNameStr
;
2848 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2850 bool temp4
= False
;
2853 bool temp7
= False
;
2854 bool temp10
= False
;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2857 PyObject
* obj2
= 0 ;
2858 PyObject
* obj3
= 0 ;
2859 PyObject
* obj4
= 0 ;
2860 PyObject
* obj5
= 0 ;
2861 PyObject
* obj6
= 0 ;
2862 PyObject
* obj7
= 0 ;
2863 PyObject
* obj8
= 0 ;
2864 PyObject
* obj9
= 0 ;
2866 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2871 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2873 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2878 arg4
= wxString_in_helper(obj3
);
2879 if (arg4
== NULL
) SWIG_fail
;
2886 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2892 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2897 if (! PySequence_Check(obj6
)) {
2898 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2901 arg7
= new wxArrayString
;
2903 int i
, len
=PySequence_Length(obj6
);
2904 for (i
=0; i
<len
; i
++) {
2905 PyObject
* item
= PySequence_GetItem(obj6
, i
);
2907 PyObject
* str
= PyObject_Unicode(item
);
2909 PyObject
* str
= PyObject_Str(item
);
2911 arg7
->Add(Py2wxString(str
));
2919 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2924 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2926 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
2931 arg10
= wxString_in_helper(obj9
);
2932 if (arg10
== NULL
) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2949 if (temp7
) delete arg7
;
2962 if (temp7
) delete arg7
;
2972 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "self", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= ((wxComboBox
const *)arg1
)->GetValue();
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2994 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3003 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3006 wxString
*arg2
= 0 ;
3007 bool temp2
= False
;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3011 (char *) "self",(char *) "value", NULL
3014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3017 arg2
= wxString_in_helper(obj1
);
3018 if (arg2
== NULL
) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 (arg1
)->SetValue((wxString
const &)*arg2
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3028 Py_INCREF(Py_None
); resultobj
= Py_None
;
3043 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3044 PyObject
*resultobj
;
3045 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3046 PyObject
* obj0
= 0 ;
3048 (char *) "self", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3060 Py_INCREF(Py_None
); resultobj
= Py_None
;
3067 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3070 PyObject
* obj0
= 0 ;
3072 (char *) "self", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 Py_INCREF(Py_None
); resultobj
= Py_None
;
3091 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3096 (char *) "self", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3105 wxPyEndAllowThreads(__tstate
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3108 Py_INCREF(Py_None
); resultobj
= Py_None
;
3115 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
*resultobj
;
3117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3119 PyObject
* obj0
= 0 ;
3120 PyObject
* obj1
= 0 ;
3122 (char *) "self",(char *) "pos", NULL
3125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3128 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3133 (arg1
)->SetInsertionPoint(arg2
);
3135 wxPyEndAllowThreads(__tstate
);
3136 if (PyErr_Occurred()) SWIG_fail
;
3138 Py_INCREF(Py_None
); resultobj
= Py_None
;
3145 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3146 PyObject
*resultobj
;
3147 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3149 PyObject
* obj0
= 0 ;
3151 (char *) "self", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3158 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3160 wxPyEndAllowThreads(__tstate
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3163 resultobj
= SWIG_PyObj_FromLong((long)result
);
3170 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3174 PyObject
* obj0
= 0 ;
3176 (char *) "self", NULL
3179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3183 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3185 wxPyEndAllowThreads(__tstate
);
3186 if (PyErr_Occurred()) SWIG_fail
;
3188 resultobj
= SWIG_PyObj_FromLong((long)result
);
3195 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
*resultobj
;
3197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3200 wxString
*arg4
= 0 ;
3201 bool temp4
= False
;
3202 PyObject
* obj0
= 0 ;
3203 PyObject
* obj1
= 0 ;
3204 PyObject
* obj2
= 0 ;
3205 PyObject
* obj3
= 0 ;
3207 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3213 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3217 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3221 arg4
= wxString_in_helper(obj3
);
3222 if (arg4
== NULL
) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 Py_INCREF(Py_None
); resultobj
= Py_None
;
3247 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3251 PyObject
* obj0
= 0 ;
3252 PyObject
* obj1
= 0 ;
3254 (char *) "self",(char *) "n", NULL
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3260 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 (arg1
)->SetSelection(arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 Py_INCREF(Py_None
); resultobj
= Py_None
;
3277 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3282 PyObject
* obj0
= 0 ;
3283 PyObject
* obj1
= 0 ;
3284 PyObject
* obj2
= 0 ;
3286 (char *) "self",(char *) "from",(char *) "to", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3292 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3296 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetSelection(arg2
,arg3
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "editable", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3326 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->SetEditable(arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3346 PyObject
* obj0
= 0 ;
3348 (char *) "self", NULL
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 (arg1
)->SetInsertionPointEnd();
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3372 PyObject
* obj0
= 0 ;
3373 PyObject
* obj1
= 0 ;
3374 PyObject
* obj2
= 0 ;
3376 (char *) "self",(char *) "from",(char *) "to", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxComboBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3386 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 (arg1
)->Remove(arg2
,arg3
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3396 Py_INCREF(Py_None
); resultobj
= Py_None
;
3403 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3406 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3408 return Py_BuildValue((char *)"");
3410 static int _wrap_GaugeNameStr_set(PyObject
*) {
3411 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3416 static PyObject
*_wrap_GaugeNameStr_get() {
3421 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3423 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3430 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxWindow
*arg1
= (wxWindow
*) 0 ;
3435 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3436 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3437 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3438 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3439 long arg6
= (long) wxGA_HORIZONTAL
;
3440 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3441 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3442 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3443 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3447 bool temp8
= False
;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3450 PyObject
* obj2
= 0 ;
3451 PyObject
* obj3
= 0 ;
3452 PyObject
* obj4
= 0 ;
3453 PyObject
* obj5
= 0 ;
3454 PyObject
* obj6
= 0 ;
3455 PyObject
* obj7
= 0 ;
3457 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3467 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3473 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3479 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3484 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
3485 if (PyErr_Occurred()) SWIG_fail
;
3489 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3496 arg8
= wxString_in_helper(obj7
);
3497 if (arg8
== NULL
) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3523 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3524 PyObject
*resultobj
;
3530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 result
= (wxGauge
*)new wxGauge();
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGauge
, 1);
3545 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3547 wxGauge
*arg1
= (wxGauge
*) 0 ;
3548 wxWindow
*arg2
= (wxWindow
*) 0 ;
3551 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3552 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3553 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3554 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3555 long arg7
= (long) wxGA_HORIZONTAL
;
3556 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3557 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3558 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3559 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3563 bool temp9
= False
;
3564 PyObject
* obj0
= 0 ;
3565 PyObject
* obj1
= 0 ;
3566 PyObject
* obj2
= 0 ;
3567 PyObject
* obj3
= 0 ;
3568 PyObject
* obj4
= 0 ;
3569 PyObject
* obj5
= 0 ;
3570 PyObject
* obj6
= 0 ;
3571 PyObject
* obj7
= 0 ;
3572 PyObject
* obj8
= 0 ;
3574 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3591 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3597 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3602 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3607 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3614 arg9
= wxString_in_helper(obj8
);
3615 if (arg9
== NULL
) SWIG_fail
;
3620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3621 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3623 wxPyEndAllowThreads(__tstate
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3641 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxGauge
*arg1
= (wxGauge
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "range", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3654 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3655 if (PyErr_Occurred()) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 (arg1
)->SetRange(arg2
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxGauge
*arg1
= (wxGauge
*) 0 ;
3675 PyObject
* obj0
= 0 ;
3677 (char *) "self", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3689 resultobj
= SWIG_PyObj_FromInt((int)result
);
3696 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3697 PyObject
*resultobj
;
3698 wxGauge
*arg1
= (wxGauge
*) 0 ;
3700 PyObject
* obj0
= 0 ;
3701 PyObject
* obj1
= 0 ;
3703 (char *) "self",(char *) "pos", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3709 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 (arg1
)->SetValue(arg2
);
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 Py_INCREF(Py_None
); resultobj
= Py_None
;
3726 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxGauge
*arg1
= (wxGauge
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "self", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3739 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3741 wxPyEndAllowThreads(__tstate
);
3742 if (PyErr_Occurred()) SWIG_fail
;
3744 resultobj
= SWIG_PyObj_FromInt((int)result
);
3751 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3752 PyObject
*resultobj
;
3753 wxGauge
*arg1
= (wxGauge
*) 0 ;
3755 PyObject
* obj0
= 0 ;
3757 (char *) "self", NULL
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3776 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxGauge
*arg1
= (wxGauge
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3781 PyObject
* obj1
= 0 ;
3783 (char *) "self",(char *) "w", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3789 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 (arg1
)->SetShadowWidth(arg2
);
3796 wxPyEndAllowThreads(__tstate
);
3797 if (PyErr_Occurred()) SWIG_fail
;
3799 Py_INCREF(Py_None
); resultobj
= Py_None
;
3806 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3807 PyObject
*resultobj
;
3808 wxGauge
*arg1
= (wxGauge
*) 0 ;
3810 PyObject
* obj0
= 0 ;
3812 (char *) "self", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 resultobj
= SWIG_PyObj_FromInt((int)result
);
3831 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxGauge
*arg1
= (wxGauge
*) 0 ;
3835 PyObject
* obj0
= 0 ;
3836 PyObject
* obj1
= 0 ;
3838 (char *) "self",(char *) "w", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3844 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->SetBezelFace(arg2
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxGauge
*arg1
= (wxGauge
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGauge
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3874 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_PyObj_FromInt((int)result
);
3886 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
3888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3889 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
3891 return Py_BuildValue((char *)"");
3893 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
3894 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
3899 static PyObject
*_wrap_StaticBitmapNameStr_get() {
3904 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3906 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
3913 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
3914 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
3919 static PyObject
*_wrap_StaticBoxNameStr_get() {
3924 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3926 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
3933 static int _wrap_StaticTextNameStr_set(PyObject
*) {
3934 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
3939 static PyObject
*_wrap_StaticTextNameStr_get() {
3944 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3946 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
3953 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxWindow
*arg1
= (wxWindow
*) 0 ;
3957 wxString
*arg3
= 0 ;
3958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3962 long arg6
= (long) 0 ;
3963 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
3964 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3965 wxStaticBox
*result
;
3966 bool temp3
= False
;
3969 bool temp7
= False
;
3970 PyObject
* obj0
= 0 ;
3971 PyObject
* obj1
= 0 ;
3972 PyObject
* obj2
= 0 ;
3973 PyObject
* obj3
= 0 ;
3974 PyObject
* obj4
= 0 ;
3975 PyObject
* obj5
= 0 ;
3976 PyObject
* obj6
= 0 ;
3978 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3984 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3988 arg3
= wxString_in_helper(obj2
);
3989 if (arg3
== NULL
) SWIG_fail
;
3995 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4001 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4006 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4012 arg7
= wxString_in_helper(obj6
);
4013 if (arg7
== NULL
) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= wxPyMake_wxObject(result
);
4049 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxStaticBox
*result
;
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (wxStaticBox
*)new wxStaticBox();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4065 resultobj
= wxPyMake_wxObject(result
);
4073 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4076 wxWindow
*arg2
= (wxWindow
*) 0 ;
4078 wxString
*arg4
= 0 ;
4079 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4080 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4081 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4082 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4083 long arg7
= (long) 0 ;
4084 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4085 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4087 bool temp4
= False
;
4090 bool temp8
= False
;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4093 PyObject
* obj2
= 0 ;
4094 PyObject
* obj3
= 0 ;
4095 PyObject
* obj4
= 0 ;
4096 PyObject
* obj5
= 0 ;
4097 PyObject
* obj6
= 0 ;
4098 PyObject
* obj7
= 0 ;
4100 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4107 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4111 arg4
= wxString_in_helper(obj3
);
4112 if (arg4
== NULL
) SWIG_fail
;
4118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4129 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4135 arg8
= wxString_in_helper(obj7
);
4136 if (arg8
== NULL
) SWIG_fail
;
4141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4142 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4170 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4173 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4175 return Py_BuildValue((char *)"");
4177 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxWindow
*arg1
= (wxWindow
*) 0 ;
4181 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4182 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4183 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4184 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4185 long arg5
= (long) wxLI_HORIZONTAL
;
4186 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4187 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4188 wxStaticLine
*result
;
4191 bool temp6
= False
;
4192 PyObject
* obj0
= 0 ;
4193 PyObject
* obj1
= 0 ;
4194 PyObject
* obj2
= 0 ;
4195 PyObject
* obj3
= 0 ;
4196 PyObject
* obj4
= 0 ;
4197 PyObject
* obj5
= 0 ;
4199 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4205 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4222 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4228 arg6
= wxString_in_helper(obj5
);
4229 if (arg6
== NULL
) SWIG_fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4255 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
*resultobj
;
4257 wxStaticLine
*result
;
4262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4265 result
= (wxStaticLine
*)new wxStaticLine();
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticLine
, 1);
4277 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4280 wxWindow
*arg2
= (wxWindow
*) 0 ;
4282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4286 long arg6
= (long) wxLI_HORIZONTAL
;
4287 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4292 bool temp7
= False
;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4295 PyObject
* obj2
= 0 ;
4296 PyObject
* obj3
= 0 ;
4297 PyObject
* obj4
= 0 ;
4298 PyObject
* obj5
= 0 ;
4299 PyObject
* obj6
= 0 ;
4301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4308 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4314 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4320 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4325 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4331 arg7
= wxString_in_helper(obj6
);
4332 if (arg7
== NULL
) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4358 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
;
4360 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4362 PyObject
* obj0
= 0 ;
4364 (char *) "self", NULL
4367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticLine
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4371 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (int)wxStaticLine::GetDefaultSize();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_PyObj_FromInt((int)result
);
4405 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4407 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4408 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4410 return Py_BuildValue((char *)"");
4412 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxWindow
*arg1
= (wxWindow
*) 0 ;
4416 wxString
*arg3
= 0 ;
4417 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4418 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4419 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4420 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4421 long arg6
= (long) 0 ;
4422 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4423 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4424 wxStaticText
*result
;
4425 bool temp3
= False
;
4428 bool temp7
= False
;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4431 PyObject
* obj2
= 0 ;
4432 PyObject
* obj3
= 0 ;
4433 PyObject
* obj4
= 0 ;
4434 PyObject
* obj5
= 0 ;
4435 PyObject
* obj6
= 0 ;
4437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4443 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4447 arg3
= wxString_in_helper(obj2
);
4448 if (arg3
== NULL
) SWIG_fail
;
4454 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4460 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4465 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4471 arg7
= wxString_in_helper(obj6
);
4472 if (arg7
== NULL
) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4506 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxStaticText
*result
;
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (wxStaticText
*)new wxStaticText();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticText
, 1);
4528 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4531 wxWindow
*arg2
= (wxWindow
*) 0 ;
4533 wxString
*arg4
= 0 ;
4534 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4535 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4536 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4537 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4538 long arg7
= (long) 0 ;
4539 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4540 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4542 bool temp4
= False
;
4545 bool temp8
= False
;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 PyObject
* obj2
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 PyObject
* obj4
= 0 ;
4551 PyObject
* obj5
= 0 ;
4552 PyObject
* obj6
= 0 ;
4553 PyObject
* obj7
= 0 ;
4555 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticText
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4562 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4566 arg4
= wxString_in_helper(obj3
);
4567 if (arg4
== NULL
) SWIG_fail
;
4573 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4579 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4584 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4590 arg8
= wxString_in_helper(obj7
);
4591 if (arg8
== NULL
) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4625 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4628 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4630 return Py_BuildValue((char *)"");
4632 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxWindow
*arg1
= (wxWindow
*) 0 ;
4636 wxBitmap
*arg3
= 0 ;
4637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4641 long arg6
= (long) 0 ;
4642 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4644 wxStaticBitmap
*result
;
4647 bool temp7
= False
;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 PyObject
* obj2
= 0 ;
4651 PyObject
* obj3
= 0 ;
4652 PyObject
* obj4
= 0 ;
4653 PyObject
* obj5
= 0 ;
4654 PyObject
* obj6
= 0 ;
4656 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4662 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4663 if (PyErr_Occurred()) SWIG_fail
;
4665 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4683 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4689 arg7
= wxString_in_helper(obj6
);
4690 if (arg7
== NULL
) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4716 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxStaticBitmap
*result
;
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBitmap
, 1);
4738 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4741 wxWindow
*arg2
= (wxWindow
*) 0 ;
4743 wxBitmap
*arg4
= 0 ;
4744 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4745 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4746 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4747 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4748 long arg7
= (long) 0 ;
4749 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4750 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4754 bool temp8
= False
;
4755 PyObject
* obj0
= 0 ;
4756 PyObject
* obj1
= 0 ;
4757 PyObject
* obj2
= 0 ;
4758 PyObject
* obj3
= 0 ;
4759 PyObject
* obj4
= 0 ;
4760 PyObject
* obj5
= 0 ;
4761 PyObject
* obj6
= 0 ;
4762 PyObject
* obj7
= 0 ;
4764 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4769 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4771 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4781 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4787 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4792 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4798 arg8
= wxString_in_helper(obj7
);
4799 if (arg8
== NULL
) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4825 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "self", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (arg1
)->GetBitmap();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 wxBitmap
* resultptr
;
4845 resultptr
= new wxBitmap((wxBitmap
&) result
);
4846 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
4854 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
;
4856 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4857 wxBitmap
*arg2
= 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "self",(char *) "bitmap", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4872 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) SWIG_fail
;
4877 Py_INCREF(Py_None
); resultobj
= Py_None
;
4884 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
*resultobj
;
4886 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4888 PyObject
* obj0
= 0 ;
4889 PyObject
* obj1
= 0 ;
4891 (char *) "self",(char *) "icon", NULL
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4896 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4898 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
4916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4917 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
4919 return Py_BuildValue((char *)"");
4921 static int _wrap_ListBoxNameStr_set(PyObject
*) {
4922 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
4927 static PyObject
*_wrap_ListBoxNameStr_get() {
4932 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4934 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
4941 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxWindow
*arg1
= (wxWindow
*) 0 ;
4945 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4946 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4947 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4948 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4949 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
4950 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
4951 long arg6
= (long) 0 ;
4952 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4953 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4954 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
4955 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4959 bool temp5
= False
;
4960 bool temp8
= False
;
4961 PyObject
* obj0
= 0 ;
4962 PyObject
* obj1
= 0 ;
4963 PyObject
* obj2
= 0 ;
4964 PyObject
* obj3
= 0 ;
4965 PyObject
* obj4
= 0 ;
4966 PyObject
* obj5
= 0 ;
4967 PyObject
* obj6
= 0 ;
4968 PyObject
* obj7
= 0 ;
4970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4982 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4988 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4993 if (! PySequence_Check(obj4
)) {
4994 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
4997 arg5
= new wxArrayString
;
4999 int i
, len
=PySequence_Length(obj4
);
5000 for (i
=0; i
<len
; i
++) {
5001 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5003 PyObject
* str
= PyObject_Unicode(item
);
5005 PyObject
* str
= PyObject_Str(item
);
5007 arg5
->Add(Py2wxString(str
));
5015 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5020 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5027 arg8
= wxString_in_helper(obj7
);
5028 if (arg8
== NULL
) SWIG_fail
;
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5036 wxPyEndAllowThreads(__tstate
);
5037 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5041 if (temp5
) delete arg5
;
5050 if (temp5
) delete arg5
;
5060 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5070 result
= (wxListBox
*)new wxListBox();
5072 wxPyEndAllowThreads(__tstate
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListBox
, 1);
5082 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
;
5084 wxListBox
*arg1
= (wxListBox
*) 0 ;
5085 wxWindow
*arg2
= (wxWindow
*) 0 ;
5087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5091 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5092 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5093 long arg7
= (long) 0 ;
5094 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5095 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5096 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5097 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5101 bool temp6
= False
;
5102 bool temp9
= False
;
5103 PyObject
* obj0
= 0 ;
5104 PyObject
* obj1
= 0 ;
5105 PyObject
* obj2
= 0 ;
5106 PyObject
* obj3
= 0 ;
5107 PyObject
* obj4
= 0 ;
5108 PyObject
* obj5
= 0 ;
5109 PyObject
* obj6
= 0 ;
5110 PyObject
* obj7
= 0 ;
5111 PyObject
* obj8
= 0 ;
5113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5120 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5137 if (! PySequence_Check(obj5
)) {
5138 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5141 arg6
= new wxArrayString
;
5143 int i
, len
=PySequence_Length(obj5
);
5144 for (i
=0; i
<len
; i
++) {
5145 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5147 PyObject
* str
= PyObject_Unicode(item
);
5149 PyObject
* str
= PyObject_Str(item
);
5151 arg6
->Add(Py2wxString(str
));
5159 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5164 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5171 arg9
= wxString_in_helper(obj8
);
5172 if (arg9
== NULL
) SWIG_fail
;
5177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5185 if (temp6
) delete arg6
;
5194 if (temp6
) delete arg6
;
5204 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxListBox
*arg1
= (wxListBox
*) 0 ;
5207 wxString
*arg2
= 0 ;
5209 PyObject
*arg4
= (PyObject
*) NULL
;
5210 bool temp2
= False
;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5213 PyObject
* obj2
= 0 ;
5214 PyObject
* obj3
= 0 ;
5216 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 arg2
= wxString_in_helper(obj1
);
5223 if (arg2
== NULL
) SWIG_fail
;
5227 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxListBox
*arg1
= (wxListBox
*) 0 ;
5258 wxArrayString
*arg2
= 0 ;
5260 bool temp2
= False
;
5261 PyObject
* obj0
= 0 ;
5262 PyObject
* obj1
= 0 ;
5263 PyObject
* obj2
= 0 ;
5265 (char *) "self",(char *) "items",(char *) "pos", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5271 if (! PySequence_Check(obj1
)) {
5272 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5275 arg2
= new wxArrayString
;
5277 int i
, len
=PySequence_Length(obj1
);
5278 for (i
=0; i
<len
; i
++) {
5279 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5281 PyObject
* str
= PyObject_Unicode(item
);
5283 PyObject
* str
= PyObject_Str(item
);
5285 arg2
->Add(Py2wxString(str
));
5291 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 Py_INCREF(Py_None
); resultobj
= Py_None
;
5303 if (temp2
) delete arg2
;
5308 if (temp2
) delete arg2
;
5314 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxListBox
*arg1
= (wxListBox
*) 0 ;
5317 wxArrayString
*arg2
= 0 ;
5318 bool temp2
= False
;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5322 (char *) "self",(char *) "items", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5328 if (! PySequence_Check(obj1
)) {
5329 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5332 arg2
= new wxArrayString
;
5334 int i
, len
=PySequence_Length(obj1
);
5335 for (i
=0; i
<len
; i
++) {
5336 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5338 PyObject
* str
= PyObject_Unicode(item
);
5340 PyObject
* str
= PyObject_Str(item
);
5342 arg2
->Add(Py2wxString(str
));
5348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5349 (arg1
)->Set((wxArrayString
const &)*arg2
);
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 Py_INCREF(Py_None
); resultobj
= Py_None
;
5356 if (temp2
) delete arg2
;
5361 if (temp2
) delete arg2
;
5367 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
*resultobj
;
5369 wxListBox
*arg1
= (wxListBox
*) 0 ;
5372 PyObject
* obj0
= 0 ;
5373 PyObject
* obj1
= 0 ;
5375 (char *) "self",(char *) "n", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5381 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5388 wxPyEndAllowThreads(__tstate
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5398 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxListBox
*arg1
= (wxListBox
*) 0 ;
5402 bool arg3
= (bool) True
;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5407 (char *) "self",(char *) "n",(char *) "select", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5413 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5414 if (PyErr_Occurred()) SWIG_fail
;
5418 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 (arg1
)->SetSelection(arg2
,arg3
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 Py_INCREF(Py_None
); resultobj
= Py_None
;
5436 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxListBox
*arg1
= (wxListBox
*) 0 ;
5440 PyObject
* obj0
= 0 ;
5441 PyObject
* obj1
= 0 ;
5443 (char *) "self",(char *) "n", NULL
5446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5449 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 (arg1
)->Select(arg2
);
5456 wxPyEndAllowThreads(__tstate
);
5457 if (PyErr_Occurred()) SWIG_fail
;
5459 Py_INCREF(Py_None
); resultobj
= Py_None
;
5466 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5467 PyObject
*resultobj
;
5468 wxListBox
*arg1
= (wxListBox
*) 0 ;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "n", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5479 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->Deselect(arg2
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxListBox
*arg1
= (wxListBox
*) 0 ;
5499 int arg2
= (int) -1 ;
5500 PyObject
* obj0
= 0 ;
5501 PyObject
* obj1
= 0 ;
5503 (char *) "self",(char *) "itemToLeaveSelected", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5510 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->DeselectAll(arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxListBox
*arg1
= (wxListBox
*) 0 ;
5531 wxString
*arg2
= 0 ;
5532 bool arg3
= (bool) True
;
5534 bool temp2
= False
;
5535 PyObject
* obj0
= 0 ;
5536 PyObject
* obj1
= 0 ;
5537 PyObject
* obj2
= 0 ;
5539 (char *) "self",(char *) "s",(char *) "select", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5545 arg2
= wxString_in_helper(obj1
);
5546 if (arg2
== NULL
) SWIG_fail
;
5551 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5577 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxListBox
*arg1
= (wxListBox
*) 0 ;
5581 PyObject
* obj0
= 0 ;
5583 (char *) "self", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5592 wxPyEndAllowThreads(__tstate
);
5593 if (PyErr_Occurred()) SWIG_fail
;
5602 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxListBox
*arg1
= (wxListBox
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5609 (char *) "self",(char *) "n", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5615 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetFirstItem(arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 wxListBox
*arg1
= (wxListBox
*) 0 ;
5635 wxString
*arg2
= 0 ;
5636 bool temp2
= False
;
5637 PyObject
* obj0
= 0 ;
5638 PyObject
* obj1
= 0 ;
5640 (char *) "self",(char *) "s", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5646 arg2
= wxString_in_helper(obj1
);
5647 if (arg2
== NULL
) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxListBox
*arg1
= (wxListBox
*) 0 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "n", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5685 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5690 (arg1
)->EnsureVisible(arg2
);
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 Py_INCREF(Py_None
); resultobj
= Py_None
;
5702 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
*resultobj
;
5704 wxListBox
*arg1
= (wxListBox
*) 0 ;
5705 wxString
*arg2
= 0 ;
5706 bool temp2
= False
;
5707 PyObject
* obj0
= 0 ;
5708 PyObject
* obj1
= 0 ;
5710 (char *) "self",(char *) "s", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5716 arg2
= wxString_in_helper(obj1
);
5717 if (arg2
== NULL
) SWIG_fail
;
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5727 Py_INCREF(Py_None
); resultobj
= Py_None
;
5742 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxListBox
*arg1
= (wxListBox
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5748 (char *) "self", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5767 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxListBox
*arg1
= (wxListBox
*) 0 ;
5771 wxColour
*arg3
= 0 ;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5775 PyObject
* obj2
= 0 ;
5777 (char *) "self",(char *) "item",(char *) "c", NULL
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5783 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5788 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5792 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5797 Py_INCREF(Py_None
); resultobj
= Py_None
;
5804 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
*resultobj
;
5806 wxListBox
*arg1
= (wxListBox
*) 0 ;
5808 wxColour
*arg3
= 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5812 PyObject
* obj2
= 0 ;
5814 (char *) "self",(char *) "item",(char *) "c", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5820 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5825 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxListBox
*arg1
= (wxListBox
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5848 PyObject
* obj2
= 0 ;
5850 (char *) "self",(char *) "item",(char *) "f", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5856 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5861 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 Py_INCREF(Py_None
); resultobj
= Py_None
;
5877 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
5879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5880 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
5882 return Py_BuildValue((char *)"");
5884 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxWindow
*arg1
= (wxWindow
*) 0 ;
5888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5892 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5893 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5894 long arg6
= (long) 0 ;
5895 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5896 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5897 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5898 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5899 wxCheckListBox
*result
;
5902 bool temp5
= False
;
5903 bool temp8
= False
;
5904 PyObject
* obj0
= 0 ;
5905 PyObject
* obj1
= 0 ;
5906 PyObject
* obj2
= 0 ;
5907 PyObject
* obj3
= 0 ;
5908 PyObject
* obj4
= 0 ;
5909 PyObject
* obj5
= 0 ;
5910 PyObject
* obj6
= 0 ;
5911 PyObject
* obj7
= 0 ;
5913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5919 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5925 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5931 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5936 if (! PySequence_Check(obj4
)) {
5937 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5940 arg5
= new wxArrayString
;
5942 int i
, len
=PySequence_Length(obj4
);
5943 for (i
=0; i
<len
; i
++) {
5944 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5946 PyObject
* str
= PyObject_Unicode(item
);
5948 PyObject
* str
= PyObject_Str(item
);
5950 arg5
->Add(Py2wxString(str
));
5958 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5963 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5965 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5970 arg8
= wxString_in_helper(obj7
);
5971 if (arg8
== NULL
) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
5984 if (temp5
) delete arg5
;
5993 if (temp5
) delete arg5
;
6003 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxCheckListBox
*result
;
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6013 result
= (wxCheckListBox
*)new wxCheckListBox();
6015 wxPyEndAllowThreads(__tstate
);
6016 if (PyErr_Occurred()) SWIG_fail
;
6018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCheckListBox
, 1);
6025 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6028 wxWindow
*arg2
= (wxWindow
*) 0 ;
6030 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6031 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6032 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6033 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6034 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6035 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6036 long arg7
= (long) 0 ;
6037 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6038 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6039 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6044 bool temp6
= False
;
6045 bool temp9
= False
;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6048 PyObject
* obj2
= 0 ;
6049 PyObject
* obj3
= 0 ;
6050 PyObject
* obj4
= 0 ;
6051 PyObject
* obj5
= 0 ;
6052 PyObject
* obj6
= 0 ;
6053 PyObject
* obj7
= 0 ;
6054 PyObject
* obj8
= 0 ;
6056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6063 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6069 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6075 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6080 if (! PySequence_Check(obj5
)) {
6081 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6084 arg6
= new wxArrayString
;
6086 int i
, len
=PySequence_Length(obj5
);
6087 for (i
=0; i
<len
; i
++) {
6088 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6090 PyObject
* str
= PyObject_Unicode(item
);
6092 PyObject
* str
= PyObject_Str(item
);
6094 arg6
->Add(Py2wxString(str
));
6102 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
6103 if (PyErr_Occurred()) SWIG_fail
;
6107 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6114 arg9
= wxString_in_helper(obj8
);
6115 if (arg9
== NULL
) SWIG_fail
;
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6123 wxPyEndAllowThreads(__tstate
);
6124 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6128 if (temp6
) delete arg6
;
6137 if (temp6
) delete arg6
;
6147 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6152 PyObject
* obj0
= 0 ;
6153 PyObject
* obj1
= 0 ;
6155 (char *) "self",(char *) "index", NULL
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6161 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (bool)(arg1
)->IsChecked(arg2
);
6168 wxPyEndAllowThreads(__tstate
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6182 int arg3
= (int) True
;
6183 PyObject
* obj0
= 0 ;
6184 PyObject
* obj1
= 0 ;
6185 PyObject
* obj2
= 0 ;
6187 (char *) "self",(char *) "index",(char *) "check", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6193 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6198 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6204 (arg1
)->Check(arg2
,arg3
);
6206 wxPyEndAllowThreads(__tstate
);
6207 if (PyErr_Occurred()) SWIG_fail
;
6209 Py_INCREF(Py_None
); resultobj
= Py_None
;
6216 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "self",(char *) "pt", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6238 wxPyEndAllowThreads(__tstate
);
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_PyObj_FromInt((int)result
);
6248 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
*resultobj
;
6250 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6256 PyObject
* obj2
= 0 ;
6258 (char *) "self",(char *) "x",(char *) "y", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCheckListBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6264 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_PyObj_FromInt((int)result
);
6285 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6288 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6290 return Py_BuildValue((char *)"");
6292 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
6293 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6298 static PyObject
*_wrap_TextCtrlNameStr_get() {
6303 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6305 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6312 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6313 PyObject
*resultobj
;
6316 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (wxTextAttr
*)new wxTextAttr();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6331 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6332 PyObject
*resultobj
;
6333 wxColour
*arg1
= 0 ;
6334 wxColour
const &arg2_defvalue
= wxNullColour
;
6335 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6336 wxFont
const &arg3_defvalue
= wxNullFont
;
6337 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6338 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6342 PyObject
* obj0
= 0 ;
6343 PyObject
* obj1
= 0 ;
6344 PyObject
* obj2
= 0 ;
6345 PyObject
* obj3
= 0 ;
6347 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6350 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6355 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6359 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6366 arg4
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj3
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6372 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6374 wxPyEndAllowThreads(__tstate
);
6375 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 1);
6384 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6389 argc
= PyObject_Length(args
);
6390 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6391 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6394 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6396 if ((argc
>= 1) && (argc
<= 4)) {
6399 _v
= wxColour_typecheck(argv
[0]);
6403 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6406 _v
= wxColour_typecheck(argv
[1]);
6410 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6414 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6423 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6426 SWIG_PyObj_AsInt(argv
[3]);
6427 if (PyErr_Occurred()) {
6435 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6442 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6447 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6448 PyObject
*resultobj
;
6449 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6450 PyObject
* obj0
= 0 ;
6452 (char *) "self", NULL
6455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 Py_INCREF(Py_None
); resultobj
= Py_None
;
6471 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6472 PyObject
*resultobj
;
6473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 wxPyEndAllowThreads(__tstate
);
6486 if (PyErr_Occurred()) SWIG_fail
;
6488 Py_INCREF(Py_None
); resultobj
= Py_None
;
6495 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6496 PyObject
*resultobj
;
6497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6498 wxColour
*arg2
= 0 ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6503 (char *) "self",(char *) "colText", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6514 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6516 wxPyEndAllowThreads(__tstate
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6519 Py_INCREF(Py_None
); resultobj
= Py_None
;
6526 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
*resultobj
;
6528 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6529 wxColour
*arg2
= 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6534 (char *) "self",(char *) "colBack", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6541 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 Py_INCREF(Py_None
); resultobj
= Py_None
;
6557 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6561 long arg3
= (long) wxTEXT_ATTR_FONT
;
6562 PyObject
* obj0
= 0 ;
6563 PyObject
* obj1
= 0 ;
6564 PyObject
* obj2
= 0 ;
6566 (char *) "self",(char *) "font",(char *) "flags", NULL
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6573 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6577 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 Py_INCREF(Py_None
); resultobj
= Py_None
;
6595 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6599 PyObject
* obj0
= 0 ;
6600 PyObject
* obj1
= 0 ;
6602 (char *) "self",(char *) "alignment", NULL
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6608 arg2
= (wxTextAttrAlignment
) SWIG_PyObj_AsInt(obj1
);
6609 if (PyErr_Occurred()) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6618 Py_INCREF(Py_None
); resultobj
= Py_None
;
6625 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6628 wxArrayInt
*arg2
= 0 ;
6629 bool temp2
= False
;
6630 PyObject
* obj0
= 0 ;
6631 PyObject
* obj1
= 0 ;
6633 (char *) "self",(char *) "tabs", NULL
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6639 if (! PySequence_Check(obj1
)) {
6640 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6643 arg2
= new wxArrayInt
;
6645 int i
, len
=PySequence_Length(obj1
);
6646 for (i
=0; i
<len
; i
++) {
6647 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6648 PyObject
* number
= PyNumber_Int(item
);
6649 arg2
->Add(PyInt_AS_LONG(number
));
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6656 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6663 if (temp2
) delete arg2
;
6668 if (temp2
) delete arg2
;
6674 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6679 PyObject
* obj1
= 0 ;
6681 (char *) "self",(char *) "indent", NULL
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6687 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 (arg1
)->SetLeftIndent(arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 Py_INCREF(Py_None
); resultobj
= Py_None
;
6704 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6709 PyObject
* obj1
= 0 ;
6711 (char *) "self",(char *) "indent", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6717 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->SetRightIndent(arg2
);
6724 wxPyEndAllowThreads(__tstate
);
6725 if (PyErr_Occurred()) SWIG_fail
;
6727 Py_INCREF(Py_None
); resultobj
= Py_None
;
6734 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
*resultobj
;
6736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6738 PyObject
* obj0
= 0 ;
6739 PyObject
* obj1
= 0 ;
6741 (char *) "self",(char *) "flags", NULL
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6747 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->SetFlags(arg2
);
6754 wxPyEndAllowThreads(__tstate
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6757 Py_INCREF(Py_None
); resultobj
= Py_None
;
6764 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6765 PyObject
*resultobj
;
6766 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6770 (char *) "self", NULL
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6789 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6795 (char *) "self", NULL
6798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6814 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6820 (char *) "self", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6839 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
*resultobj
;
6841 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6845 (char *) "self", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
6854 wxPyEndAllowThreads(__tstate
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6864 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
;
6866 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6868 PyObject
* obj0
= 0 ;
6870 (char *) "self", NULL
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
6874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6889 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6914 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6927 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6939 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6944 PyObject
* obj0
= 0 ;
6945 PyObject
* obj1
= 0 ;
6947 (char *) "self",(char *) "flag", NULL
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
6951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6953 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6958 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
6960 wxPyEndAllowThreads(__tstate
);
6961 if (PyErr_Occurred()) SWIG_fail
;
6963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "self", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
6980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
6985 result
= (wxColour
*) &_result_ref
;
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
6998 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7002 PyObject
* obj0
= 0 ;
7004 (char *) "self", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7012 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7013 result
= (wxColour
*) &_result_ref
;
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxColour
, 0);
7026 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7030 PyObject
* obj0
= 0 ;
7032 (char *) "self", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7041 result
= (wxFont
*) &_result_ref
;
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
7054 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= SWIG_PyObj_FromInt((int)result
);
7079 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7085 (char *) "self", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7094 result
= (wxArrayInt
*) &_result_ref
;
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7101 resultobj
= PyList_New(0);
7103 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7104 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7105 PyList_Append(resultobj
, val
);
7115 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7119 PyObject
* obj0
= 0 ;
7121 (char *) "self", NULL
7124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 resultobj
= SWIG_PyObj_FromLong((long)result
);
7140 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7144 PyObject
* obj0
= 0 ;
7146 (char *) "self", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_PyObj_FromLong((long)result
);
7165 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_PyObj_FromLong((long)result
);
7190 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7194 PyObject
* obj0
= 0 ;
7196 (char *) "self", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7215 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxTextAttr
*arg1
= 0 ;
7218 wxTextAttr
*arg2
= 0 ;
7219 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7222 PyObject
* obj1
= 0 ;
7223 PyObject
* obj2
= 0 ;
7225 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7231 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7235 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7237 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 wxTextAttr
* resultptr
;
7247 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7248 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTextAttr
, 1);
7256 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7259 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7261 return Py_BuildValue((char *)"");
7263 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxWindow
*arg1
= (wxWindow
*) 0 ;
7267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7273 long arg6
= (long) 0 ;
7274 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7275 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7276 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7279 bool temp3
= False
;
7282 bool temp8
= False
;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7290 PyObject
* obj7
= 0 ;
7292 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7298 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7303 arg3
= wxString_in_helper(obj2
);
7304 if (arg3
== NULL
) SWIG_fail
;
7311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7322 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7327 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7334 arg8
= wxString_in_helper(obj7
);
7335 if (arg8
== NULL
) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= wxPyMake_wxObject(result
);
7371 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= (wxTextCtrl
*)new wxTextCtrl();
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= wxPyMake_wxObject(result
);
7395 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7398 wxWindow
*arg2
= (wxWindow
*) 0 ;
7400 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7402 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7403 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7404 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7405 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7406 long arg7
= (long) 0 ;
7407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7409 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7412 bool temp4
= False
;
7415 bool temp9
= False
;
7416 PyObject
* obj0
= 0 ;
7417 PyObject
* obj1
= 0 ;
7418 PyObject
* obj2
= 0 ;
7419 PyObject
* obj3
= 0 ;
7420 PyObject
* obj4
= 0 ;
7421 PyObject
* obj5
= 0 ;
7422 PyObject
* obj6
= 0 ;
7423 PyObject
* obj7
= 0 ;
7424 PyObject
* obj8
= 0 ;
7426 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7433 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7438 arg4
= wxString_in_helper(obj3
);
7439 if (arg4
== NULL
) SWIG_fail
;
7446 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7452 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7457 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7462 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7464 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7469 arg9
= wxString_in_helper(obj8
);
7470 if (arg9
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7504 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7505 PyObject
*resultobj
;
7506 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7508 PyObject
* obj0
= 0 ;
7510 (char *) "self", NULL
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7517 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7519 wxPyEndAllowThreads(__tstate
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7535 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7538 wxString
*arg2
= 0 ;
7539 bool temp2
= False
;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "self",(char *) "value", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7549 arg2
= wxString_in_helper(obj1
);
7550 if (arg2
== NULL
) SWIG_fail
;
7554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7555 (arg1
)->SetValue((wxString
const &)*arg2
);
7557 wxPyEndAllowThreads(__tstate
);
7558 if (PyErr_Occurred()) SWIG_fail
;
7560 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7582 PyObject
* obj1
= 0 ;
7583 PyObject
* obj2
= 0 ;
7585 (char *) "self",(char *) "from",(char *) "to", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7591 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7595 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7600 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7618 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7619 PyObject
*resultobj
;
7620 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7626 (char *) "self",(char *) "lineNo", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7632 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 resultobj
= SWIG_PyObj_FromInt((int)result
);
7649 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7650 PyObject
*resultobj
;
7651 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7654 PyObject
* obj0
= 0 ;
7655 PyObject
* obj1
= 0 ;
7657 (char *) "self",(char *) "lineNo", NULL
7660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7663 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7668 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7686 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "self", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_PyObj_FromInt((int)result
);
7711 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
;
7713 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7715 PyObject
* obj0
= 0 ;
7717 (char *) "self", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7736 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7740 PyObject
* obj0
= 0 ;
7742 (char *) "self", NULL
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",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();
7749 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7751 wxPyEndAllowThreads(__tstate
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7761 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7762 PyObject
*resultobj
;
7763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7767 (char *) "self", NULL
7770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7786 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7792 (char *) "self", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7811 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7814 long *arg2
= (long *) 0 ;
7815 long *arg3
= (long *) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
7826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 Py_INCREF(Py_None
); resultobj
= Py_None
;
7836 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7837 resultobj
= t_output_helper(resultobj
,o
);
7840 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7841 resultobj
= t_output_helper(resultobj
,o
);
7849 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7880 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7881 PyObject
*resultobj
;
7882 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7885 (char *) "self", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 Py_INCREF(Py_None
); resultobj
= Py_None
;
7904 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
;
7906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7909 wxString
*arg4
= 0 ;
7910 bool temp4
= False
;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7913 PyObject
* obj2
= 0 ;
7914 PyObject
* obj3
= 0 ;
7916 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7922 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 arg4
= wxString_in_helper(obj3
);
7931 if (arg4
== NULL
) SWIG_fail
;
7935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7936 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
7938 wxPyEndAllowThreads(__tstate
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7941 Py_INCREF(Py_None
); resultobj
= Py_None
;
7956 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7965 (char *) "self",(char *) "from",(char *) "to", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7971 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 (arg1
)->Remove(arg2
,arg3
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7995 wxString
*arg2
= 0 ;
7997 bool temp2
= False
;
7998 PyObject
* obj0
= 0 ;
7999 PyObject
* obj1
= 0 ;
8001 (char *) "self",(char *) "file", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8007 arg2
= wxString_in_helper(obj1
);
8008 if (arg2
== NULL
) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8033 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8035 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8036 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8037 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8039 bool temp2
= False
;
8040 PyObject
* obj0
= 0 ;
8041 PyObject
* obj1
= 0 ;
8043 (char *) "self",(char *) "file", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8050 arg2
= wxString_in_helper(obj1
);
8051 if (arg2
== NULL
) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8059 wxPyEndAllowThreads(__tstate
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8077 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8080 PyObject
* obj0
= 0 ;
8082 (char *) "self", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8089 (arg1
)->MarkDirty();
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 Py_INCREF(Py_None
); resultobj
= Py_None
;
8101 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8102 PyObject
*resultobj
;
8103 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8104 PyObject
* obj0
= 0 ;
8106 (char *) "self", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 (arg1
)->DiscardEdits();
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 Py_INCREF(Py_None
); resultobj
= Py_None
;
8125 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8128 unsigned long arg2
;
8129 PyObject
* obj0
= 0 ;
8130 PyObject
* obj1
= 0 ;
8132 (char *) "self",(char *) "len", NULL
8135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8138 arg2
= (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 (arg1
)->SetMaxLength(arg2
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8158 wxString
*arg2
= 0 ;
8159 bool temp2
= False
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8163 (char *) "self",(char *) "text", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8169 arg2
= wxString_in_helper(obj1
);
8170 if (arg2
== NULL
) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 (arg1
)->WriteText((wxString
const &)*arg2
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8180 Py_INCREF(Py_None
); resultobj
= Py_None
;
8195 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8198 wxString
*arg2
= 0 ;
8199 bool temp2
= False
;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "text", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8209 arg2
= wxString_in_helper(obj1
);
8210 if (arg2
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 (arg1
)->AppendText((wxString
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8238 wxKeyEvent
*arg2
= 0 ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8243 (char *) "self",(char *) "event", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8250 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8271 wxTextAttr
*arg4
= 0 ;
8273 PyObject
* obj0
= 0 ;
8274 PyObject
* obj1
= 0 ;
8275 PyObject
* obj2
= 0 ;
8276 PyObject
* obj3
= 0 ;
8278 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8284 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8288 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8289 if (PyErr_Occurred()) SWIG_fail
;
8291 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8297 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8299 wxPyEndAllowThreads(__tstate
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8313 wxTextAttr
*arg3
= 0 ;
8315 PyObject
* obj0
= 0 ;
8316 PyObject
* obj1
= 0 ;
8317 PyObject
* obj2
= 0 ;
8319 (char *) "self",(char *) "position",(char *) "style", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8325 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8336 wxPyEndAllowThreads(__tstate
);
8337 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8346 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8349 wxTextAttr
*arg2
= 0 ;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8354 (char *) "self",(char *) "style", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTextAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8361 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8377 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8383 (char *) "self", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8392 result
= (wxTextAttr
*) &_result_ref
;
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextAttr
, 0);
8405 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 PyObject
* obj2
= 0 ;
8415 (char *) "self",(char *) "x",(char *) "y", NULL
8418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8421 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= SWIG_PyObj_FromLong((long)result
);
8442 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8446 long *arg3
= (long *) 0 ;
8447 long *arg4
= (long *) 0 ;
8450 PyObject
* obj0
= 0 ;
8451 PyObject
* obj1
= 0 ;
8453 (char *) "self",(char *) "pos", NULL
8458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8461 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8473 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8474 resultobj
= t_output_helper(resultobj
,o
);
8477 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8478 resultobj
= t_output_helper(resultobj
,o
);
8486 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8493 (char *) "self",(char *) "pos", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8504 (arg1
)->ShowPosition(arg2
);
8506 wxPyEndAllowThreads(__tstate
);
8507 if (PyErr_Occurred()) SWIG_fail
;
8509 Py_INCREF(Py_None
); resultobj
= Py_None
;
8516 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8520 long *arg3
= (long *) 0 ;
8521 long *arg4
= (long *) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "pt", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8544 wxPyEndAllowThreads(__tstate
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8547 resultobj
= SWIG_PyObj_FromInt((int)result
);
8549 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8550 resultobj
= t_output_helper(resultobj
,o
);
8553 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8554 resultobj
= t_output_helper(resultobj
,o
);
8562 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8565 PyObject
* obj0
= 0 ;
8567 (char *) "self", NULL
8570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8586 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8589 PyObject
* obj0
= 0 ;
8591 (char *) "self", NULL
8594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 wxPyEndAllowThreads(__tstate
);
8601 if (PyErr_Occurred()) SWIG_fail
;
8603 Py_INCREF(Py_None
); resultobj
= Py_None
;
8610 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8611 PyObject
*resultobj
;
8612 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8613 PyObject
* obj0
= 0 ;
8615 (char *) "self", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8638 PyObject
* obj0
= 0 ;
8640 (char *) "self", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8659 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8663 PyObject
* obj0
= 0 ;
8665 (char *) "self", NULL
8668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8684 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8690 (char *) "self", NULL
8693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8697 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8699 wxPyEndAllowThreads(__tstate
);
8700 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8709 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8733 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 Py_INCREF(Py_None
); resultobj
= Py_None
;
8757 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8782 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8807 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8812 PyObject
* obj1
= 0 ;
8814 (char *) "self",(char *) "pos", NULL
8817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
8818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8820 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->SetInsertionPoint(arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8842 (char *) "self", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 (arg1
)->SetInsertionPointEnd();
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) SWIG_fail
;
8854 Py_INCREF(Py_None
); resultobj
= Py_None
;
8861 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
*resultobj
;
8863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8874 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_PyObj_FromLong((long)result
);
8886 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8890 PyObject
* obj0
= 0 ;
8892 (char *) "self", NULL
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
8896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_PyObj_FromLong((long)result
);
8911 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8918 PyObject
* obj2
= 0 ;
8920 (char *) "self",(char *) "from",(char *) "to", NULL
8923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8926 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->SetSelection(arg2
,arg3
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 (arg1
)->SelectAll();
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 Py_INCREF(Py_None
); resultobj
= Py_None
;
8971 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "self",(char *) "editable", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetEditable(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9004 wxString
*arg2
= 0 ;
9005 bool temp2
= False
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "text", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9015 arg2
= wxString_in_helper(obj1
);
9016 if (arg2
== NULL
) SWIG_fail
;
9020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9021 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9023 wxPyEndAllowThreads(__tstate
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9049 PyObject
* obj2
= 0 ;
9051 (char *) "self",(char *) "from",(char *) "to", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9057 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9061 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9084 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9087 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9089 return Py_BuildValue((char *)"");
9091 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9094 wxMouseEvent
*arg2
= 0 ;
9097 wxTextUrlEvent
*result
;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9103 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9108 arg1
= (int) SWIG_PyObj_AsInt(obj0
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9116 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9120 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextUrlEvent
, 1);
9137 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9140 wxMouseEvent
*result
;
9141 PyObject
* obj0
= 0 ;
9143 (char *) "self", NULL
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9152 result
= (wxMouseEvent
*) &_result_ref
;
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseEvent
, 0);
9165 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9169 PyObject
* obj0
= 0 ;
9171 (char *) "self", NULL
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9180 wxPyEndAllowThreads(__tstate
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9183 resultobj
= SWIG_PyObj_FromLong((long)result
);
9190 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9191 PyObject
*resultobj
;
9192 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9194 PyObject
* obj0
= 0 ;
9196 (char *) "self", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextUrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9203 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9205 wxPyEndAllowThreads(__tstate
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 resultobj
= SWIG_PyObj_FromLong((long)result
);
9215 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9218 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9220 return Py_BuildValue((char *)"");
9222 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
9223 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9228 static PyObject
*_wrap_ScrollBarNameStr_get() {
9233 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9235 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9242 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxWindow
*arg1
= (wxWindow
*) 0 ;
9245 int arg2
= (int) -1 ;
9246 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9247 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9248 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9249 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9250 long arg5
= (long) wxSB_HORIZONTAL
;
9251 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9252 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9253 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9254 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9255 wxScrollBar
*result
;
9258 bool temp7
= False
;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 PyObject
* obj2
= 0 ;
9262 PyObject
* obj3
= 0 ;
9263 PyObject
* obj4
= 0 ;
9264 PyObject
* obj5
= 0 ;
9265 PyObject
* obj6
= 0 ;
9267 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9292 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9297 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9299 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9304 arg7
= wxString_in_helper(obj6
);
9305 if (arg7
== NULL
) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9331 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxScrollBar
*result
;
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (wxScrollBar
*)new wxScrollBar();
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollBar
, 1);
9353 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9356 wxWindow
*arg2
= (wxWindow
*) 0 ;
9357 int arg3
= (int) -1 ;
9358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9362 long arg6
= (long) wxSB_HORIZONTAL
;
9363 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9364 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9365 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9366 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9370 bool temp8
= False
;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 PyObject
* obj2
= 0 ;
9374 PyObject
* obj3
= 0 ;
9375 PyObject
* obj4
= 0 ;
9376 PyObject
* obj5
= 0 ;
9377 PyObject
* obj6
= 0 ;
9378 PyObject
* obj7
= 0 ;
9380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9388 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9389 if (PyErr_Occurred()) SWIG_fail
;
9395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9406 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9411 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9413 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9418 arg8
= wxString_in_helper(obj7
);
9419 if (arg8
== NULL
) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9445 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
*resultobj
;
9447 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9449 PyObject
* obj0
= 0 ;
9451 (char *) "self", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_PyObj_FromInt((int)result
);
9470 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
;
9472 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9476 (char *) "self", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_PyObj_FromInt((int)result
);
9495 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
;
9497 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9499 PyObject
* obj0
= 0 ;
9501 (char *) "self", NULL
9504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9510 wxPyEndAllowThreads(__tstate
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= SWIG_PyObj_FromInt((int)result
);
9520 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9521 PyObject
*resultobj
;
9522 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9524 PyObject
* obj0
= 0 ;
9526 (char *) "self", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= SWIG_PyObj_FromInt((int)result
);
9545 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9546 PyObject
*resultobj
;
9547 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9551 (char *) "self", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9570 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9577 (char *) "self",(char *) "viewStart", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9583 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SetThumbPosition(arg2
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 Py_INCREF(Py_None
); resultobj
= Py_None
;
9600 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9607 bool arg6
= (bool) True
;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9610 PyObject
* obj2
= 0 ;
9611 PyObject
* obj3
= 0 ;
9612 PyObject
* obj4
= 0 ;
9613 PyObject
* obj5
= 0 ;
9615 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9621 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9625 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9626 if (PyErr_Occurred()) SWIG_fail
;
9629 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9633 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9638 arg6
= (bool) SWIG_PyObj_AsBool(obj5
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9649 Py_INCREF(Py_None
); resultobj
= Py_None
;
9656 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9659 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9661 return Py_BuildValue((char *)"");
9663 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
9664 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9669 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9674 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9676 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9683 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
9684 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9689 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9694 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9696 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9703 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
;
9705 wxWindow
*arg1
= (wxWindow
*) 0 ;
9706 int arg2
= (int) -1 ;
9707 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9708 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9709 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9710 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9711 long arg5
= (long) wxSP_HORIZONTAL
;
9712 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9713 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9714 wxSpinButton
*result
;
9717 bool temp6
= False
;
9718 PyObject
* obj0
= 0 ;
9719 PyObject
* obj1
= 0 ;
9720 PyObject
* obj2
= 0 ;
9721 PyObject
* obj3
= 0 ;
9722 PyObject
* obj4
= 0 ;
9723 PyObject
* obj5
= 0 ;
9725 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9750 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9756 arg6
= wxString_in_helper(obj5
);
9757 if (arg6
== NULL
) SWIG_fail
;
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9765 wxPyEndAllowThreads(__tstate
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9783 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxSpinButton
*result
;
9790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (wxSpinButton
*)new wxSpinButton();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinButton
, 1);
9805 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9808 wxWindow
*arg2
= (wxWindow
*) 0 ;
9809 int arg3
= (int) -1 ;
9810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9814 long arg6
= (long) wxSP_HORIZONTAL
;
9815 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
9816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9820 bool temp7
= False
;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9823 PyObject
* obj2
= 0 ;
9824 PyObject
* obj3
= 0 ;
9825 PyObject
* obj4
= 0 ;
9826 PyObject
* obj5
= 0 ;
9827 PyObject
* obj6
= 0 ;
9829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9855 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
9856 if (PyErr_Occurred()) SWIG_fail
;
9861 arg7
= wxString_in_helper(obj6
);
9862 if (arg7
== NULL
) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9901 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
9903 wxPyEndAllowThreads(__tstate
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 resultobj
= SWIG_PyObj_FromInt((int)result
);
9913 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "self", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9926 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
9928 wxPyEndAllowThreads(__tstate
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= SWIG_PyObj_FromInt((int)result
);
9938 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_PyObj_FromInt((int)result
);
9963 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9968 PyObject
* obj1
= 0 ;
9970 (char *) "self",(char *) "val", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9976 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 (arg1
)->SetValue(arg2
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9998 PyObject
* obj1
= 0 ;
10000 (char *) "self",(char *) "minVal", NULL
10003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10006 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 (arg1
)->SetMin(arg2
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 Py_INCREF(Py_None
); resultobj
= Py_None
;
10023 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char *kwnames
[] = {
10030 (char *) "self",(char *) "maxVal", NULL
10033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10036 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->SetMax(arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10053 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 PyObject
* obj1
= 0 ;
10060 PyObject
* obj2
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10068 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10072 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 (arg1
)->SetRange(arg2
,arg3
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 Py_INCREF(Py_None
); resultobj
= Py_None
;
10089 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10117 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10119 return Py_BuildValue((char *)"");
10121 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10122 PyObject
*resultobj
;
10123 wxWindow
*arg1
= (wxWindow
*) 0 ;
10124 int arg2
= (int) -1 ;
10125 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10126 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10127 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10128 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10129 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10130 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10131 long arg6
= (long) wxSP_ARROW_KEYS
;
10132 int arg7
= (int) 0 ;
10133 int arg8
= (int) 100 ;
10134 int arg9
= (int) 0 ;
10135 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10136 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10137 wxSpinCtrl
*result
;
10138 bool temp3
= False
;
10141 bool temp10
= False
;
10142 PyObject
* obj0
= 0 ;
10143 PyObject
* obj1
= 0 ;
10144 PyObject
* obj2
= 0 ;
10145 PyObject
* obj3
= 0 ;
10146 PyObject
* obj4
= 0 ;
10147 PyObject
* obj5
= 0 ;
10148 PyObject
* obj6
= 0 ;
10149 PyObject
* obj7
= 0 ;
10150 PyObject
* obj8
= 0 ;
10151 PyObject
* obj9
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10160 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10166 arg3
= wxString_in_helper(obj2
);
10167 if (arg3
== NULL
) SWIG_fail
;
10174 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10180 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10185 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
10186 if (PyErr_Occurred()) SWIG_fail
;
10191 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10197 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10203 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10209 arg10
= wxString_in_helper(obj9
);
10210 if (arg10
== NULL
) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10244 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxSpinCtrl
*result
;
10247 char *kwnames
[] = {
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinCtrl
, 1);
10266 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10269 wxWindow
*arg2
= (wxWindow
*) 0 ;
10270 int arg3
= (int) -1 ;
10271 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10272 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10273 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10274 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10275 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10276 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10277 long arg7
= (long) wxSP_ARROW_KEYS
;
10278 int arg8
= (int) 0 ;
10279 int arg9
= (int) 100 ;
10280 int arg10
= (int) 0 ;
10281 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10282 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10284 bool temp4
= False
;
10287 bool temp11
= False
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 PyObject
* obj2
= 0 ;
10291 PyObject
* obj3
= 0 ;
10292 PyObject
* obj4
= 0 ;
10293 PyObject
* obj5
= 0 ;
10294 PyObject
* obj6
= 0 ;
10295 PyObject
* obj7
= 0 ;
10296 PyObject
* obj8
= 0 ;
10297 PyObject
* obj9
= 0 ;
10298 PyObject
* obj10
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10308 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10314 arg4
= wxString_in_helper(obj3
);
10315 if (arg4
== NULL
) SWIG_fail
;
10322 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10328 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10333 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
10334 if (PyErr_Occurred()) SWIG_fail
;
10339 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10345 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10351 arg10
= (int) SWIG_PyObj_AsInt(obj9
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10357 arg11
= wxString_in_helper(obj10
);
10358 if (arg11
== NULL
) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10392 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_PyObj_FromInt((int)result
);
10417 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "value", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 (arg1
)->SetValue(arg2
);
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 Py_INCREF(Py_None
); resultobj
= Py_None
;
10447 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10450 wxString
*arg2
= 0 ;
10451 bool temp2
= False
;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self",(char *) "text", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 arg2
= wxString_in_helper(obj1
);
10462 if (arg2
== NULL
) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 (arg1
)->SetValue((wxString
const &)*arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 Py_INCREF(Py_None
); resultobj
= Py_None
;
10487 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10492 PyObject
* obj0
= 0 ;
10493 PyObject
* obj1
= 0 ;
10494 PyObject
* obj2
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10502 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10506 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 (arg1
)->SetRange(arg2
,arg3
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 Py_INCREF(Py_None
); resultobj
= Py_None
;
10523 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10527 PyObject
* obj0
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10538 wxPyEndAllowThreads(__tstate
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 resultobj
= SWIG_PyObj_FromInt((int)result
);
10548 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_PyObj_FromInt((int)result
);
10573 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 PyObject
* obj2
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "from",(char *) "to", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10588 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 (arg1
)->SetSelection(arg2
,arg3
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 Py_INCREF(Py_None
); resultobj
= Py_None
;
10609 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10612 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10614 return Py_BuildValue((char *)"");
10616 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10617 PyObject
*resultobj
;
10618 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10619 int arg2
= (int) 0 ;
10620 wxSpinEvent
*result
;
10621 PyObject
* obj0
= 0 ;
10622 PyObject
* obj1
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "commandType",(char *) "winid", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10636 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10637 if (PyErr_Occurred()) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSpinEvent
, 1);
10654 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10655 PyObject
*resultobj
;
10656 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10658 PyObject
* obj0
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10672 resultobj
= SWIG_PyObj_FromInt((int)result
);
10679 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10680 PyObject
*resultobj
;
10681 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 char *kwnames
[] = {
10686 (char *) "self",(char *) "pos", NULL
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSpinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10692 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 (arg1
)->SetPosition(arg2
);
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 Py_INCREF(Py_None
); resultobj
= Py_None
;
10709 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10712 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10714 return Py_BuildValue((char *)"");
10716 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
10717 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10722 static PyObject
*_wrap_RadioBoxNameStr_get() {
10727 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10729 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10736 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
10737 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10742 static PyObject
*_wrap_RadioButtonNameStr_get() {
10747 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10749 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10756 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxWindow
*arg1
= (wxWindow
*) 0 ;
10760 wxString
*arg3
= 0 ;
10761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10765 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10766 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10767 int arg7
= (int) 0 ;
10768 long arg8
= (long) wxRA_HORIZONTAL
;
10769 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
10770 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
10771 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
10772 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10773 wxRadioBox
*result
;
10774 bool temp3
= False
;
10777 bool temp6
= False
;
10778 bool temp10
= False
;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 PyObject
* obj2
= 0 ;
10782 PyObject
* obj3
= 0 ;
10783 PyObject
* obj4
= 0 ;
10784 PyObject
* obj5
= 0 ;
10785 PyObject
* obj6
= 0 ;
10786 PyObject
* obj7
= 0 ;
10787 PyObject
* obj8
= 0 ;
10788 PyObject
* obj9
= 0 ;
10789 char *kwnames
[] = {
10790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10796 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 arg3
= wxString_in_helper(obj2
);
10801 if (arg3
== NULL
) SWIG_fail
;
10807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10818 if (! PySequence_Check(obj5
)) {
10819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10822 arg6
= new wxArrayString
;
10824 int i
, len
=PySequence_Length(obj5
);
10825 for (i
=0; i
<len
; i
++) {
10826 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10828 PyObject
* str
= PyObject_Unicode(item
);
10830 PyObject
* str
= PyObject_Str(item
);
10832 arg6
->Add(Py2wxString(str
));
10840 arg7
= (int) SWIG_PyObj_AsInt(obj6
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10846 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10851 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10852 if (arg9
== NULL
) {
10853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10858 arg10
= wxString_in_helper(obj9
);
10859 if (arg10
== NULL
) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10876 if (temp6
) delete arg6
;
10889 if (temp6
) delete arg6
;
10899 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxRadioBox
*result
;
10902 char *kwnames
[] = {
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 result
= (wxRadioBox
*)new wxRadioBox();
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioBox
, 1);
10921 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
10924 wxWindow
*arg2
= (wxWindow
*) 0 ;
10926 wxString
*arg4
= 0 ;
10927 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10928 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10929 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10930 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10931 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
10932 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
10933 int arg8
= (int) 0 ;
10934 long arg9
= (long) wxRA_HORIZONTAL
;
10935 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
10936 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
10937 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
10938 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10940 bool temp4
= False
;
10943 bool temp7
= False
;
10944 bool temp11
= False
;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 PyObject
* obj3
= 0 ;
10949 PyObject
* obj4
= 0 ;
10950 PyObject
* obj5
= 0 ;
10951 PyObject
* obj6
= 0 ;
10952 PyObject
* obj7
= 0 ;
10953 PyObject
* obj8
= 0 ;
10954 PyObject
* obj9
= 0 ;
10955 PyObject
* obj10
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10962 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10964 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10968 arg4
= wxString_in_helper(obj3
);
10969 if (arg4
== NULL
) SWIG_fail
;
10975 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10981 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10986 if (! PySequence_Check(obj6
)) {
10987 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10990 arg7
= new wxArrayString
;
10992 int i
, len
=PySequence_Length(obj6
);
10993 for (i
=0; i
<len
; i
++) {
10994 PyObject
* item
= PySequence_GetItem(obj6
, i
);
10996 PyObject
* str
= PyObject_Unicode(item
);
10998 PyObject
* str
= PyObject_Str(item
);
11000 arg7
->Add(Py2wxString(str
));
11008 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
11009 if (PyErr_Occurred()) SWIG_fail
;
11014 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11019 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11020 if (arg10
== NULL
) {
11021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11026 arg11
= wxString_in_helper(obj10
);
11027 if (arg11
== NULL
) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 if (temp7
) delete arg7
;
11057 if (temp7
) delete arg7
;
11067 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11071 PyObject
* obj0
= 0 ;
11072 PyObject
* obj1
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self",(char *) "n", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11080 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 (arg1
)->SetSelection(arg2
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11090 Py_INCREF(Py_None
); resultobj
= Py_None
;
11097 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= SWIG_PyObj_FromInt((int)result
);
11122 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11153 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11156 wxString
*arg2
= 0 ;
11158 bool temp2
= False
;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self",(char *) "s", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11168 arg2
= wxString_in_helper(obj1
);
11169 if (arg2
== NULL
) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11194 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
;
11196 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11198 PyObject
* obj0
= 0 ;
11199 char *kwnames
[] = {
11200 (char *) "self", NULL
11203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 resultobj
= SWIG_PyObj_FromInt((int)result
);
11219 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11222 wxString
*arg2
= 0 ;
11224 bool temp2
= False
;
11225 PyObject
* obj0
= 0 ;
11226 PyObject
* obj1
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "self",(char *) "s", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11234 arg2
= wxString_in_helper(obj1
);
11235 if (arg2
== NULL
) SWIG_fail
;
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11242 wxPyEndAllowThreads(__tstate
);
11243 if (PyErr_Occurred()) SWIG_fail
;
11245 resultobj
= SWIG_PyObj_FromInt((int)result
);
11260 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11261 PyObject
*resultobj
;
11262 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11265 PyObject
* obj0
= 0 ;
11266 PyObject
* obj1
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self",(char *) "n", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11274 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11279 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11281 wxPyEndAllowThreads(__tstate
);
11282 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11297 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11301 wxString
*arg3
= 0 ;
11302 bool temp3
= False
;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "n",(char *) "label", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11313 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 arg3
= wxString_in_helper(obj2
);
11318 if (arg3
== NULL
) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11347 bool arg3
= (bool) True
;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 PyObject
* obj2
= 0 ;
11351 char *kwnames
[] = {
11352 (char *) "self",(char *) "n",(char *) "enable", NULL
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11358 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11363 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 (arg1
)->Enable(arg2
,arg3
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 Py_INCREF(Py_None
); resultobj
= Py_None
;
11381 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
;
11383 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11385 bool arg3
= (bool) True
;
11386 PyObject
* obj0
= 0 ;
11387 PyObject
* obj1
= 0 ;
11388 PyObject
* obj2
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "self",(char *) "n",(char *) "show", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11396 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11401 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->Show(arg2
,arg3
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11432 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_PyObj_FromInt((int)result
);
11444 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11448 PyObject
* obj0
= 0 ;
11449 char *kwnames
[] = {
11450 (char *) "self", NULL
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= SWIG_PyObj_FromInt((int)result
);
11469 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11476 PyObject
* obj0
= 0 ;
11477 PyObject
* obj1
= 0 ;
11478 PyObject
* obj2
= 0 ;
11479 PyObject
* obj3
= 0 ;
11480 char *kwnames
[] = {
11481 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11487 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11491 arg3
= (wxDirection
) SWIG_PyObj_AsInt(obj2
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11495 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_PyObj_FromInt((int)result
);
11512 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11515 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11517 return Py_BuildValue((char *)"");
11519 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxWindow
*arg1
= (wxWindow
*) 0 ;
11523 wxString
*arg3
= 0 ;
11524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11528 long arg6
= (long) 0 ;
11529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11531 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11533 wxRadioButton
*result
;
11534 bool temp3
= False
;
11537 bool temp8
= False
;
11538 PyObject
* obj0
= 0 ;
11539 PyObject
* obj1
= 0 ;
11540 PyObject
* obj2
= 0 ;
11541 PyObject
* obj3
= 0 ;
11542 PyObject
* obj4
= 0 ;
11543 PyObject
* obj5
= 0 ;
11544 PyObject
* obj6
= 0 ;
11545 PyObject
* obj7
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11553 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11557 arg3
= wxString_in_helper(obj2
);
11558 if (arg3
== NULL
) SWIG_fail
;
11564 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11570 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11575 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11580 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11581 if (arg7
== NULL
) {
11582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11587 arg8
= wxString_in_helper(obj7
);
11588 if (arg8
== NULL
) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11622 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxRadioButton
*result
;
11625 char *kwnames
[] = {
11629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11632 result
= (wxRadioButton
*)new wxRadioButton();
11634 wxPyEndAllowThreads(__tstate
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRadioButton
, 1);
11644 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11647 wxWindow
*arg2
= (wxWindow
*) 0 ;
11649 wxString
*arg4
= 0 ;
11650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11654 long arg7
= (long) 0 ;
11655 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11656 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11657 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11658 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11660 bool temp4
= False
;
11663 bool temp9
= False
;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 PyObject
* obj2
= 0 ;
11667 PyObject
* obj3
= 0 ;
11668 PyObject
* obj4
= 0 ;
11669 PyObject
* obj5
= 0 ;
11670 PyObject
* obj6
= 0 ;
11671 PyObject
* obj7
= 0 ;
11672 PyObject
* obj8
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11681 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11685 arg4
= wxString_in_helper(obj3
);
11686 if (arg4
== NULL
) SWIG_fail
;
11692 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11698 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11703 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11708 if ((SWIG_ConvertPtr(obj7
,(void **) &arg8
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11709 if (arg8
== NULL
) {
11710 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11715 arg9
= wxString_in_helper(obj8
);
11716 if (arg9
== NULL
) SWIG_fail
;
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11724 wxPyEndAllowThreads(__tstate
);
11725 if (PyErr_Occurred()) SWIG_fail
;
11727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11750 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11754 PyObject
* obj0
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
11760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (bool)(arg1
)->GetValue();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11775 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self",(char *) "value", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRadioButton
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11788 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 (arg1
)->SetValue(arg2
);
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 Py_INCREF(Py_None
); resultobj
= Py_None
;
11805 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
11807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11808 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
11810 return Py_BuildValue((char *)"");
11812 static int _wrap_SliderNameStr_set(PyObject
*) {
11813 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
11818 static PyObject
*_wrap_SliderNameStr_get() {
11823 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11825 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
11832 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxWindow
*arg1
= (wxWindow
*) 0 ;
11839 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
11840 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
11841 wxSize
const &arg7_defvalue
= wxDefaultSize
;
11842 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
11843 long arg8
= (long) wxSL_HORIZONTAL
;
11844 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11845 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11846 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
11847 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11851 bool temp10
= False
;
11852 PyObject
* obj0
= 0 ;
11853 PyObject
* obj1
= 0 ;
11854 PyObject
* obj2
= 0 ;
11855 PyObject
* obj3
= 0 ;
11856 PyObject
* obj4
= 0 ;
11857 PyObject
* obj5
= 0 ;
11858 PyObject
* obj6
= 0 ;
11859 PyObject
* obj7
= 0 ;
11860 PyObject
* obj8
= 0 ;
11861 PyObject
* obj9
= 0 ;
11862 char *kwnames
[] = {
11863 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11869 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11877 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11887 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
11893 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
11898 arg8
= (long) SWIG_PyObj_AsLong(obj7
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11903 if ((SWIG_ConvertPtr(obj8
,(void **) &arg9
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11904 if (arg9
== NULL
) {
11905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11910 arg10
= wxString_in_helper(obj9
);
11911 if (arg10
== NULL
) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11937 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11938 PyObject
*resultobj
;
11940 char *kwnames
[] = {
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= (wxSlider
*)new wxSlider();
11949 wxPyEndAllowThreads(__tstate
);
11950 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSlider
, 1);
11959 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11960 PyObject
*resultobj
;
11961 wxSlider
*arg1
= (wxSlider
*) 0 ;
11962 wxWindow
*arg2
= (wxWindow
*) 0 ;
11967 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11968 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11969 wxSize
const &arg8_defvalue
= wxDefaultSize
;
11970 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
11971 long arg9
= (long) wxSL_HORIZONTAL
;
11972 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11973 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11974 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
11975 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11979 bool temp11
= False
;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 PyObject
* obj3
= 0 ;
11984 PyObject
* obj4
= 0 ;
11985 PyObject
* obj5
= 0 ;
11986 PyObject
* obj6
= 0 ;
11987 PyObject
* obj7
= 0 ;
11988 PyObject
* obj8
= 0 ;
11989 PyObject
* obj9
= 0 ;
11990 PyObject
* obj10
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11999 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12003 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
12004 if (PyErr_Occurred()) SWIG_fail
;
12007 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12017 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12023 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12028 arg9
= (long) SWIG_PyObj_AsLong(obj8
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 if ((SWIG_ConvertPtr(obj9
,(void **) &arg10
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 if (arg10
== NULL
) {
12035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12040 arg11
= wxString_in_helper(obj10
);
12041 if (arg11
== NULL
) SWIG_fail
;
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12067 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxSlider
*arg1
= (wxSlider
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_PyObj_FromInt((int)result
);
12092 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxSlider
*arg1
= (wxSlider
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 PyObject
* obj1
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "value", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12105 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 (arg1
)->SetValue(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 Py_INCREF(Py_None
); resultobj
= Py_None
;
12122 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxSlider
*arg1
= (wxSlider
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 PyObject
* obj1
= 0 ;
12129 PyObject
* obj2
= 0 ;
12130 char *kwnames
[] = {
12131 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12137 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->SetRange(arg2
,arg3
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxSlider
*arg1
= (wxSlider
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= SWIG_PyObj_FromInt((int)result
);
12183 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxSlider
*arg1
= (wxSlider
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= SWIG_PyObj_FromInt((int)result
);
12208 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxSlider
*arg1
= (wxSlider
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 char *kwnames
[] = {
12215 (char *) "self",(char *) "minValue", NULL
12218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12221 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 (arg1
)->SetMin(arg2
);
12228 wxPyEndAllowThreads(__tstate
);
12229 if (PyErr_Occurred()) SWIG_fail
;
12231 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxSlider
*arg1
= (wxSlider
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self",(char *) "maxValue", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12251 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 (arg1
)->SetMax(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 Py_INCREF(Py_None
); resultobj
= Py_None
;
12268 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
;
12270 wxSlider
*arg1
= (wxSlider
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 char *kwnames
[] = {
12275 (char *) "self",(char *) "lineSize", NULL
12278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12281 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetLineSize(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 Py_INCREF(Py_None
); resultobj
= Py_None
;
12298 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxSlider
*arg1
= (wxSlider
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 PyObject
* obj1
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self",(char *) "pageSize", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12311 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->SetPageSize(arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxSlider
*arg1
= (wxSlider
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= SWIG_PyObj_FromInt((int)result
);
12353 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxSlider
*arg1
= (wxSlider
*) 0 ;
12357 PyObject
* obj0
= 0 ;
12358 char *kwnames
[] = {
12359 (char *) "self", NULL
12362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= SWIG_PyObj_FromInt((int)result
);
12378 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxSlider
*arg1
= (wxSlider
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 PyObject
* obj1
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self",(char *) "lenPixels", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 (arg1
)->SetThumbLength(arg2
);
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 Py_INCREF(Py_None
); resultobj
= Py_None
;
12408 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxSlider
*arg1
= (wxSlider
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_PyObj_FromInt((int)result
);
12433 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxSlider
*arg1
= (wxSlider
*) 0 ;
12437 int arg3
= (int) 1 ;
12438 PyObject
* obj0
= 0 ;
12439 PyObject
* obj1
= 0 ;
12440 PyObject
* obj2
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "n",(char *) "pos", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12453 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12459 (arg1
)->SetTickFreq(arg2
,arg3
);
12461 wxPyEndAllowThreads(__tstate
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 Py_INCREF(Py_None
); resultobj
= Py_None
;
12471 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12472 PyObject
*resultobj
;
12473 wxSlider
*arg1
= (wxSlider
*) 0 ;
12475 PyObject
* obj0
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12484 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12486 wxPyEndAllowThreads(__tstate
);
12487 if (PyErr_Occurred()) SWIG_fail
;
12489 resultobj
= SWIG_PyObj_FromInt((int)result
);
12496 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12497 PyObject
*resultobj
;
12498 wxSlider
*arg1
= (wxSlider
*) 0 ;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->ClearTicks();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 wxSlider
*arg1
= (wxSlider
*) 0 ;
12524 PyObject
* obj0
= 0 ;
12525 PyObject
* obj1
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self",(char *) "tickPos", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12533 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 (arg1
)->SetTick(arg2
);
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 Py_INCREF(Py_None
); resultobj
= Py_None
;
12550 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12551 PyObject
*resultobj
;
12552 wxSlider
*arg1
= (wxSlider
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 (arg1
)->ClearSel();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 Py_INCREF(Py_None
); resultobj
= Py_None
;
12574 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxSlider
*arg1
= (wxSlider
*) 0 ;
12578 PyObject
* obj0
= 0 ;
12579 char *kwnames
[] = {
12580 (char *) "self", NULL
12583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= SWIG_PyObj_FromInt((int)result
);
12599 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxSlider
*arg1
= (wxSlider
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 resultobj
= SWIG_PyObj_FromInt((int)result
);
12624 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 wxSlider
*arg1
= (wxSlider
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 PyObject
* obj1
= 0 ;
12631 PyObject
* obj2
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "min",(char *) "max", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSlider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12640 if (PyErr_Occurred()) SWIG_fail
;
12643 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12648 (arg1
)->SetSelection(arg2
,arg3
);
12650 wxPyEndAllowThreads(__tstate
);
12651 if (PyErr_Occurred()) SWIG_fail
;
12653 Py_INCREF(Py_None
); resultobj
= Py_None
;
12660 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12663 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12665 return Py_BuildValue((char *)"");
12667 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
12668 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12673 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12678 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12680 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12687 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxWindow
*arg1
= (wxWindow
*) 0 ;
12691 wxString
*arg3
= 0 ;
12692 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12693 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12694 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12695 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12696 long arg6
= (long) 0 ;
12697 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12698 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12699 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12701 wxToggleButton
*result
;
12702 bool temp3
= False
;
12705 bool temp8
= False
;
12706 PyObject
* obj0
= 0 ;
12707 PyObject
* obj1
= 0 ;
12708 PyObject
* obj2
= 0 ;
12709 PyObject
* obj3
= 0 ;
12710 PyObject
* obj4
= 0 ;
12711 PyObject
* obj5
= 0 ;
12712 PyObject
* obj6
= 0 ;
12713 PyObject
* obj7
= 0 ;
12714 char *kwnames
[] = {
12715 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12721 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12725 arg3
= wxString_in_helper(obj2
);
12726 if (arg3
== NULL
) SWIG_fail
;
12732 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12738 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12743 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
12744 if (PyErr_Occurred()) SWIG_fail
;
12748 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12749 if (arg7
== NULL
) {
12750 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12755 arg8
= wxString_in_helper(obj7
);
12756 if (arg8
== NULL
) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12790 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
;
12792 wxToggleButton
*result
;
12793 char *kwnames
[] = {
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (wxToggleButton
*)new wxToggleButton();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxToggleButton
, 1);
12812 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
12814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12815 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
12817 return Py_BuildValue((char *)"");
12819 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
12820 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
12825 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
12830 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12832 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
12839 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
12864 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "n", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12878 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
12885 wxPyEndAllowThreads(__tstate
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= wxPyMake_wxObject(result
);
12897 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12901 PyObject
* obj0
= 0 ;
12902 char *kwnames
[] = {
12903 (char *) "self", NULL
12906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
12907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= SWIG_PyObj_FromInt((int)result
);
12922 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12926 wxString
*arg3
= 0 ;
12928 bool temp3
= False
;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 PyObject
* obj2
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "n",(char *) "strText", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12939 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 arg3
= wxString_in_helper(obj2
);
12944 if (arg3
== NULL
) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
;
12971 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 char *kwnames
[] = {
12977 (char *) "self",(char *) "n", NULL
12980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
12981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12983 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13006 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13009 wxImageList
*arg2
= (wxImageList
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 PyObject
* obj1
= 0 ;
13012 char *kwnames
[] = {
13013 (char *) "self",(char *) "imageList", NULL
13016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 (arg1
)->SetImageList(arg2
);
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 Py_INCREF(Py_None
); resultobj
= Py_None
;
13033 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13036 wxImageList
*arg2
= (wxImageList
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 PyObject
* obj1
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self",(char *) "imageList", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->AssignImageList(arg2
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13063 wxImageList
*result
;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13079 resultobj
= wxPyMake_wxObject(result
);
13087 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13092 PyObject
* obj0
= 0 ;
13093 PyObject
* obj1
= 0 ;
13094 char *kwnames
[] = {
13095 (char *) "self",(char *) "n", NULL
13098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13101 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_PyObj_FromInt((int)result
);
13118 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 PyObject
* obj2
= 0 ;
13127 char *kwnames
[] = {
13128 (char *) "self",(char *) "n",(char *) "imageId", NULL
13131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13134 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13138 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13143 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13145 wxPyEndAllowThreads(__tstate
);
13146 if (PyErr_Occurred()) SWIG_fail
;
13148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13155 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13160 PyObject
* obj0
= 0 ;
13161 PyObject
* obj1
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "size", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13170 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "sizePage", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13202 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 wxSize
* resultptr
;
13213 resultptr
= new wxSize((wxSize
&) result
);
13214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
13222 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "n", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13236 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= (bool)(arg1
)->DeletePage(arg2
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13253 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13254 PyObject
*resultobj
;
13255 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self",(char *) "n", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 result
= (bool)(arg1
)->RemovePage(arg2
);
13274 wxPyEndAllowThreads(__tstate
);
13275 if (PyErr_Occurred()) SWIG_fail
;
13277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13284 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13285 PyObject
*resultobj
;
13286 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13288 PyObject
* obj0
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (bool)(arg1
)->DeleteAllPages();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13309 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13312 wxWindow
*arg2
= (wxWindow
*) 0 ;
13313 wxString
*arg3
= 0 ;
13314 bool arg4
= (bool) False
;
13315 int arg5
= (int) -1 ;
13317 bool temp3
= False
;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 PyObject
* obj2
= 0 ;
13321 PyObject
* obj3
= 0 ;
13322 PyObject
* obj4
= 0 ;
13323 char *kwnames
[] = {
13324 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13331 arg3
= wxString_in_helper(obj2
);
13332 if (arg3
== NULL
) SWIG_fail
;
13337 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13343 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13349 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13369 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13373 wxWindow
*arg3
= (wxWindow
*) 0 ;
13374 wxString
*arg4
= 0 ;
13375 bool arg5
= (bool) False
;
13376 int arg6
= (int) -1 ;
13378 bool temp4
= False
;
13379 PyObject
* obj0
= 0 ;
13380 PyObject
* obj1
= 0 ;
13381 PyObject
* obj2
= 0 ;
13382 PyObject
* obj3
= 0 ;
13383 PyObject
* obj4
= 0 ;
13384 PyObject
* obj5
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13397 arg4
= wxString_in_helper(obj3
);
13398 if (arg4
== NULL
) SWIG_fail
;
13403 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13409 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13436 PyObject
*resultobj
;
13437 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13440 PyObject
* obj0
= 0 ;
13441 PyObject
* obj1
= 0 ;
13442 char *kwnames
[] = {
13443 (char *) "self",(char *) "n", NULL
13446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13449 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 result
= (int)(arg1
)->SetSelection(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 resultobj
= SWIG_PyObj_FromInt((int)result
);
13466 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13469 bool arg2
= (bool) True
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self",(char *) "forward", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13480 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 (arg1
)->AdvanceSelection(arg2
);
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 Py_INCREF(Py_None
); resultobj
= Py_None
;
13498 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13501 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13503 return Py_BuildValue((char *)"");
13505 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13508 int arg2
= (int) 0 ;
13509 int arg3
= (int) -1 ;
13510 int arg4
= (int) -1 ;
13511 wxBookCtrlEvent
*result
;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 PyObject
* obj2
= 0 ;
13515 PyObject
* obj3
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13523 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13529 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13535 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13541 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlEvent
, 1);
13559 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_PyObj_FromInt((int)result
);
13584 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 PyObject
* obj1
= 0 ;
13590 char *kwnames
[] = {
13591 (char *) "self",(char *) "nSel", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13597 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->SetSelection(arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 Py_INCREF(Py_None
); resultobj
= Py_None
;
13614 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= SWIG_PyObj_FromInt((int)result
);
13639 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "nOldSel", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13652 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->SetOldSelection(arg2
);
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13672 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13674 return Py_BuildValue((char *)"");
13676 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxWindow
*arg1
= (wxWindow
*) 0 ;
13680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13682 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13683 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13684 long arg5
= (long) 0 ;
13685 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13686 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13687 wxNotebook
*result
;
13690 bool temp6
= False
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 PyObject
* obj2
= 0 ;
13694 PyObject
* obj3
= 0 ;
13695 PyObject
* obj4
= 0 ;
13696 PyObject
* obj5
= 0 ;
13697 char *kwnames
[] = {
13698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13704 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13710 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13716 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13721 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13727 arg6
= wxString_in_helper(obj5
);
13728 if (arg6
== NULL
) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13740 resultobj
= wxPyMake_wxObject(result
);
13756 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
;
13758 wxNotebook
*result
;
13759 char *kwnames
[] = {
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (wxNotebook
*)new wxNotebook();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= wxPyMake_wxObject(result
);
13780 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13783 wxWindow
*arg2
= (wxWindow
*) 0 ;
13785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13789 long arg6
= (long) 0 ;
13790 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
13791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13795 bool temp7
= False
;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 PyObject
* obj2
= 0 ;
13799 PyObject
* obj3
= 0 ;
13800 PyObject
* obj4
= 0 ;
13801 PyObject
* obj5
= 0 ;
13802 PyObject
* obj6
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13811 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13828 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13834 arg7
= wxString_in_helper(obj6
);
13835 if (arg7
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13861 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13865 PyObject
* obj0
= 0 ;
13866 char *kwnames
[] = {
13867 (char *) "self", NULL
13870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
13871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13874 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_PyObj_FromInt((int)result
);
13886 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
;
13888 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 PyObject
* obj1
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "self",(char *) "padding", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
13898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13901 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->SetPadding((wxSize
const &)*arg2
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13917 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13918 PyObject
*resultobj
;
13919 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 PyObject
* obj1
= 0 ;
13924 char *kwnames
[] = {
13925 (char *) "self",(char *) "sz", NULL
13928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13932 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 Py_INCREF(Py_None
); resultobj
= Py_None
;
13948 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13951 wxPoint
*arg2
= 0 ;
13952 long *arg3
= (long *) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char *kwnames
[] = {
13959 (char *) "self",(char *) "pt", NULL
13963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
13964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= SWIG_PyObj_FromInt((int)result
);
13978 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13979 resultobj
= t_output_helper(resultobj
,o
);
13987 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 PyObject
* obj1
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self",(char *) "sizePage", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14003 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14007 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14013 wxSize
* resultptr
;
14014 resultptr
= new wxSize((wxSize
&) result
);
14015 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14023 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14026 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14028 return Py_BuildValue((char *)"");
14030 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14031 PyObject
*resultobj
;
14032 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14033 int arg2
= (int) 0 ;
14034 int arg3
= (int) -1 ;
14035 int arg4
= (int) -1 ;
14036 wxNotebookEvent
*result
;
14037 PyObject
* obj0
= 0 ;
14038 PyObject
* obj1
= 0 ;
14039 PyObject
* obj2
= 0 ;
14040 PyObject
* obj3
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14048 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14054 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14060 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14066 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14072 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookEvent
, 1);
14084 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14087 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14089 return Py_BuildValue((char *)"");
14091 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxWindow
*arg1
= (wxWindow
*) 0 ;
14095 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14096 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14097 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14098 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14099 long arg5
= (long) 0 ;
14100 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14101 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14102 wxListbook
*result
;
14105 bool temp6
= False
;
14106 PyObject
* obj0
= 0 ;
14107 PyObject
* obj1
= 0 ;
14108 PyObject
* obj2
= 0 ;
14109 PyObject
* obj3
= 0 ;
14110 PyObject
* obj4
= 0 ;
14111 PyObject
* obj5
= 0 ;
14112 char *kwnames
[] = {
14113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14119 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14120 if (PyErr_Occurred()) SWIG_fail
;
14125 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14131 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14136 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14142 arg6
= wxString_in_helper(obj5
);
14143 if (arg6
== NULL
) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14169 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxListbook
*result
;
14172 char *kwnames
[] = {
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14179 result
= (wxListbook
*)new wxListbook();
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbook
, 1);
14191 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxListbook
*arg1
= (wxListbook
*) 0 ;
14194 wxWindow
*arg2
= (wxWindow
*) 0 ;
14196 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14197 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14198 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14199 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14200 long arg6
= (long) 0 ;
14201 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14206 bool temp7
= False
;
14207 PyObject
* obj0
= 0 ;
14208 PyObject
* obj1
= 0 ;
14209 PyObject
* obj2
= 0 ;
14210 PyObject
* obj3
= 0 ;
14211 PyObject
* obj4
= 0 ;
14212 PyObject
* obj5
= 0 ;
14213 PyObject
* obj6
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14220 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14222 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14239 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14245 arg7
= wxString_in_helper(obj6
);
14246 if (arg7
== NULL
) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14272 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxListbook
*arg1
= (wxListbook
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListbook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14300 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14302 return Py_BuildValue((char *)"");
14304 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14307 int arg2
= (int) 0 ;
14308 int arg3
= (int) -1 ;
14309 int arg4
= (int) -1 ;
14310 wxListbookEvent
*result
;
14311 PyObject
* obj0
= 0 ;
14312 PyObject
* obj1
= 0 ;
14313 PyObject
* obj2
= 0 ;
14314 PyObject
* obj3
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14322 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14328 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14334 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14340 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListbookEvent
, 1);
14358 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14361 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14363 return Py_BuildValue((char *)"");
14365 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14368 wxBookCtrlSizer
*result
;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "nb", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrlSizer
, 1);
14390 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 (arg1
)->RecalcSizes();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 Py_INCREF(Py_None
); resultobj
= Py_None
;
14414 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14427 result
= (arg1
)->CalcMin();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14433 wxSize
* resultptr
;
14434 resultptr
= new wxSize((wxSize
&) result
);
14435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14443 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14446 wxBookCtrl
*result
;
14447 PyObject
* obj0
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBookCtrlSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14456 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBookCtrl
, 0);
14468 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14471 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14473 return Py_BuildValue((char *)"");
14475 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14478 wxNotebookSizer
*result
;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "nb", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebook
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14488 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotebookSizer
, 1);
14500 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
;
14502 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14503 PyObject
* obj0
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "self", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 (arg1
)->RecalcSizes();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 Py_INCREF(Py_None
); resultobj
= Py_None
;
14524 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (arg1
)->CalcMin();
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14543 wxSize
* resultptr
;
14544 resultptr
= new wxSize((wxSize
&) result
);
14545 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14553 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14556 wxNotebook
*result
;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotebookSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14566 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14568 wxPyEndAllowThreads(__tstate
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= wxPyMake_wxObject(result
);
14580 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14583 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14585 return Py_BuildValue((char *)"");
14587 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14588 PyObject
*resultobj
;
14589 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14591 PyObject
* obj0
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (int)(arg1
)->GetId();
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_PyObj_FromInt((int)result
);
14612 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
;
14614 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14616 PyObject
* obj0
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (wxControl
*)(arg1
)->GetControl();
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= wxPyMake_wxObject(result
);
14639 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14642 wxToolBarBase
*result
;
14643 PyObject
* obj0
= 0 ;
14644 char *kwnames
[] = {
14645 (char *) "self", NULL
14648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= wxPyMake_wxObject(result
);
14666 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14667 PyObject
*resultobj
;
14668 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14670 PyObject
* obj0
= 0 ;
14671 char *kwnames
[] = {
14672 (char *) "self", NULL
14675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)(arg1
)->IsButton();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_PyObj_FromInt((int)result
);
14691 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 char *kwnames
[] = {
14697 (char *) "self", NULL
14700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (int)(arg1
)->IsControl();
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= SWIG_PyObj_FromInt((int)result
);
14716 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14720 PyObject
* obj0
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (int)(arg1
)->IsSeparator();
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_PyObj_FromInt((int)result
);
14741 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
;
14743 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14745 PyObject
* obj0
= 0 ;
14746 char *kwnames
[] = {
14747 (char *) "self", NULL
14750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)(arg1
)->GetStyle();
14756 wxPyEndAllowThreads(__tstate
);
14757 if (PyErr_Occurred()) SWIG_fail
;
14759 resultobj
= SWIG_PyObj_FromInt((int)result
);
14766 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 result
= (int)(arg1
)->GetKind();
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 resultobj
= SWIG_PyObj_FromInt((int)result
);
14791 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->IsEnabled();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (bool)(arg1
)->IsToggled();
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14841 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (bool)(arg1
)->CanBeToggled();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14866 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14870 PyObject
* obj0
= 0 ;
14871 char *kwnames
[] = {
14872 (char *) "self", NULL
14875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
14876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
14881 result
= (wxBitmap
*) &_result_ref
;
14884 wxPyEndAllowThreads(__tstate
);
14885 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14894 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14898 PyObject
* obj0
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
14909 result
= (wxBitmap
*) &_result_ref
;
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
14922 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 char *kwnames
[] = {
14928 (char *) "self", NULL
14931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
14932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (arg1
)->GetBitmap();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 wxBitmap
* resultptr
;
14942 resultptr
= new wxBitmap((wxBitmap
&) result
);
14943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
14951 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14952 PyObject
*resultobj
;
14953 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14955 PyObject
* obj0
= 0 ;
14956 char *kwnames
[] = {
14957 (char *) "self", NULL
14960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
14961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (arg1
)->GetLabel();
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14982 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (arg1
)->GetShortHelp();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15004 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15013 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (arg1
)->GetLongHelp();
15028 wxPyEndAllowThreads(__tstate
);
15029 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15044 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self",(char *) "enable", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15058 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15063 result
= (bool)(arg1
)->Enable(arg2
);
15065 wxPyEndAllowThreads(__tstate
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15075 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 Py_INCREF(Py_None
); resultobj
= Py_None
;
15099 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "toggle", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15113 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (bool)(arg1
)->SetToggle(arg2
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15130 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15133 wxString
*arg2
= 0 ;
15135 bool temp2
= False
;
15136 PyObject
* obj0
= 0 ;
15137 PyObject
* obj1
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "self",(char *) "help", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15145 arg2
= wxString_in_helper(obj1
);
15146 if (arg2
== NULL
) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15171 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15174 wxString
*arg2
= 0 ;
15176 bool temp2
= False
;
15177 PyObject
* obj0
= 0 ;
15178 PyObject
* obj1
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self",(char *) "help", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15186 arg2
= wxString_in_helper(obj1
);
15187 if (arg2
== NULL
) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15212 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
;
15214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15215 wxBitmap
*arg2
= 0 ;
15216 PyObject
* obj0
= 0 ;
15217 PyObject
* obj1
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self",(char *) "bmp", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15225 if (arg2
== NULL
) {
15226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 Py_INCREF(Py_None
); resultobj
= Py_None
;
15242 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15245 wxBitmap
*arg2
= 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self",(char *) "bmp", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15255 if (arg2
== NULL
) {
15256 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 Py_INCREF(Py_None
); resultobj
= Py_None
;
15272 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15275 wxString
*arg2
= 0 ;
15276 bool temp2
= False
;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "label", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15286 arg2
= wxString_in_helper(obj1
);
15287 if (arg2
== NULL
) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 (arg1
)->SetLabel((wxString
const &)*arg2
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 Py_INCREF(Py_None
); resultobj
= Py_None
;
15312 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15313 PyObject
*resultobj
;
15314 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15329 Py_INCREF(Py_None
); resultobj
= Py_None
;
15336 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15337 PyObject
*resultobj
;
15338 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15339 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "tbar", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->Attach(arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= result
;
15388 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15391 PyObject
*arg2
= (PyObject
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 char *kwnames
[] = {
15395 (char *) "self",(char *) "clientData", NULL
15398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15403 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15405 wxPyEndAllowThreads(__tstate
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15408 Py_INCREF(Py_None
); resultobj
= Py_None
;
15415 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15418 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15420 return Py_BuildValue((char *)"");
15422 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15426 wxString
*arg3
= 0 ;
15427 wxBitmap
*arg4
= 0 ;
15428 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15429 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15430 int arg6
= (int) wxITEM_NORMAL
;
15431 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15432 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15433 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15434 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15435 PyObject
*arg9
= (PyObject
*) NULL
;
15436 wxToolBarToolBase
*result
;
15437 bool temp3
= False
;
15438 bool temp7
= False
;
15439 bool temp8
= False
;
15440 PyObject
* obj0
= 0 ;
15441 PyObject
* obj1
= 0 ;
15442 PyObject
* obj2
= 0 ;
15443 PyObject
* obj3
= 0 ;
15444 PyObject
* obj4
= 0 ;
15445 PyObject
* obj5
= 0 ;
15446 PyObject
* obj6
= 0 ;
15447 PyObject
* obj7
= 0 ;
15448 PyObject
* obj8
= 0 ;
15449 char *kwnames
[] = {
15450 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15456 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 arg3
= wxString_in_helper(obj2
);
15461 if (arg3
== NULL
) SWIG_fail
;
15464 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15465 if (arg4
== NULL
) {
15466 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15469 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 if (arg5
== NULL
) {
15471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15476 arg6
= (wxItemKind
) SWIG_PyObj_AsInt(obj5
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15482 arg7
= wxString_in_helper(obj6
);
15483 if (arg7
== NULL
) SWIG_fail
;
15489 arg8
= wxString_in_helper(obj7
);
15490 if (arg8
== NULL
) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15505 resultobj
= wxPyMake_wxObject(result
);
15537 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15538 PyObject
*resultobj
;
15539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15542 wxString
*arg4
= 0 ;
15543 wxBitmap
*arg5
= 0 ;
15544 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15545 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15546 int arg7
= (int) wxITEM_NORMAL
;
15547 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15548 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15549 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15550 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15551 PyObject
*arg10
= (PyObject
*) NULL
;
15552 wxToolBarToolBase
*result
;
15553 bool temp4
= False
;
15554 bool temp8
= False
;
15555 bool temp9
= False
;
15556 PyObject
* obj0
= 0 ;
15557 PyObject
* obj1
= 0 ;
15558 PyObject
* obj2
= 0 ;
15559 PyObject
* obj3
= 0 ;
15560 PyObject
* obj4
= 0 ;
15561 PyObject
* obj5
= 0 ;
15562 PyObject
* obj6
= 0 ;
15563 PyObject
* obj7
= 0 ;
15564 PyObject
* obj8
= 0 ;
15565 PyObject
* obj9
= 0 ;
15566 char *kwnames
[] = {
15567 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15573 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15581 arg4
= wxString_in_helper(obj3
);
15582 if (arg4
== NULL
) SWIG_fail
;
15585 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15586 if (arg5
== NULL
) {
15587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15590 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15591 if (arg6
== NULL
) {
15592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
15597 arg7
= (wxItemKind
) SWIG_PyObj_AsInt(obj6
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15603 arg8
= wxString_in_helper(obj7
);
15604 if (arg8
== NULL
) SWIG_fail
;
15610 arg9
= wxString_in_helper(obj8
);
15611 if (arg9
== NULL
) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 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
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= wxPyMake_wxObject(result
);
15658 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15661 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15662 wxToolBarToolBase
*result
;
15663 PyObject
* obj0
= 0 ;
15664 PyObject
* obj1
= 0 ;
15665 char *kwnames
[] = {
15666 (char *) "self",(char *) "tool", NULL
15669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15680 resultobj
= wxPyMake_wxObject(result
);
15688 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15692 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15693 wxToolBarToolBase
*result
;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 PyObject
* obj2
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "pos",(char *) "tool", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15704 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15707 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxToolBarToolBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= wxPyMake_wxObject(result
);
15724 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15727 wxControl
*arg2
= (wxControl
*) 0 ;
15728 wxToolBarToolBase
*result
;
15729 PyObject
* obj0
= 0 ;
15730 PyObject
* obj1
= 0 ;
15731 char *kwnames
[] = {
15732 (char *) "self",(char *) "control", NULL
15735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15740 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
15742 wxPyEndAllowThreads(__tstate
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= wxPyMake_wxObject(result
);
15754 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15758 wxControl
*arg3
= (wxControl
*) 0 ;
15759 wxToolBarToolBase
*result
;
15760 PyObject
* obj0
= 0 ;
15761 PyObject
* obj1
= 0 ;
15762 PyObject
* obj2
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "pos",(char *) "control", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15770 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15776 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
15778 wxPyEndAllowThreads(__tstate
);
15779 if (PyErr_Occurred()) SWIG_fail
;
15782 resultobj
= wxPyMake_wxObject(result
);
15790 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "id", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15804 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= wxPyMake_wxObject(result
);
15823 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15824 PyObject
*resultobj
;
15825 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15826 wxToolBarToolBase
*result
;
15827 PyObject
* obj0
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "self", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= wxPyMake_wxObject(result
);
15850 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15851 PyObject
*resultobj
;
15852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15854 wxToolBarToolBase
*result
;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self",(char *) "pos", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15864 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15869 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
15871 wxPyEndAllowThreads(__tstate
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15875 resultobj
= wxPyMake_wxObject(result
);
15883 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15887 wxToolBarToolBase
*result
;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 char *kwnames
[] = {
15891 (char *) "self",(char *) "id", NULL
15894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15897 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15898 if (PyErr_Occurred()) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= wxPyMake_wxObject(result
);
15916 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self",(char *) "pos", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15930 arg2
= (size_t) SWIG_PyObj_AsUnsignedLong(obj1
);
15931 if (PyErr_Occurred()) SWIG_fail
;
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15947 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15952 PyObject
* obj0
= 0 ;
15953 PyObject
* obj1
= 0 ;
15954 char *kwnames
[] = {
15955 (char *) "self",(char *) "id", NULL
15958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
15959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15961 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15966 result
= (bool)(arg1
)->DeleteTool(arg2
);
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15978 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15979 PyObject
*resultobj
;
15980 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
15987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 (arg1
)->ClearTools();
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (bool)(arg1
)->Realize();
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16027 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
;
16029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16032 PyObject
* obj0
= 0 ;
16033 PyObject
* obj1
= 0 ;
16034 PyObject
* obj2
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "id",(char *) "enable", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16042 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16046 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16047 if (PyErr_Occurred()) SWIG_fail
;
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 (arg1
)->EnableTool(arg2
,arg3
);
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 Py_INCREF(Py_None
); resultobj
= Py_None
;
16063 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 PyObject
* obj1
= 0 ;
16070 PyObject
* obj2
= 0 ;
16071 char *kwnames
[] = {
16072 (char *) "self",(char *) "id",(char *) "toggle", NULL
16075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16078 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 (arg1
)->ToggleTool(arg2
,arg3
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16092 Py_INCREF(Py_None
); resultobj
= Py_None
;
16099 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 PyObject
* obj1
= 0 ;
16106 PyObject
* obj2
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self",(char *) "id",(char *) "toggle", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16114 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16118 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 (arg1
)->SetToggle(arg2
,arg3
);
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 Py_INCREF(Py_None
); resultobj
= Py_None
;
16135 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16136 PyObject
*resultobj
;
16137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16140 PyObject
* obj0
= 0 ;
16141 PyObject
* obj1
= 0 ;
16142 char *kwnames
[] = {
16143 (char *) "self",(char *) "id", NULL
16146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16149 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= result
;
16166 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16170 PyObject
*arg3
= (PyObject
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 PyObject
* obj2
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "id",(char *) "clientData", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16187 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16189 wxPyEndAllowThreads(__tstate
);
16190 if (PyErr_Occurred()) SWIG_fail
;
16192 Py_INCREF(Py_None
); resultobj
= Py_None
;
16199 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16200 PyObject
*resultobj
;
16201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16204 PyObject
* obj0
= 0 ;
16205 PyObject
* obj1
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self",(char *) "id", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16213 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16223 resultobj
= SWIG_PyObj_FromInt((int)result
);
16230 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 PyObject
* obj1
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self",(char *) "id", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 result
= (bool)(arg1
)->GetToolState(arg2
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16261 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self",(char *) "id", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16275 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16292 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16293 PyObject
*resultobj
;
16294 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16296 wxString
*arg3
= 0 ;
16297 bool temp3
= False
;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 PyObject
* obj2
= 0 ;
16301 char *kwnames
[] = {
16302 (char *) "self",(char *) "id",(char *) "helpString", NULL
16305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16308 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16309 if (PyErr_Occurred()) SWIG_fail
;
16312 arg3
= wxString_in_helper(obj2
);
16313 if (arg3
== NULL
) SWIG_fail
;
16317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16318 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16320 wxPyEndAllowThreads(__tstate
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16323 Py_INCREF(Py_None
); resultobj
= Py_None
;
16338 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self",(char *) "id", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16352 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (arg1
)->GetToolShortHelp(arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16375 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16379 wxString
*arg3
= 0 ;
16380 bool temp3
= False
;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 PyObject
* obj2
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "id",(char *) "helpString", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16391 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16395 arg3
= wxString_in_helper(obj2
);
16396 if (arg3
== NULL
) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 Py_INCREF(Py_None
); resultobj
= Py_None
;
16421 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 PyObject
* obj1
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self",(char *) "id", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16435 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 result
= (arg1
)->GetToolLongHelp(arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16447 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16449 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16458 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 PyObject
* obj1
= 0 ;
16465 PyObject
* obj2
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "x",(char *) "y", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16473 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16477 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 (arg1
)->SetMargins(arg2
,arg3
);
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16499 PyObject
* obj0
= 0 ;
16500 PyObject
* obj1
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "size", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16513 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16515 wxPyEndAllowThreads(__tstate
);
16516 if (PyErr_Occurred()) SWIG_fail
;
16518 Py_INCREF(Py_None
); resultobj
= Py_None
;
16525 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16526 PyObject
*resultobj
;
16527 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "packing", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 (arg1
)->SetToolPacking(arg2
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "separation", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16568 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 (arg1
)->SetToolSeparation(arg2
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 Py_INCREF(Py_None
); resultobj
= Py_None
;
16585 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16589 PyObject
* obj0
= 0 ;
16590 char *kwnames
[] = {
16591 (char *) "self", NULL
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16598 result
= (arg1
)->GetToolMargins();
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 wxSize
* resultptr
;
16605 resultptr
= new wxSize((wxSize
&) result
);
16606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16614 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (arg1
)->GetMargins();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16633 wxSize
* resultptr
;
16634 resultptr
= new wxSize((wxSize
&) result
);
16635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16643 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (int)(arg1
)->GetToolPacking();
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= SWIG_PyObj_FromInt((int)result
);
16668 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16669 PyObject
*resultobj
;
16670 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16672 PyObject
* obj0
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (int)(arg1
)->GetToolSeparation();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_PyObj_FromInt((int)result
);
16693 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
;
16695 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16697 PyObject
* obj0
= 0 ;
16698 PyObject
* obj1
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self",(char *) "nRows", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16711 (arg1
)->SetRows(arg2
);
16713 wxPyEndAllowThreads(__tstate
);
16714 if (PyErr_Occurred()) SWIG_fail
;
16716 Py_INCREF(Py_None
); resultobj
= Py_None
;
16723 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16724 PyObject
*resultobj
;
16725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 char *kwnames
[] = {
16732 (char *) "self",(char *) "rows",(char *) "cols", NULL
16735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16738 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16752 Py_INCREF(Py_None
); resultobj
= Py_None
;
16759 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (int)(arg1
)->GetMaxRows();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_PyObj_FromInt((int)result
);
16784 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (int)(arg1
)->GetMaxCols();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_PyObj_FromInt((int)result
);
16809 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "size", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 Py_INCREF(Py_None
); resultobj
= Py_None
;
16840 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16841 PyObject
*resultobj
;
16842 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16853 result
= (arg1
)->GetToolBitmapSize();
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16859 wxSize
* resultptr
;
16860 resultptr
= new wxSize((wxSize
&) result
);
16861 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16869 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16870 PyObject
*resultobj
;
16871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16873 PyObject
* obj0
= 0 ;
16874 char *kwnames
[] = {
16875 (char *) "self", NULL
16878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
16879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16882 result
= (arg1
)->GetToolSize();
16884 wxPyEndAllowThreads(__tstate
);
16885 if (PyErr_Occurred()) SWIG_fail
;
16888 wxSize
* resultptr
;
16889 resultptr
= new wxSize((wxSize
&) result
);
16890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
16898 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16899 PyObject
*resultobj
;
16900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16903 wxToolBarToolBase
*result
;
16904 PyObject
* obj0
= 0 ;
16905 PyObject
* obj1
= 0 ;
16906 PyObject
* obj2
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self",(char *) "x",(char *) "y", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16914 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= wxPyMake_wxObject(result
);
16937 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16941 wxToolBarToolBase
*result
;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "toolid", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= wxPyMake_wxObject(result
);
16970 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
;
16972 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16974 PyObject
* obj0
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 result
= (bool)(arg1
)->IsVertical();
16985 wxPyEndAllowThreads(__tstate
);
16986 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16995 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
16997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16998 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17000 return Py_BuildValue((char *)"");
17002 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
;
17004 wxWindow
*arg1
= (wxWindow
*) 0 ;
17006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17010 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17011 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17012 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17016 bool temp6
= False
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 PyObject
* obj2
= 0 ;
17020 PyObject
* obj3
= 0 ;
17021 PyObject
* obj4
= 0 ;
17022 PyObject
* obj5
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17030 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17036 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17042 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17047 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17053 arg6
= wxString_in_helper(obj5
);
17054 if (arg6
== NULL
) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= wxPyMake_wxObject(result
);
17082 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17085 char *kwnames
[] = {
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (wxToolBar
*)new wxToolBar();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= wxPyMake_wxObject(result
);
17106 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17109 wxWindow
*arg2
= (wxWindow
*) 0 ;
17111 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17112 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17113 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17114 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17115 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17116 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17117 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17121 bool temp7
= False
;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 PyObject
* obj2
= 0 ;
17125 PyObject
* obj3
= 0 ;
17126 PyObject
* obj4
= 0 ;
17127 PyObject
* obj5
= 0 ;
17128 PyObject
* obj6
= 0 ;
17129 char *kwnames
[] = {
17130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17137 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17143 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17149 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17154 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17160 arg7
= wxString_in_helper(obj6
);
17161 if (arg7
== NULL
) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17187 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17192 wxToolBarToolBase
*result
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 PyObject
* obj2
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self",(char *) "x",(char *) "y", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17203 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17207 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= wxPyMake_wxObject(result
);
17226 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17229 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17231 return Py_BuildValue((char *)"");
17233 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
17234 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17239 static PyObject
*_wrap_ListCtrlNameStr_get() {
17244 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17246 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17253 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxColour
const &arg1_defvalue
= wxNullColour
;
17256 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17257 wxColour
const &arg2_defvalue
= wxNullColour
;
17258 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17259 wxFont
const &arg3_defvalue
= wxNullFont
;
17260 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17261 wxListItemAttr
*result
;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 PyObject
* obj2
= 0 ;
17267 char *kwnames
[] = {
17268 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17275 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17281 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17285 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17286 if (arg3
== NULL
) {
17287 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 1);
17304 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
;
17306 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17307 wxColour
*arg2
= 0 ;
17309 PyObject
* obj0
= 0 ;
17310 PyObject
* obj1
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self",(char *) "colText", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17319 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17323 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17325 wxPyEndAllowThreads(__tstate
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17328 Py_INCREF(Py_None
); resultobj
= Py_None
;
17335 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17336 PyObject
*resultobj
;
17337 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17338 wxColour
*arg2
= 0 ;
17340 PyObject
* obj0
= 0 ;
17341 PyObject
* obj1
= 0 ;
17342 char *kwnames
[] = {
17343 (char *) "self",(char *) "colBack", NULL
17346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17370 PyObject
* obj0
= 0 ;
17371 PyObject
* obj1
= 0 ;
17372 char *kwnames
[] = {
17373 (char *) "self",(char *) "font", NULL
17376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 if (arg2
== NULL
) {
17380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 (arg1
)->SetFont((wxFont
const &)*arg2
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (bool)(arg1
)->HasTextColour();
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17421 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 char *kwnames
[] = {
17427 (char *) "self", NULL
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (bool)(arg1
)->HasBackgroundColour();
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17446 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)(arg1
)->HasFont();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17471 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (arg1
)->GetTextColour();
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17490 wxColour
* resultptr
;
17491 resultptr
= new wxColour((wxColour
&) result
);
17492 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17500 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17504 PyObject
* obj0
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17513 result
= (arg1
)->GetBackgroundColour();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17519 wxColour
* resultptr
;
17520 resultptr
= new wxColour((wxColour
&) result
);
17521 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
17529 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (arg1
)->GetFont();
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17548 wxFont
* resultptr
;
17549 resultptr
= new wxFont((wxFont
&) result
);
17550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
17558 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItemAttr
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 wxListItemAttr_Destroy(arg1
);
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 Py_INCREF(Py_None
); resultobj
= Py_None
;
17582 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17585 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17587 return Py_BuildValue((char *)"");
17589 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxListItem
*result
;
17592 char *kwnames
[] = {
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17599 result
= (wxListItem
*)new wxListItem();
17601 wxPyEndAllowThreads(__tstate
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 resultobj
= wxPyMake_wxObject(result
);
17613 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17614 PyObject
*resultobj
;
17615 wxListItem
*arg1
= (wxListItem
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 Py_INCREF(Py_None
); resultobj
= Py_None
;
17637 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17638 PyObject
*resultobj
;
17639 wxListItem
*arg1
= (wxListItem
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxListItem
*arg1
= (wxListItem
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 (arg1
)->ClearAttributes();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 Py_INCREF(Py_None
); resultobj
= Py_None
;
17685 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxListItem
*arg1
= (wxListItem
*) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 PyObject
* obj1
= 0 ;
17691 char *kwnames
[] = {
17692 (char *) "self",(char *) "mask", NULL
17695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17698 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->SetMask(arg2
);
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 Py_INCREF(Py_None
); resultobj
= Py_None
;
17715 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxListItem
*arg1
= (wxListItem
*) 0 ;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "id", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17728 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 (arg1
)->SetId(arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 Py_INCREF(Py_None
); resultobj
= Py_None
;
17745 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17746 PyObject
*resultobj
;
17747 wxListItem
*arg1
= (wxListItem
*) 0 ;
17749 PyObject
* obj0
= 0 ;
17750 PyObject
* obj1
= 0 ;
17751 char *kwnames
[] = {
17752 (char *) "self",(char *) "col", NULL
17755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
17756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17758 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->SetColumn(arg2
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 Py_INCREF(Py_None
); resultobj
= Py_None
;
17775 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxListItem
*arg1
= (wxListItem
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self",(char *) "state", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17788 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17793 (arg1
)->SetState(arg2
);
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 Py_INCREF(Py_None
); resultobj
= Py_None
;
17805 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxListItem
*arg1
= (wxListItem
*) 0 ;
17809 PyObject
* obj0
= 0 ;
17810 PyObject
* obj1
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self",(char *) "stateMask", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17818 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17823 (arg1
)->SetStateMask(arg2
);
17825 wxPyEndAllowThreads(__tstate
);
17826 if (PyErr_Occurred()) SWIG_fail
;
17828 Py_INCREF(Py_None
); resultobj
= Py_None
;
17835 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxListItem
*arg1
= (wxListItem
*) 0 ;
17838 wxString
*arg2
= 0 ;
17839 bool temp2
= False
;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 char *kwnames
[] = {
17843 (char *) "self",(char *) "text", NULL
17846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 arg2
= wxString_in_helper(obj1
);
17850 if (arg2
== NULL
) SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 (arg1
)->SetText((wxString
const &)*arg2
);
17857 wxPyEndAllowThreads(__tstate
);
17858 if (PyErr_Occurred()) SWIG_fail
;
17860 Py_INCREF(Py_None
); resultobj
= Py_None
;
17875 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxListItem
*arg1
= (wxListItem
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 PyObject
* obj1
= 0 ;
17881 char *kwnames
[] = {
17882 (char *) "self",(char *) "image", NULL
17885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
17886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17888 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 (arg1
)->SetImage(arg2
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17905 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxListItem
*arg1
= (wxListItem
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 PyObject
* obj1
= 0 ;
17911 char *kwnames
[] = {
17912 (char *) "self",(char *) "data", NULL
17915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17918 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->SetData(arg2
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17935 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17936 PyObject
*resultobj
;
17937 wxListItem
*arg1
= (wxListItem
*) 0 ;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "width", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 (arg1
)->SetWidth(arg2
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 Py_INCREF(Py_None
); resultobj
= Py_None
;
17965 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxListItem
*arg1
= (wxListItem
*) 0 ;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "align", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 arg2
= (wxListColumnFormat
) SWIG_PyObj_AsInt(obj1
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 Py_INCREF(Py_None
); resultobj
= Py_None
;
17995 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxListItem
*arg1
= (wxListItem
*) 0 ;
17998 wxColour
*arg2
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "colText", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18010 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 Py_INCREF(Py_None
); resultobj
= Py_None
;
18026 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxListItem
*arg1
= (wxListItem
*) 0 ;
18029 wxColour
*arg2
= 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "colBack", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18045 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18047 wxPyEndAllowThreads(__tstate
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18050 Py_INCREF(Py_None
); resultobj
= Py_None
;
18057 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxListItem
*arg1
= (wxListItem
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "font", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18070 if (arg2
== NULL
) {
18071 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 (arg1
)->SetFont((wxFont
const &)*arg2
);
18077 wxPyEndAllowThreads(__tstate
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 Py_INCREF(Py_None
); resultobj
= Py_None
;
18087 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxListItem
*arg1
= (wxListItem
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 char *kwnames
[] = {
18093 (char *) "self", NULL
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (long)(arg1
)->GetMask();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= SWIG_PyObj_FromLong((long)result
);
18112 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 wxListItem
*arg1
= (wxListItem
*) 0 ;
18116 PyObject
* obj0
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "self", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 result
= (long)(arg1
)->GetId();
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 resultobj
= SWIG_PyObj_FromLong((long)result
);
18137 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxListItem
*arg1
= (wxListItem
*) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18150 result
= (int)(arg1
)->GetColumn();
18152 wxPyEndAllowThreads(__tstate
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 resultobj
= SWIG_PyObj_FromInt((int)result
);
18162 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxListItem
*arg1
= (wxListItem
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 result
= (long)(arg1
)->GetState();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_PyObj_FromLong((long)result
);
18187 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxListItem
*arg1
= (wxListItem
*) 0 ;
18191 PyObject
* obj0
= 0 ;
18192 char *kwnames
[] = {
18193 (char *) "self", NULL
18196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 wxString
const &_result_ref
= (arg1
)->GetText();
18202 result
= (wxString
*) &_result_ref
;
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18212 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18221 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxListItem
*arg1
= (wxListItem
*) 0 ;
18225 PyObject
* obj0
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 result
= (int)(arg1
)->GetImage();
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_PyObj_FromInt((int)result
);
18246 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxListItem
*arg1
= (wxListItem
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (long)(arg1
)->GetData();
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= SWIG_PyObj_FromLong((long)result
);
18271 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
;
18273 wxListItem
*arg1
= (wxListItem
*) 0 ;
18275 PyObject
* obj0
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 result
= (int)(arg1
)->GetWidth();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_PyObj_FromInt((int)result
);
18296 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxListItem
*arg1
= (wxListItem
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 char *kwnames
[] = {
18302 (char *) "self", NULL
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (int)(arg1
)->GetAlign();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_PyObj_FromInt((int)result
);
18321 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxListItem
*arg1
= (wxListItem
*) 0 ;
18324 wxListItemAttr
*result
;
18325 PyObject
* obj0
= 0 ;
18326 char *kwnames
[] = {
18327 (char *) "self", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItemAttr
, 0);
18346 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxListItem
*arg1
= (wxListItem
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 char *kwnames
[] = {
18352 (char *) "self", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18359 result
= (bool)(arg1
)->HasAttributes();
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18371 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18372 PyObject
*resultobj
;
18373 wxListItem
*arg1
= (wxListItem
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18390 wxColour
* resultptr
;
18391 resultptr
= new wxColour((wxColour
&) result
);
18392 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18400 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxListItem
*arg1
= (wxListItem
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18413 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 wxColour
* resultptr
;
18420 resultptr
= new wxColour((wxColour
&) result
);
18421 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
18429 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxListItem
*arg1
= (wxListItem
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= ((wxListItem
const *)arg1
)->GetFont();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 wxFont
* resultptr
;
18449 resultptr
= new wxFont((wxFont
&) result
);
18450 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
18458 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxListItem
*arg1
= (wxListItem
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "m_mask", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18471 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 if (arg1
) (arg1
)->m_mask
= arg2
;
18476 Py_INCREF(Py_None
); resultobj
= Py_None
;
18483 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxListItem
*arg1
= (wxListItem
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 result
= (long) ((arg1
)->m_mask
);
18496 resultobj
= SWIG_PyObj_FromLong((long)result
);
18503 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxListItem
*arg1
= (wxListItem
*) 0 ;
18507 PyObject
* obj0
= 0 ;
18508 PyObject
* obj1
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "self",(char *) "m_itemId", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18516 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 if (arg1
) (arg1
)->m_itemId
= arg2
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxListItem
*arg1
= (wxListItem
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 result
= (long) ((arg1
)->m_itemId
);
18541 resultobj
= SWIG_PyObj_FromLong((long)result
);
18548 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
;
18550 wxListItem
*arg1
= (wxListItem
*) 0 ;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "m_col", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18561 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 if (arg1
) (arg1
)->m_col
= arg2
;
18566 Py_INCREF(Py_None
); resultobj
= Py_None
;
18573 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxListItem
*arg1
= (wxListItem
*) 0 ;
18577 PyObject
* obj0
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18584 result
= (int) ((arg1
)->m_col
);
18586 resultobj
= SWIG_PyObj_FromInt((int)result
);
18593 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
;
18595 wxListItem
*arg1
= (wxListItem
*) 0 ;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self",(char *) "m_state", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18606 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 if (arg1
) (arg1
)->m_state
= arg2
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxListItem
*arg1
= (wxListItem
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18629 result
= (long) ((arg1
)->m_state
);
18631 resultobj
= SWIG_PyObj_FromLong((long)result
);
18638 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
;
18640 wxListItem
*arg1
= (wxListItem
*) 0 ;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "m_stateMask", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18651 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18656 Py_INCREF(Py_None
); resultobj
= Py_None
;
18663 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxListItem
*arg1
= (wxListItem
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18674 result
= (long) ((arg1
)->m_stateMask
);
18676 resultobj
= SWIG_PyObj_FromLong((long)result
);
18683 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxListItem
*arg1
= (wxListItem
*) 0 ;
18686 wxString
*arg2
= (wxString
*) 0 ;
18687 bool temp2
= False
;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self",(char *) "m_text", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18697 arg2
= wxString_in_helper(obj1
);
18698 if (arg2
== NULL
) SWIG_fail
;
18701 if (arg1
) (arg1
)->m_text
= *arg2
;
18703 Py_INCREF(Py_None
); resultobj
= Py_None
;
18718 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxListItem
*arg1
= (wxListItem
*) 0 ;
18722 PyObject
* obj0
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18729 result
= (wxString
*)& ((arg1
)->m_text
);
18733 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18735 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18744 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 wxListItem
*arg1
= (wxListItem
*) 0 ;
18748 PyObject
* obj0
= 0 ;
18749 PyObject
* obj1
= 0 ;
18750 char *kwnames
[] = {
18751 (char *) "self",(char *) "m_image", NULL
18754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18757 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 if (arg1
) (arg1
)->m_image
= arg2
;
18762 Py_INCREF(Py_None
); resultobj
= Py_None
;
18769 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxListItem
*arg1
= (wxListItem
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
18779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18780 result
= (int) ((arg1
)->m_image
);
18782 resultobj
= SWIG_PyObj_FromInt((int)result
);
18789 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxListItem
*arg1
= (wxListItem
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 PyObject
* obj1
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self",(char *) "m_data", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18802 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
18803 if (PyErr_Occurred()) SWIG_fail
;
18805 if (arg1
) (arg1
)->m_data
= arg2
;
18807 Py_INCREF(Py_None
); resultobj
= Py_None
;
18814 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxListItem
*arg1
= (wxListItem
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18825 result
= (long) ((arg1
)->m_data
);
18827 resultobj
= SWIG_PyObj_FromLong((long)result
);
18834 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxListItem
*arg1
= (wxListItem
*) 0 ;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "m_format", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18847 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 if (arg1
) (arg1
)->m_format
= arg2
;
18852 Py_INCREF(Py_None
); resultobj
= Py_None
;
18859 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
;
18861 wxListItem
*arg1
= (wxListItem
*) 0 ;
18863 PyObject
* obj0
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18870 result
= (int) ((arg1
)->m_format
);
18872 resultobj
= SWIG_PyObj_FromInt((int)result
);
18879 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxListItem
*arg1
= (wxListItem
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 PyObject
* obj1
= 0 ;
18885 char *kwnames
[] = {
18886 (char *) "self",(char *) "m_width", NULL
18889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18892 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 if (arg1
) (arg1
)->m_width
= arg2
;
18897 Py_INCREF(Py_None
); resultobj
= Py_None
;
18904 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18905 PyObject
*resultobj
;
18906 wxListItem
*arg1
= (wxListItem
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18915 result
= (int) ((arg1
)->m_width
);
18917 resultobj
= SWIG_PyObj_FromInt((int)result
);
18924 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
18926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18927 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
18929 return Py_BuildValue((char *)"");
18931 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18934 int arg2
= (int) 0 ;
18935 wxListEvent
*result
;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "commandType",(char *) "id", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18951 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListEvent
, 1);
18969 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18971 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self",(char *) "m_code", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18982 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 if (arg1
) (arg1
)->m_code
= arg2
;
18987 Py_INCREF(Py_None
); resultobj
= Py_None
;
18994 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18996 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
18998 PyObject
* obj0
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19005 result
= (int) ((arg1
)->m_code
);
19007 resultobj
= SWIG_PyObj_FromInt((int)result
);
19014 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 PyObject
* obj1
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "m_oldItemIndex", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19027 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19032 Py_INCREF(Py_None
); resultobj
= Py_None
;
19039 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19050 result
= (long) ((arg1
)->m_oldItemIndex
);
19052 resultobj
= SWIG_PyObj_FromLong((long)result
);
19059 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 char *kwnames
[] = {
19066 (char *) "self",(char *) "m_itemIndex", NULL
19069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19072 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19077 Py_INCREF(Py_None
); resultobj
= Py_None
;
19084 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19085 PyObject
*resultobj
;
19086 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19088 PyObject
* obj0
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19095 result
= (long) ((arg1
)->m_itemIndex
);
19097 resultobj
= SWIG_PyObj_FromLong((long)result
);
19104 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "m_col", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19117 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 if (arg1
) (arg1
)->m_col
= arg2
;
19122 Py_INCREF(Py_None
); resultobj
= Py_None
;
19129 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19140 result
= (int) ((arg1
)->m_col
);
19142 resultobj
= SWIG_PyObj_FromInt((int)result
);
19149 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19152 wxPoint
*arg2
= (wxPoint
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 PyObject
* obj1
= 0 ;
19155 char *kwnames
[] = {
19156 (char *) "self",(char *) "m_pointDrag", NULL
19159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19162 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19164 Py_INCREF(Py_None
); resultobj
= Py_None
;
19171 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19172 PyObject
*resultobj
;
19173 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19175 PyObject
* obj0
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19182 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
19191 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19194 wxListItem
*result
;
19195 PyObject
* obj0
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19202 result
= (wxListItem
*)& ((arg1
)->m_item
);
19205 resultobj
= wxPyMake_wxObject(result
);
19213 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (int)(arg1
)->GetKeyCode();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_PyObj_FromInt((int)result
);
19238 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19242 PyObject
* obj0
= 0 ;
19243 char *kwnames
[] = {
19244 (char *) "self", NULL
19247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (long)(arg1
)->GetIndex();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_PyObj_FromLong((long)result
);
19263 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 result
= (int)(arg1
)->GetColumn();
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 resultobj
= SWIG_PyObj_FromInt((int)result
);
19288 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 char *kwnames
[] = {
19294 (char *) "self", NULL
19297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 result
= (arg1
)->GetPoint();
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19307 wxPoint
* resultptr
;
19308 resultptr
= new wxPoint((wxPoint
&) result
);
19309 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19317 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
;
19319 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19321 PyObject
* obj0
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 wxString
const &_result_ref
= (arg1
)->GetLabel();
19332 result
= (wxString
*) &_result_ref
;
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19342 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19351 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 wxString
const &_result_ref
= (arg1
)->GetText();
19366 result
= (wxString
*) &_result_ref
;
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19385 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "self", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (int)(arg1
)->GetImage();
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= SWIG_PyObj_FromInt((int)result
);
19410 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (long)(arg1
)->GetData();
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 resultobj
= SWIG_PyObj_FromLong((long)result
);
19435 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 char *kwnames
[] = {
19441 (char *) "self", NULL
19444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (long)(arg1
)->GetMask();
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_PyObj_FromLong((long)result
);
19460 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19463 wxListItem
*result
;
19464 PyObject
* obj0
= 0 ;
19465 char *kwnames
[] = {
19466 (char *) "self", NULL
19469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19475 result
= (wxListItem
*) &_result_ref
;
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListItem
, 0);
19488 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (long)(arg1
)->GetCacheFrom();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_PyObj_FromLong((long)result
);
19513 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (long)(arg1
)->GetCacheTo();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_PyObj_FromLong((long)result
);
19538 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19542 PyObject
* obj0
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19563 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "editCancelled", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19576 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19581 (arg1
)->SetEditCanceled(arg2
);
19583 wxPyEndAllowThreads(__tstate
);
19584 if (PyErr_Occurred()) SWIG_fail
;
19586 Py_INCREF(Py_None
); resultobj
= Py_None
;
19593 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19596 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19598 return Py_BuildValue((char *)"");
19600 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxWindow
*arg1
= (wxWindow
*) 0 ;
19603 int arg2
= (int) -1 ;
19604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19608 long arg5
= (long) wxLC_ICON
;
19609 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19610 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19611 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19612 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19613 wxPyListCtrl
*result
;
19616 bool temp7
= False
;
19617 PyObject
* obj0
= 0 ;
19618 PyObject
* obj1
= 0 ;
19619 PyObject
* obj2
= 0 ;
19620 PyObject
* obj3
= 0 ;
19621 PyObject
* obj4
= 0 ;
19622 PyObject
* obj5
= 0 ;
19623 PyObject
* obj6
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19632 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19639 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19645 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19650 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19655 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19656 if (arg6
== NULL
) {
19657 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19662 arg7
= wxString_in_helper(obj6
);
19663 if (arg7
== NULL
) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19689 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPyListCtrl
*result
;
19692 char *kwnames
[] = {
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxPyListCtrl
*)new wxPyListCtrl();
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyListCtrl
, 1);
19711 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19714 wxWindow
*arg2
= (wxWindow
*) 0 ;
19715 int arg3
= (int) -1 ;
19716 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19717 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19718 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19719 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19720 long arg6
= (long) wxLC_ICON
;
19721 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
19722 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
19723 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
19724 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
19728 bool temp8
= False
;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 PyObject
* obj2
= 0 ;
19732 PyObject
* obj3
= 0 ;
19733 PyObject
* obj4
= 0 ;
19734 PyObject
* obj5
= 0 ;
19735 PyObject
* obj6
= 0 ;
19736 PyObject
* obj7
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19746 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19753 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19759 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19764 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19769 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19770 if (arg7
== NULL
) {
19771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19776 arg8
= wxString_in_helper(obj7
);
19777 if (arg8
== NULL
) SWIG_fail
;
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19803 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19806 PyObject
*arg2
= (PyObject
*) 0 ;
19807 PyObject
*arg3
= (PyObject
*) 0 ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 PyObject
* obj2
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "self",(char *) "_class", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19836 wxColour
*arg2
= 0 ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "col", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19865 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19868 wxColour
*arg2
= 0 ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self",(char *) "col", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19881 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19887 wxPyEndAllowThreads(__tstate
);
19888 if (PyErr_Occurred()) SWIG_fail
;
19890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19897 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19898 PyObject
*resultobj
;
19899 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19901 wxListItem
*result
;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 char *kwnames
[] = {
19905 (char *) "self",(char *) "col", NULL
19908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19911 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= wxPyMake_wxObject(result
);
19930 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19934 wxListItem
*arg3
= 0 ;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 PyObject
* obj2
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "col",(char *) "item", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19950 if (arg3
== NULL
) {
19951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "col", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19981 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_PyObj_FromInt((int)result
);
19998 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 PyObject
* obj2
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "col",(char *) "width", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20014 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20015 if (PyErr_Occurred()) SWIG_fail
;
20018 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 resultobj
= SWIG_PyObj_FromInt((int)result
);
20060 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20061 PyObject
*resultobj
;
20062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20064 PyObject
* obj0
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 wxRect
* resultptr
;
20080 resultptr
= new wxRect((wxRect
&) result
);
20081 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20089 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20093 int arg3
= (int) 0 ;
20094 wxListItem
*result
;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 PyObject
* obj2
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "itemId",(char *) "col", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20105 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20110 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= wxPyMake_wxObject(result
);
20130 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20131 PyObject
*resultobj
;
20132 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20133 wxListItem
*arg2
= 0 ;
20135 PyObject
* obj0
= 0 ;
20136 PyObject
* obj1
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self",(char *) "info", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 if (arg2
== NULL
) {
20145 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (bool)(arg1
)->SetItem(*arg2
);
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20161 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20166 wxString
*arg4
= 0 ;
20167 int arg5
= (int) -1 ;
20169 bool temp4
= False
;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 PyObject
* obj2
= 0 ;
20173 PyObject
* obj3
= 0 ;
20174 PyObject
* obj4
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20182 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20187 if (PyErr_Occurred()) SWIG_fail
;
20190 arg4
= wxString_in_helper(obj3
);
20191 if (arg4
== NULL
) SWIG_fail
;
20196 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20202 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20204 wxPyEndAllowThreads(__tstate
);
20205 if (PyErr_Occurred()) SWIG_fail
;
20207 resultobj
= SWIG_PyObj_FromLong((long)result
);
20222 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20228 PyObject
* obj0
= 0 ;
20229 PyObject
* obj1
= 0 ;
20230 PyObject
* obj2
= 0 ;
20231 char *kwnames
[] = {
20232 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20238 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20242 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_PyObj_FromInt((int)result
);
20259 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 PyObject
* obj2
= 0 ;
20269 PyObject
* obj3
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20281 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20285 arg4
= (long) SWIG_PyObj_AsLong(obj3
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 PyObject
* obj2
= 0 ;
20312 PyObject
* obj3
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20320 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20324 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20345 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 PyObject
* obj1
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "self",(char *) "item", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20359 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20382 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20386 wxString
*arg3
= 0 ;
20387 bool temp3
= False
;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 char *kwnames
[] = {
20392 (char *) "self",(char *) "item",(char *) "str", NULL
20395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20398 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20402 arg3
= wxString_in_helper(obj2
);
20403 if (arg3
== NULL
) SWIG_fail
;
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20410 wxPyEndAllowThreads(__tstate
);
20411 if (PyErr_Occurred()) SWIG_fail
;
20413 Py_INCREF(Py_None
); resultobj
= Py_None
;
20428 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "item", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20442 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_PyObj_FromLong((long)result
);
20459 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20460 PyObject
*resultobj
;
20461 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20465 PyObject
* obj0
= 0 ;
20466 PyObject
* obj1
= 0 ;
20467 PyObject
* obj2
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self",(char *) "item",(char *) "data", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20475 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20486 wxPyEndAllowThreads(__tstate
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20496 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 char *kwnames
[] = {
20504 (char *) "self",(char *) "item", NULL
20507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20510 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20515 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20521 wxPoint
* resultptr
;
20522 resultptr
= new wxPoint((wxPoint
&) result
);
20523 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20531 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20532 PyObject
*resultobj
;
20533 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20535 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20537 PyObject
* obj0
= 0 ;
20538 PyObject
* obj1
= 0 ;
20539 PyObject
* obj2
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "self",(char *) "item",(char *) "code", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20547 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20552 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 wxRect
* resultptr
;
20565 resultptr
= new wxRect((wxRect
&) result
);
20566 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20574 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20578 wxPoint
*arg3
= 0 ;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 PyObject
* obj2
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self",(char *) "item",(char *) "pos", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20591 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_PyObj_FromInt((int)result
);
20637 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 char *kwnames
[] = {
20643 (char *) "self", NULL
20646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_PyObj_FromInt((int)result
);
20662 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20664 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 char *kwnames
[] = {
20668 (char *) "self", NULL
20671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20681 wxSize
* resultptr
;
20682 resultptr
= new wxSize((wxSize
&) result
);
20683 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20691 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20695 bool arg3
= (bool) False
;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 PyObject
* obj2
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20706 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20711 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->SetItemSpacing(arg2
,arg3
);
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 Py_INCREF(Py_None
); resultobj
= Py_None
;
20729 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20747 resultobj
= SWIG_PyObj_FromInt((int)result
);
20754 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20755 PyObject
*resultobj
;
20756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 char *kwnames
[] = {
20760 (char *) "self", NULL
20763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
20764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20767 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20773 wxColour
* resultptr
;
20774 resultptr
= new wxColour((wxColour
&) result
);
20775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
20783 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20786 wxColour
*arg2
= 0 ;
20788 PyObject
* obj0
= 0 ;
20789 PyObject
* obj1
= 0 ;
20790 char *kwnames
[] = {
20791 (char *) "self",(char *) "col", NULL
20794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= SWIG_PyObj_FromLong((long)result
);
20839 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20843 bool arg3
= (bool) True
;
20844 PyObject
* obj0
= 0 ;
20845 PyObject
* obj1
= 0 ;
20846 PyObject
* obj2
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self",(char *) "style",(char *) "add", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20854 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20859 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->SetSingleStyle(arg2
,arg3
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20870 Py_INCREF(Py_None
); resultobj
= Py_None
;
20877 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20878 PyObject
*resultobj
;
20879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20881 PyObject
* obj0
= 0 ;
20882 PyObject
* obj1
= 0 ;
20883 char *kwnames
[] = {
20884 (char *) "self",(char *) "style", NULL
20887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
20888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20890 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 (arg1
)->SetWindowStyleFlag(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 Py_INCREF(Py_None
); resultobj
= Py_None
;
20907 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20911 int arg3
= (int) wxLIST_NEXT_ALL
;
20912 int arg4
= (int) wxLIST_STATE_DONTCARE
;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 PyObject
* obj2
= 0 ;
20917 PyObject
* obj3
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20925 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20930 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20936 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_PyObj_FromLong((long)result
);
20954 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20955 PyObject
*resultobj
;
20956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20958 wxImageList
*result
;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "which", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20968 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20973 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= wxPyMake_wxObject(result
);
20987 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20988 PyObject
*resultobj
;
20989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20990 wxImageList
*arg2
= (wxImageList
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 PyObject
* obj2
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self",(char *) "imageList",(char *) "which", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21001 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21003 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 (arg1
)->SetImageList(arg2
,arg3
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 Py_INCREF(Py_None
); resultobj
= Py_None
;
21020 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21023 wxImageList
*arg2
= (wxImageList
*) 0 ;
21025 PyObject
* obj0
= 0 ;
21026 PyObject
* obj1
= 0 ;
21027 PyObject
* obj2
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "imageList",(char *) "which", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21036 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 (arg1
)->AssignImageList(arg2
,arg3
);
21043 wxPyEndAllowThreads(__tstate
);
21044 if (PyErr_Occurred()) SWIG_fail
;
21046 Py_INCREF(Py_None
); resultobj
= Py_None
;
21053 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21054 PyObject
*resultobj
;
21055 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21078 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 PyObject
* obj1
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self",(char *) "item", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21091 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 (arg1
)->RefreshItem(arg2
);
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 Py_INCREF(Py_None
); resultobj
= Py_None
;
21108 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 PyObject
* obj2
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21123 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21127 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 (arg1
)->RefreshItems(arg2
,arg3
);
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 Py_INCREF(Py_None
); resultobj
= Py_None
;
21144 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21147 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "flag", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21159 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= (bool)(arg1
)->Arrange(arg2
);
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21177 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21178 PyObject
*resultobj
;
21179 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21182 PyObject
* obj0
= 0 ;
21183 PyObject
* obj1
= 0 ;
21184 char *kwnames
[] = {
21185 (char *) "self",(char *) "item", NULL
21188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21191 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= (bool)(arg1
)->DeleteItem(arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21208 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21212 PyObject
* obj0
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (bool)(arg1
)->DeleteAllItems();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21233 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 PyObject
* obj1
= 0 ;
21240 char *kwnames
[] = {
21241 (char *) "self",(char *) "col", NULL
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21247 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21264 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 char *kwnames
[] = {
21270 (char *) "self", NULL
21273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (bool)(arg1
)->DeleteAllColumns();
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21289 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21290 PyObject
*resultobj
;
21291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->ClearAll();
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "item", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21326 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 (arg1
)->EditLabel(arg2
);
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 Py_INCREF(Py_None
); resultobj
= Py_None
;
21343 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self",(char *) "item", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21357 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21374 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21375 PyObject
*resultobj
;
21376 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21378 wxString
*arg3
= 0 ;
21379 bool arg4
= (bool) False
;
21381 bool temp3
= False
;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 PyObject
* obj2
= 0 ;
21385 PyObject
* obj3
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21393 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 arg3
= wxString_in_helper(obj2
);
21398 if (arg3
== NULL
) SWIG_fail
;
21403 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= SWIG_PyObj_FromLong((long)result
);
21429 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21435 PyObject
* obj0
= 0 ;
21436 PyObject
* obj1
= 0 ;
21437 PyObject
* obj2
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self",(char *) "start",(char *) "data", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21445 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21449 arg3
= (long) SWIG_PyObj_AsLong(obj2
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_PyObj_FromLong((long)result
);
21466 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21470 wxPoint
*arg3
= 0 ;
21474 PyObject
* obj0
= 0 ;
21475 PyObject
* obj1
= 0 ;
21476 PyObject
* obj2
= 0 ;
21477 PyObject
* obj3
= 0 ;
21478 char *kwnames
[] = {
21479 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21485 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21493 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21494 if (PyErr_Occurred()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_PyObj_FromLong((long)result
);
21510 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21513 wxPoint
*arg2
= 0 ;
21518 PyObject
* obj0
= 0 ;
21519 PyObject
* obj1
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self",(char *) "point", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= SWIG_PyObj_FromLong((long)result
);
21540 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21541 resultobj
= t_output_helper(resultobj
,o
);
21549 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21552 wxListItem
*arg2
= 0 ;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "info", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 if (arg2
== NULL
) {
21564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (long)(arg1
)->InsertItem(*arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= SWIG_PyObj_FromLong((long)result
);
21580 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21584 wxString
*arg3
= 0 ;
21586 bool temp3
= False
;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 PyObject
* obj2
= 0 ;
21590 char *kwnames
[] = {
21591 (char *) "self",(char *) "index",(char *) "label", NULL
21594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21597 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 arg3
= wxString_in_helper(obj2
);
21602 if (arg3
== NULL
) SWIG_fail
;
21606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21609 wxPyEndAllowThreads(__tstate
);
21610 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= SWIG_PyObj_FromLong((long)result
);
21627 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21633 PyObject
* obj0
= 0 ;
21634 PyObject
* obj1
= 0 ;
21635 PyObject
* obj2
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21643 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 resultobj
= SWIG_PyObj_FromLong((long)result
);
21664 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21668 wxString
*arg3
= 0 ;
21671 bool temp3
= False
;
21672 PyObject
* obj0
= 0 ;
21673 PyObject
* obj1
= 0 ;
21674 PyObject
* obj2
= 0 ;
21675 PyObject
* obj3
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21683 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21687 arg3
= wxString_in_helper(obj2
);
21688 if (arg3
== NULL
) SWIG_fail
;
21692 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21697 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
21699 wxPyEndAllowThreads(__tstate
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 resultobj
= SWIG_PyObj_FromLong((long)result
);
21717 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21721 wxListItem
*arg3
= 0 ;
21723 PyObject
* obj0
= 0 ;
21724 PyObject
* obj1
= 0 ;
21725 PyObject
* obj2
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "col",(char *) "info", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21733 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxListItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21737 if (arg3
== NULL
) {
21738 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= SWIG_PyObj_FromLong((long)result
);
21754 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21755 PyObject
*resultobj
;
21756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21758 wxString
*arg3
= 0 ;
21759 int arg4
= (int) wxLIST_FORMAT_LEFT
;
21760 int arg5
= (int) -1 ;
21762 bool temp3
= False
;
21763 PyObject
* obj0
= 0 ;
21764 PyObject
* obj1
= 0 ;
21765 PyObject
* obj2
= 0 ;
21766 PyObject
* obj3
= 0 ;
21767 PyObject
* obj4
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21775 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 arg3
= wxString_in_helper(obj2
);
21780 if (arg3
== NULL
) SWIG_fail
;
21785 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21791 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 resultobj
= SWIG_PyObj_FromLong((long)result
);
21817 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "count", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21830 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetItemCount(arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 PyObject
* obj1
= 0 ;
21855 PyObject
* obj2
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self",(char *) "dx",(char *) "dy", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21863 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
21874 wxPyEndAllowThreads(__tstate
);
21875 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21884 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21888 wxColour
*arg3
= 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 PyObject
* obj2
= 0 ;
21893 char *kwnames
[] = {
21894 (char *) "self",(char *) "item",(char *) "col", NULL
21897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21900 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21905 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 Py_INCREF(Py_None
); resultobj
= Py_None
;
21921 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "item", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 wxColour
* resultptr
;
21947 resultptr
= new wxColour((wxColour
&) result
);
21948 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
21956 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21960 wxColour
*arg3
= 0 ;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 PyObject
* obj2
= 0 ;
21965 char *kwnames
[] = {
21966 (char *) "self",(char *) "item",(char *) "col", NULL
21969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21972 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21977 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
21980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 Py_INCREF(Py_None
); resultobj
= Py_None
;
21993 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "item", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22007 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 wxColour
* resultptr
;
22019 resultptr
= new wxColour((wxColour
&) result
);
22020 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22028 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22029 PyObject
*resultobj
;
22030 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22031 PyObject
*arg2
= (PyObject
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self",(char *) "func", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= wxPyMake_wxObject(result
);
22083 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22086 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22088 return Py_BuildValue((char *)"");
22090 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxWindow
*arg1
= (wxWindow
*) 0 ;
22093 int arg2
= (int) -1 ;
22094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22098 long arg5
= (long) wxLC_REPORT
;
22099 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22100 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22101 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22103 wxListView
*result
;
22106 bool temp7
= False
;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 PyObject
* obj3
= 0 ;
22111 PyObject
* obj4
= 0 ;
22112 PyObject
* obj5
= 0 ;
22113 PyObject
* obj6
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22129 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22135 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22140 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
22141 if (PyErr_Occurred()) SWIG_fail
;
22145 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22146 if (arg6
== NULL
) {
22147 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22152 arg7
= wxString_in_helper(obj6
);
22153 if (arg7
== NULL
) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22179 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxListView
*result
;
22182 char *kwnames
[] = {
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22189 result
= (wxListView
*)new wxListView();
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxListView
, 1);
22201 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22202 PyObject
*resultobj
;
22203 wxListView
*arg1
= (wxListView
*) 0 ;
22204 wxWindow
*arg2
= (wxWindow
*) 0 ;
22205 int arg3
= (int) -1 ;
22206 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22207 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22208 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22209 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22210 long arg6
= (long) wxLC_REPORT
;
22211 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22212 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22213 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22218 bool temp8
= False
;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 PyObject
* obj2
= 0 ;
22222 PyObject
* obj3
= 0 ;
22223 PyObject
* obj4
= 0 ;
22224 PyObject
* obj5
= 0 ;
22225 PyObject
* obj6
= 0 ;
22226 PyObject
* obj7
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22236 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22243 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22249 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22254 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 if (arg7
== NULL
) {
22261 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22266 arg8
= wxString_in_helper(obj7
);
22267 if (arg8
== NULL
) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22293 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxListView
*arg1
= (wxListView
*) 0 ;
22297 bool arg3
= (bool) True
;
22298 PyObject
* obj0
= 0 ;
22299 PyObject
* obj1
= 0 ;
22300 PyObject
* obj2
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "n",(char *) "on", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22308 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22313 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->Select(arg2
,arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22331 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxListView
*arg1
= (wxListView
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "index", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22349 (arg1
)->Focus(arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 Py_INCREF(Py_None
); resultobj
= Py_None
;
22361 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxListView
*arg1
= (wxListView
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= SWIG_PyObj_FromLong((long)result
);
22386 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22387 PyObject
*resultobj
;
22388 wxListView
*arg1
= (wxListView
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "item", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22400 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22405 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22407 wxPyEndAllowThreads(__tstate
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= SWIG_PyObj_FromLong((long)result
);
22417 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxListView
*arg1
= (wxListView
*) 0 ;
22421 PyObject
* obj0
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_PyObj_FromLong((long)result
);
22442 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxListView
*arg1
= (wxListView
*) 0 ;
22447 PyObject
* obj0
= 0 ;
22448 PyObject
* obj1
= 0 ;
22449 char *kwnames
[] = {
22450 (char *) "self",(char *) "index", NULL
22453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22456 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)(arg1
)->IsSelected(arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22473 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxListView
*arg1
= (wxListView
*) 0 ;
22478 PyObject
* obj0
= 0 ;
22479 PyObject
* obj1
= 0 ;
22480 PyObject
* obj2
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self",(char *) "col",(char *) "image", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22488 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->SetColumnImage(arg2
,arg3
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22509 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxListView
*arg1
= (wxListView
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "col", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxListView
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22522 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 (arg1
)->ClearColumnImage(arg2
);
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 Py_INCREF(Py_None
); resultobj
= Py_None
;
22539 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22541 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22542 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22544 return Py_BuildValue((char *)"");
22546 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
22547 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22552 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22557 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22559 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22566 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxTreeItemId
*result
;
22569 char *kwnames
[] = {
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22576 result
= (wxTreeItemId
*)new wxTreeItemId();
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 1);
22588 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
;
22590 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 Py_INCREF(Py_None
); resultobj
= Py_None
;
22612 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22637 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22638 PyObject
*resultobj
;
22639 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22640 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "self",(char *) "other", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22650 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)wxTreeItemId_operator_ee___(arg1
,(wxTreeItemId
const *)arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22665 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
;
22667 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22668 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 PyObject
* obj1
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "other", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 result
= (bool)wxTreeItemId_operator_Ne___(arg1
,(wxTreeItemId
const *)arg2
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22693 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22696 void *arg2
= (void *) 0 ;
22697 PyObject
* obj0
= 0 ;
22698 PyObject
* obj1
= 0 ;
22699 char *kwnames
[] = {
22700 (char *) "self",(char *) "m_pItem", NULL
22703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
22704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, 0, SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22706 if (arg1
) (arg1
)->m_pItem
= arg2
;
22708 Py_INCREF(Py_None
); resultobj
= Py_None
;
22715 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22726 result
= (void *) ((arg1
)->m_pItem
);
22728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_void
, 0);
22735 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
22737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22738 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
22740 return Py_BuildValue((char *)"");
22742 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 PyObject
*arg1
= (PyObject
*) NULL
;
22745 wxPyTreeItemData
*result
;
22746 PyObject
* obj0
= 0 ;
22747 char *kwnames
[] = {
22748 (char *) "obj", NULL
22751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 1);
22769 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22770 PyObject
*resultobj
;
22771 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22773 PyObject
* obj0
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (PyObject
*)(arg1
)->GetData();
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= result
;
22794 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22797 PyObject
*arg2
= (PyObject
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 PyObject
* obj1
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self",(char *) "obj", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 (arg1
)->SetData(arg2
);
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 Py_INCREF(Py_None
); resultobj
= Py_None
;
22821 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22824 wxTreeItemId
*result
;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
22836 result
= (wxTreeItemId
*) &_result_ref
;
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeItemId
, 0);
22849 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22852 wxTreeItemId
*arg2
= 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 char *kwnames
[] = {
22856 (char *) "self",(char *) "id", NULL
22859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22862 if (arg2
== NULL
) {
22863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 Py_INCREF(Py_None
); resultobj
= Py_None
;
22879 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22880 PyObject
*resultobj
;
22881 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 wxPyTreeItemData_Destroy(arg1
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
22905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
22908 return Py_BuildValue((char *)"");
22910 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22913 int arg2
= (int) 0 ;
22914 wxTreeEvent
*result
;
22915 PyObject
* obj0
= 0 ;
22916 PyObject
* obj1
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "commandType",(char *) "id", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
22924 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22930 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTreeEvent
, 1);
22948 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22951 wxTreeItemId result
;
22952 PyObject
* obj0
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22967 wxTreeItemId
* resultptr
;
22968 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
22969 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
22977 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
22980 wxTreeItemId
*arg2
= 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "item", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22989 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22990 if (arg2
== NULL
) {
22991 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23000 Py_INCREF(Py_None
); resultobj
= Py_None
;
23007 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23010 wxTreeItemId result
;
23011 PyObject
* obj0
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 wxTreeItemId
* resultptr
;
23027 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23028 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
23036 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23037 PyObject
*resultobj
;
23038 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23039 wxTreeItemId
*arg2
= 0 ;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self",(char *) "item", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23049 if (arg2
== NULL
) {
23050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23085 wxPoint
* resultptr
;
23086 resultptr
= new wxPoint((wxPoint
&) result
);
23087 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23095 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23096 PyObject
*resultobj
;
23097 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23098 wxPoint
*arg2
= 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "pt", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23110 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 Py_INCREF(Py_None
); resultobj
= Py_None
;
23126 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23129 wxKeyEvent
*result
;
23130 PyObject
* obj0
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23140 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23141 result
= (wxKeyEvent
*) &_result_ref
;
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 0);
23154 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23158 PyObject
* obj0
= 0 ;
23159 char *kwnames
[] = {
23160 (char *) "self", NULL
23163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_PyObj_FromInt((int)result
);
23179 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23182 wxKeyEvent
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char *kwnames
[] = {
23186 (char *) "self",(char *) "evt", NULL
23189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23191 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23192 if (arg2
== NULL
) {
23193 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 Py_INCREF(Py_None
); resultobj
= Py_None
;
23209 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23224 result
= (wxString
*) &_result_ref
;
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23234 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23243 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23246 wxString
*arg2
= 0 ;
23247 bool temp2
= False
;
23248 PyObject
* obj0
= 0 ;
23249 PyObject
* obj1
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self",(char *) "label", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23257 arg2
= wxString_in_helper(obj1
);
23258 if (arg2
== NULL
) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 (arg1
)->SetLabel((wxString
const &)*arg2
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23283 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23296 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23308 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "editCancelled", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->SetEditCanceled(arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23341 wxString
*arg2
= 0 ;
23342 bool temp2
= False
;
23343 PyObject
* obj0
= 0 ;
23344 PyObject
* obj1
= 0 ;
23345 char *kwnames
[] = {
23346 (char *) "self",(char *) "toolTip", NULL
23349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTreeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23352 arg2
= wxString_in_helper(obj1
);
23353 if (arg2
== NULL
) SWIG_fail
;
23357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23358 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 Py_INCREF(Py_None
); resultobj
= Py_None
;
23378 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23381 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23383 return Py_BuildValue((char *)"");
23385 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxWindow
*arg1
= (wxWindow
*) 0 ;
23388 int arg2
= (int) -1 ;
23389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23393 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23394 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23395 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23396 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23397 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23398 wxPyTreeCtrl
*result
;
23401 bool temp7
= False
;
23402 PyObject
* obj0
= 0 ;
23403 PyObject
* obj1
= 0 ;
23404 PyObject
* obj2
= 0 ;
23405 PyObject
* obj3
= 0 ;
23406 PyObject
* obj4
= 0 ;
23407 PyObject
* obj5
= 0 ;
23408 PyObject
* obj6
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23417 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23435 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
23436 if (PyErr_Occurred()) SWIG_fail
;
23440 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23441 if (arg6
== NULL
) {
23442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23447 arg7
= wxString_in_helper(obj6
);
23448 if (arg7
== NULL
) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= wxPyMake_wxObject(result
);
23476 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPyTreeCtrl
*result
;
23479 char *kwnames
[] = {
23483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= wxPyMake_wxObject(result
);
23500 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23503 wxWindow
*arg2
= (wxWindow
*) 0 ;
23504 int arg3
= (int) -1 ;
23505 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23506 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23507 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23508 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23509 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23510 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23511 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23512 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23513 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23517 bool temp8
= False
;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 PyObject
* obj2
= 0 ;
23521 PyObject
* obj3
= 0 ;
23522 PyObject
* obj4
= 0 ;
23523 PyObject
* obj5
= 0 ;
23524 PyObject
* obj6
= 0 ;
23525 PyObject
* obj7
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23535 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23553 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23558 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23559 if (arg7
== NULL
) {
23560 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23565 arg8
= wxString_in_helper(obj7
);
23566 if (arg8
== NULL
) SWIG_fail
;
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23592 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23595 PyObject
*arg2
= (PyObject
*) 0 ;
23596 PyObject
*arg3
= (PyObject
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 PyObject
* obj1
= 0 ;
23599 PyObject
* obj2
= 0 ;
23600 char *kwnames
[] = {
23601 (char *) "self",(char *) "self",(char *) "_class", NULL
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 Py_INCREF(Py_None
); resultobj
= Py_None
;
23622 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23640 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
23647 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23648 PyObject
*resultobj
;
23649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23650 unsigned int result
;
23651 PyObject
* obj0
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23665 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23672 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23675 unsigned int arg2
;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "indent", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23685 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->SetIndent(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23705 unsigned int result
;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_PyObj_FromUnsignedInt((unsigned int)result
);
23727 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23730 unsigned int arg2
;
23731 PyObject
* obj0
= 0 ;
23732 PyObject
* obj1
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self",(char *) "spacing", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23740 arg2
= (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 (arg1
)->SetSpacing(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 Py_INCREF(Py_None
); resultobj
= Py_None
;
23757 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23760 wxImageList
*result
;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self", NULL
23766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
23767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
);
23784 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23787 wxImageList
*result
;
23788 PyObject
* obj0
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23803 resultobj
= wxPyMake_wxObject(result
);
23811 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23814 wxImageList
*arg2
= (wxImageList
*) 0 ;
23815 PyObject
* obj0
= 0 ;
23816 PyObject
* obj1
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "imageList", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 (arg1
)->SetImageList(arg2
);
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 Py_INCREF(Py_None
); resultobj
= Py_None
;
23838 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23841 wxImageList
*arg2
= (wxImageList
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "imageList", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23850 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23853 (arg1
)->SetStateImageList(arg2
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23868 wxImageList
*arg2
= (wxImageList
*) 0 ;
23869 PyObject
* obj0
= 0 ;
23870 PyObject
* obj1
= 0 ;
23871 char *kwnames
[] = {
23872 (char *) "self",(char *) "imageList", NULL
23875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 (arg1
)->AssignImageList(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 Py_INCREF(Py_None
); resultobj
= Py_None
;
23892 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23895 wxImageList
*arg2
= (wxImageList
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self",(char *) "imageList", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23904 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageList
,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 (arg1
)->AssignStateImageList(arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 Py_INCREF(Py_None
); resultobj
= Py_None
;
23919 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23922 wxTreeItemId
*arg2
= 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "item", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23932 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23933 if (arg2
== NULL
) {
23934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23947 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23956 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23959 wxTreeItemId
*arg2
= 0 ;
23960 int arg3
= (int) wxTreeItemIcon_Normal
;
23962 PyObject
* obj0
= 0 ;
23963 PyObject
* obj1
= 0 ;
23964 PyObject
* obj2
= 0 ;
23965 char *kwnames
[] = {
23966 (char *) "self",(char *) "item",(char *) "which", NULL
23969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23972 if (arg2
== NULL
) {
23973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23977 arg3
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj2
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= SWIG_PyObj_FromInt((int)result
);
23995 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
;
23997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23998 wxTreeItemId
*arg2
= 0 ;
23999 wxPyTreeItemData
*result
;
24000 PyObject
* obj0
= 0 ;
24001 PyObject
* obj1
= 0 ;
24002 char *kwnames
[] = {
24003 (char *) "self",(char *) "item", NULL
24006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24009 if (arg2
== NULL
) {
24010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTreeItemData
, 0);
24026 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24029 wxTreeItemId
*arg2
= 0 ;
24031 PyObject
* obj0
= 0 ;
24032 PyObject
* obj1
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self",(char *) "item", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24040 if (arg2
== NULL
) {
24041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= result
;
24057 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24060 wxTreeItemId
*arg2
= 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "item", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24071 if (arg2
== NULL
) {
24072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 wxColour
* resultptr
;
24083 resultptr
= new wxColour((wxColour
&) result
);
24084 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24092 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24095 wxTreeItemId
*arg2
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "item", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24106 if (arg2
== NULL
) {
24107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 wxColour
* resultptr
;
24118 resultptr
= new wxColour((wxColour
&) result
);
24119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
24127 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24130 wxTreeItemId
*arg2
= 0 ;
24132 PyObject
* obj0
= 0 ;
24133 PyObject
* obj1
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "item", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24141 if (arg2
== NULL
) {
24142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24152 wxFont
* resultptr
;
24153 resultptr
= new wxFont((wxFont
&) result
);
24154 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
24162 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24165 wxTreeItemId
*arg2
= 0 ;
24166 wxString
*arg3
= 0 ;
24167 bool temp3
= False
;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 PyObject
* obj2
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "item",(char *) "text", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24178 if (arg2
== NULL
) {
24179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24182 arg3
= wxString_in_helper(obj2
);
24183 if (arg3
== NULL
) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24193 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24211 wxTreeItemId
*arg2
= 0 ;
24213 int arg4
= (int) wxTreeItemIcon_Normal
;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 PyObject
* obj2
= 0 ;
24217 PyObject
* obj3
= 0 ;
24218 char *kwnames
[] = {
24219 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24224 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24225 if (arg2
== NULL
) {
24226 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24229 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24234 arg4
= (wxTreeItemIcon
) SWIG_PyObj_AsInt(obj3
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 Py_INCREF(Py_None
); resultobj
= Py_None
;
24252 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24255 wxTreeItemId
*arg2
= 0 ;
24256 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 PyObject
* obj1
= 0 ;
24259 PyObject
* obj2
= 0 ;
24260 char *kwnames
[] = {
24261 (char *) "self",(char *) "item",(char *) "data", NULL
24264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24267 if (arg2
== NULL
) {
24268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24270 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24275 wxPyEndAllowThreads(__tstate
);
24276 if (PyErr_Occurred()) SWIG_fail
;
24278 Py_INCREF(Py_None
); resultobj
= Py_None
;
24285 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24288 wxTreeItemId
*arg2
= 0 ;
24289 PyObject
*arg3
= (PyObject
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 char *kwnames
[] = {
24294 (char *) "self",(char *) "item",(char *) "obj", NULL
24297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24299 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24300 if (arg2
== NULL
) {
24301 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 Py_INCREF(Py_None
); resultobj
= Py_None
;
24318 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24321 wxTreeItemId
*arg2
= 0 ;
24322 bool arg3
= (bool) True
;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "item",(char *) "has", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24332 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24333 if (arg2
== NULL
) {
24334 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24338 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 Py_INCREF(Py_None
); resultobj
= Py_None
;
24356 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24359 wxTreeItemId
*arg2
= 0 ;
24360 bool arg3
= (bool) True
;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 PyObject
* obj2
= 0 ;
24364 char *kwnames
[] = {
24365 (char *) "self",(char *) "item",(char *) "bold", NULL
24368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24370 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24371 if (arg2
== NULL
) {
24372 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24376 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 Py_INCREF(Py_None
); resultobj
= Py_None
;
24394 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24397 wxTreeItemId
*arg2
= 0 ;
24398 wxColour
*arg3
= 0 ;
24400 PyObject
* obj0
= 0 ;
24401 PyObject
* obj1
= 0 ;
24402 PyObject
* obj2
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self",(char *) "item",(char *) "col", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24410 if (arg2
== NULL
) {
24411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24415 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 Py_INCREF(Py_None
); resultobj
= Py_None
;
24431 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24434 wxTreeItemId
*arg2
= 0 ;
24435 wxColour
*arg3
= 0 ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "item",(char *) "col", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24447 if (arg2
== NULL
) {
24448 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24452 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24456 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24461 Py_INCREF(Py_None
); resultobj
= Py_None
;
24468 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
;
24470 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24471 wxTreeItemId
*arg2
= 0 ;
24473 PyObject
* obj0
= 0 ;
24474 PyObject
* obj1
= 0 ;
24475 PyObject
* obj2
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self",(char *) "item",(char *) "font", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24482 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24483 if (arg2
== NULL
) {
24484 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24486 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24487 if (arg3
== NULL
) {
24488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24497 Py_INCREF(Py_None
); resultobj
= Py_None
;
24504 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24505 PyObject
*resultobj
;
24506 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24507 wxTreeItemId
*arg2
= 0 ;
24509 PyObject
* obj0
= 0 ;
24510 PyObject
* obj1
= 0 ;
24511 char *kwnames
[] = {
24512 (char *) "self",(char *) "item", NULL
24515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24517 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24518 if (arg2
== NULL
) {
24519 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24535 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24536 PyObject
*resultobj
;
24537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24538 wxTreeItemId
*arg2
= 0 ;
24540 PyObject
* obj0
= 0 ;
24541 PyObject
* obj1
= 0 ;
24542 char *kwnames
[] = {
24543 (char *) "self",(char *) "item", NULL
24546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
24547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24549 if (arg2
== NULL
) {
24550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24554 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24569 wxTreeItemId
*arg2
= 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "item", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24580 if (arg2
== NULL
) {
24581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24597 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24600 wxTreeItemId
*arg2
= 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self",(char *) "item", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24610 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24611 if (arg2
== NULL
) {
24612 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24616 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24628 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
;
24630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24631 wxTreeItemId
*arg2
= 0 ;
24633 PyObject
* obj0
= 0 ;
24634 PyObject
* obj1
= 0 ;
24635 char *kwnames
[] = {
24636 (char *) "self",(char *) "item", NULL
24639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
24640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24642 if (arg2
== NULL
) {
24643 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24659 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24662 wxTreeItemId
*arg2
= 0 ;
24663 bool arg3
= (bool) True
;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 PyObject
* obj2
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "item",(char *) "recursively", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24675 if (arg2
== NULL
) {
24676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24680 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_PyObj_FromUnsignedLong((unsigned long)result
);
24698 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24701 wxTreeItemId result
;
24702 PyObject
* obj0
= 0 ;
24703 char *kwnames
[] = {
24704 (char *) "self", NULL
24707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
24708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 wxTreeItemId
* resultptr
;
24718 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24719 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24727 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24728 PyObject
*resultobj
;
24729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24730 wxTreeItemId result
;
24731 PyObject
* obj0
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24740 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
24742 wxPyEndAllowThreads(__tstate
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 wxTreeItemId
* resultptr
;
24747 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24748 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24756 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
;
24758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24760 PyObject
* obj0
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
24766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
24771 wxPyEndAllowThreads(__tstate
);
24772 if (PyErr_Occurred()) SWIG_fail
;
24774 resultobj
= result
;
24781 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
;
24783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24784 wxTreeItemId
*arg2
= 0 ;
24785 wxTreeItemId result
;
24786 PyObject
* obj0
= 0 ;
24787 PyObject
* obj1
= 0 ;
24788 char *kwnames
[] = {
24789 (char *) "self",(char *) "item", NULL
24792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
24793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24794 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24795 if (arg2
== NULL
) {
24796 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24806 wxTreeItemId
* resultptr
;
24807 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24816 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24819 wxTreeItemId
*arg2
= 0 ;
24821 PyObject
* obj0
= 0 ;
24822 PyObject
* obj1
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self",(char *) "item", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24829 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24830 if (arg2
== NULL
) {
24831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= result
;
24847 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24850 wxTreeItemId
*arg2
= 0 ;
24851 void *arg3
= (void *) 0 ;
24853 PyObject
* obj0
= 0 ;
24854 PyObject
* obj1
= 0 ;
24855 PyObject
* obj2
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self",(char *) "item",(char *) "cookie", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24863 if (arg2
== NULL
) {
24864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24866 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24869 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= result
;
24881 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24884 wxTreeItemId
*arg2
= 0 ;
24885 wxTreeItemId result
;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "item", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24894 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24895 if (arg2
== NULL
) {
24896 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24900 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
24902 wxPyEndAllowThreads(__tstate
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24906 wxTreeItemId
* resultptr
;
24907 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24916 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24919 wxTreeItemId
*arg2
= 0 ;
24920 wxTreeItemId result
;
24921 PyObject
* obj0
= 0 ;
24922 PyObject
* obj1
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self",(char *) "item", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24930 if (arg2
== NULL
) {
24931 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 wxTreeItemId
* resultptr
;
24942 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24943 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24951 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24954 wxTreeItemId
*arg2
= 0 ;
24955 wxTreeItemId result
;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "item", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24965 if (arg2
== NULL
) {
24966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24976 wxTreeItemId
* resultptr
;
24977 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
24986 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24989 wxTreeItemId result
;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 wxTreeItemId
* resultptr
;
25006 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25007 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25015 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25018 wxTreeItemId
*arg2
= 0 ;
25019 wxTreeItemId result
;
25020 PyObject
* obj0
= 0 ;
25021 PyObject
* obj1
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "item", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25028 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25029 if (arg2
== NULL
) {
25030 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 wxTreeItemId
* resultptr
;
25041 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25050 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25053 wxTreeItemId
*arg2
= 0 ;
25054 wxTreeItemId result
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self",(char *) "item", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25064 if (arg2
== NULL
) {
25065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25069 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25075 wxTreeItemId
* resultptr
;
25076 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25077 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25085 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25088 wxString
*arg2
= 0 ;
25089 int arg3
= (int) -1 ;
25090 int arg4
= (int) -1 ;
25091 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25092 wxTreeItemId result
;
25093 bool temp2
= False
;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 PyObject
* obj2
= 0 ;
25097 PyObject
* obj3
= 0 ;
25098 PyObject
* obj4
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25106 arg2
= wxString_in_helper(obj1
);
25107 if (arg2
== NULL
) SWIG_fail
;
25112 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25118 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25123 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25127 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25129 wxPyEndAllowThreads(__tstate
);
25130 if (PyErr_Occurred()) SWIG_fail
;
25133 wxTreeItemId
* resultptr
;
25134 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25135 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25151 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25154 wxTreeItemId
*arg2
= 0 ;
25155 wxString
*arg3
= 0 ;
25156 int arg4
= (int) -1 ;
25157 int arg5
= (int) -1 ;
25158 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25159 wxTreeItemId result
;
25160 bool temp3
= False
;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 PyObject
* obj2
= 0 ;
25164 PyObject
* obj3
= 0 ;
25165 PyObject
* obj4
= 0 ;
25166 PyObject
* obj5
= 0 ;
25167 char *kwnames
[] = {
25168 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25174 if (arg2
== NULL
) {
25175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25178 arg3
= wxString_in_helper(obj2
);
25179 if (arg3
== NULL
) SWIG_fail
;
25184 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25190 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25195 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25205 wxTreeItemId
* resultptr
;
25206 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25223 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25226 wxTreeItemId
*arg2
= 0 ;
25227 wxTreeItemId
*arg3
= 0 ;
25228 wxString
*arg4
= 0 ;
25229 int arg5
= (int) -1 ;
25230 int arg6
= (int) -1 ;
25231 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25232 wxTreeItemId result
;
25233 bool temp4
= False
;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 PyObject
* obj2
= 0 ;
25237 PyObject
* obj3
= 0 ;
25238 PyObject
* obj4
= 0 ;
25239 PyObject
* obj5
= 0 ;
25240 PyObject
* obj6
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25248 if (arg2
== NULL
) {
25249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25251 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25252 if (arg3
== NULL
) {
25253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25256 arg4
= wxString_in_helper(obj3
);
25257 if (arg4
== NULL
) SWIG_fail
;
25262 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25268 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25269 if (PyErr_Occurred()) SWIG_fail
;
25273 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25283 wxTreeItemId
* resultptr
;
25284 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25285 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25301 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25304 wxTreeItemId
*arg2
= 0 ;
25306 wxString
*arg4
= 0 ;
25307 int arg5
= (int) -1 ;
25308 int arg6
= (int) -1 ;
25309 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25310 wxTreeItemId result
;
25311 bool temp4
= False
;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 PyObject
* obj2
= 0 ;
25315 PyObject
* obj3
= 0 ;
25316 PyObject
* obj4
= 0 ;
25317 PyObject
* obj5
= 0 ;
25318 PyObject
* obj6
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25326 if (arg2
== NULL
) {
25327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25330 arg3
= (size_t) SWIG_PyObj_AsUnsignedLong(obj2
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25334 arg4
= wxString_in_helper(obj3
);
25335 if (arg4
== NULL
) SWIG_fail
;
25340 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25346 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25351 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 wxTreeItemId
* resultptr
;
25362 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25379 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25382 wxTreeItemId
*arg2
= 0 ;
25383 wxString
*arg3
= 0 ;
25384 int arg4
= (int) -1 ;
25385 int arg5
= (int) -1 ;
25386 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25387 wxTreeItemId result
;
25388 bool temp3
= False
;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 PyObject
* obj2
= 0 ;
25392 PyObject
* obj3
= 0 ;
25393 PyObject
* obj4
= 0 ;
25394 PyObject
* obj5
= 0 ;
25395 char *kwnames
[] = {
25396 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25402 if (arg2
== NULL
) {
25403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25406 arg3
= wxString_in_helper(obj2
);
25407 if (arg3
== NULL
) SWIG_fail
;
25412 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25418 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25423 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxPyTreeItemData
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25433 wxTreeItemId
* resultptr
;
25434 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25451 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
;
25453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25454 wxTreeItemId
*arg2
= 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "item", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25464 if (arg2
== NULL
) {
25465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 Py_INCREF(Py_None
); resultobj
= Py_None
;
25481 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25484 wxTreeItemId
*arg2
= 0 ;
25485 PyObject
* obj0
= 0 ;
25486 PyObject
* obj1
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self",(char *) "item", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25494 if (arg2
== NULL
) {
25495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 Py_INCREF(Py_None
); resultobj
= Py_None
;
25511 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25514 PyObject
* obj0
= 0 ;
25515 char *kwnames
[] = {
25516 (char *) "self", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 (arg1
)->DeleteAllItems();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 Py_INCREF(Py_None
); resultobj
= Py_None
;
25535 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25538 wxTreeItemId
*arg2
= 0 ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self",(char *) "item", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25548 if (arg2
== NULL
) {
25549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25553 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
25555 wxPyEndAllowThreads(__tstate
);
25556 if (PyErr_Occurred()) SWIG_fail
;
25558 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25568 wxTreeItemId
*arg2
= 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char *kwnames
[] = {
25572 (char *) "self",(char *) "item", NULL
25575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
25576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25578 if (arg2
== NULL
) {
25579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25598 wxTreeItemId
*arg2
= 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "item", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25608 if (arg2
== NULL
) {
25609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 Py_INCREF(Py_None
); resultobj
= Py_None
;
25625 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25626 PyObject
*resultobj
;
25627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25628 wxTreeItemId
*arg2
= 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "item", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 Py_INCREF(Py_None
); resultobj
= Py_None
;
25655 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25656 PyObject
*resultobj
;
25657 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25658 PyObject
* obj0
= 0 ;
25659 char *kwnames
[] = {
25660 (char *) "self", NULL
25663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
25664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 (arg1
)->Unselect();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 Py_INCREF(Py_None
); resultobj
= Py_None
;
25679 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25682 wxTreeItemId
*arg2
= 0 ;
25683 PyObject
* obj0
= 0 ;
25684 PyObject
* obj1
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self",(char *) "item", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25692 if (arg2
== NULL
) {
25693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25712 PyObject
* obj0
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->UnselectAll();
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25736 wxTreeItemId
*arg2
= 0 ;
25737 bool arg3
= (bool) True
;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 PyObject
* obj2
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "item",(char *) "select", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25748 if (arg2
== NULL
) {
25749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25753 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 Py_INCREF(Py_None
); resultobj
= Py_None
;
25771 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
;
25773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25774 wxTreeItemId
*arg2
= 0 ;
25775 PyObject
* obj0
= 0 ;
25776 PyObject
* obj1
= 0 ;
25777 char *kwnames
[] = {
25778 (char *) "self",(char *) "item", NULL
25781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
25782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25784 if (arg2
== NULL
) {
25785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 Py_INCREF(Py_None
); resultobj
= Py_None
;
25801 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25804 wxTreeItemId
*arg2
= 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "item", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25814 if (arg2
== NULL
) {
25815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25819 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25834 wxTreeItemId
*arg2
= 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "item", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25844 if (arg2
== NULL
) {
25845 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 Py_INCREF(Py_None
); resultobj
= Py_None
;
25861 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25864 wxTreeItemId
*arg2
= 0 ;
25865 PyObject
* obj0
= 0 ;
25866 PyObject
* obj1
= 0 ;
25867 char *kwnames
[] = {
25868 (char *) "self",(char *) "item", NULL
25871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25874 if (arg2
== NULL
) {
25875 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 Py_INCREF(Py_None
); resultobj
= Py_None
;
25891 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25894 wxTextCtrl
*result
;
25895 PyObject
* obj0
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
25901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= wxPyMake_wxObject(result
);
25918 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25919 PyObject
*resultobj
;
25920 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25921 wxTreeItemId
*arg2
= 0 ;
25922 PyObject
* obj0
= 0 ;
25923 PyObject
* obj1
= 0 ;
25924 char *kwnames
[] = {
25925 (char *) "self",(char *) "item", NULL
25928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25930 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25931 if (arg2
== NULL
) {
25932 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25941 Py_INCREF(Py_None
); resultobj
= Py_None
;
25948 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25949 PyObject
*resultobj
;
25950 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25951 wxPoint
*arg2
= 0 ;
25953 wxTreeItemId result
;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "point", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25967 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25971 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
25973 wxPyEndAllowThreads(__tstate
);
25974 if (PyErr_Occurred()) SWIG_fail
;
25977 wxTreeItemId
* resultptr
;
25978 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
25982 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25983 resultobj
= t_output_helper(resultobj
,o
);
25991 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25994 wxTreeItemId
*arg2
= 0 ;
25995 bool arg3
= (bool) False
;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 PyObject
* obj2
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 if (arg2
== NULL
) {
26008 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
26012 arg3
= (bool) SWIG_PyObj_AsBool(obj2
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= result
;
26030 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26033 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26035 return Py_BuildValue((char *)"");
26037 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
26038 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26043 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26048 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26050 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26057 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26058 PyObject
*resultobj
;
26059 wxWindow
*arg1
= (wxWindow
*) 0 ;
26060 int arg2
= (int) (int)-1 ;
26061 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26062 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26063 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26064 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26065 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26066 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26067 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26068 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26069 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26070 int arg8
= (int) 0 ;
26071 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26072 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26073 wxGenericDirCtrl
*result
;
26074 bool temp3
= False
;
26077 bool temp7
= False
;
26078 bool temp9
= False
;
26079 PyObject
* obj0
= 0 ;
26080 PyObject
* obj1
= 0 ;
26081 PyObject
* obj2
= 0 ;
26082 PyObject
* obj3
= 0 ;
26083 PyObject
* obj4
= 0 ;
26084 PyObject
* obj5
= 0 ;
26085 PyObject
* obj6
= 0 ;
26086 PyObject
* obj7
= 0 ;
26087 PyObject
* obj8
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26096 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26102 arg3
= wxString_in_helper(obj2
);
26103 if (arg3
== NULL
) SWIG_fail
;
26110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26121 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26127 arg7
= wxString_in_helper(obj6
);
26128 if (arg7
== NULL
) SWIG_fail
;
26134 arg8
= (int) SWIG_PyObj_AsInt(obj7
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26140 arg9
= wxString_in_helper(obj8
);
26141 if (arg9
== NULL
) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26183 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxGenericDirCtrl
*result
;
26186 char *kwnames
[] = {
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDirCtrl
, 1);
26205 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26208 wxWindow
*arg2
= (wxWindow
*) 0 ;
26209 int arg3
= (int) (int)-1 ;
26210 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26211 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26212 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26213 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26214 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26215 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26216 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26217 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26218 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26219 int arg9
= (int) 0 ;
26220 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26221 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26223 bool temp4
= False
;
26226 bool temp8
= False
;
26227 bool temp10
= False
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 PyObject
* obj2
= 0 ;
26231 PyObject
* obj3
= 0 ;
26232 PyObject
* obj4
= 0 ;
26233 PyObject
* obj5
= 0 ;
26234 PyObject
* obj6
= 0 ;
26235 PyObject
* obj7
= 0 ;
26236 PyObject
* obj8
= 0 ;
26237 PyObject
* obj9
= 0 ;
26238 char *kwnames
[] = {
26239 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26244 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26247 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
26248 if (PyErr_Occurred()) SWIG_fail
;
26253 arg4
= wxString_in_helper(obj3
);
26254 if (arg4
== NULL
) SWIG_fail
;
26261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26272 arg7
= (long) SWIG_PyObj_AsLong(obj6
);
26273 if (PyErr_Occurred()) SWIG_fail
;
26278 arg8
= wxString_in_helper(obj7
);
26279 if (arg8
== NULL
) SWIG_fail
;
26285 arg9
= (int) SWIG_PyObj_AsInt(obj8
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26291 arg10
= wxString_in_helper(obj9
);
26292 if (arg10
== NULL
) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26334 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26335 PyObject
*resultobj
;
26336 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26337 wxString
*arg2
= 0 ;
26339 bool temp2
= False
;
26340 PyObject
* obj0
= 0 ;
26341 PyObject
* obj1
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "path", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26349 arg2
= wxString_in_helper(obj1
);
26350 if (arg2
== NULL
) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26379 PyObject
* obj0
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
26385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26406 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26407 PyObject
*resultobj
;
26408 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26409 wxString
*arg2
= 0 ;
26410 bool temp2
= False
;
26411 PyObject
* obj0
= 0 ;
26412 PyObject
* obj1
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self",(char *) "path", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26420 arg2
= wxString_in_helper(obj1
);
26421 if (arg2
== NULL
) SWIG_fail
;
26425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26426 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
26428 wxPyEndAllowThreads(__tstate
);
26429 if (PyErr_Occurred()) SWIG_fail
;
26431 Py_INCREF(Py_None
); resultobj
= Py_None
;
26446 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 char *kwnames
[] = {
26452 (char *) "self", NULL
26455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
26456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26477 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 char *kwnames
[] = {
26483 (char *) "self", NULL
26486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
26487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26508 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26509 PyObject
*resultobj
;
26510 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26511 wxString
*arg2
= 0 ;
26512 bool temp2
= False
;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "path", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26522 arg2
= wxString_in_helper(obj1
);
26523 if (arg2
== NULL
) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 (arg1
)->SetPath((wxString
const &)*arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 Py_INCREF(Py_None
); resultobj
= Py_None
;
26548 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 PyObject
* obj1
= 0 ;
26554 char *kwnames
[] = {
26555 (char *) "self",(char *) "show", NULL
26558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
26559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26561 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 (arg1
)->ShowHidden(arg2
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 Py_INCREF(Py_None
); resultobj
= Py_None
;
26578 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26582 PyObject
* obj0
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (bool)(arg1
)->GetShowHidden();
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26603 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26634 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26637 wxString
*arg2
= 0 ;
26638 bool temp2
= False
;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "self",(char *) "filter", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
26646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26648 arg2
= wxString_in_helper(obj1
);
26649 if (arg2
== NULL
) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 (arg1
)->SetFilter((wxString
const &)*arg2
);
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 Py_INCREF(Py_None
); resultobj
= Py_None
;
26674 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26678 PyObject
* obj0
= 0 ;
26679 char *kwnames
[] = {
26680 (char *) "self", NULL
26683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
26684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_PyObj_FromInt((int)result
);
26699 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
;
26701 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 char *kwnames
[] = {
26706 (char *) "self",(char *) "n", NULL
26709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
26710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26712 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 (arg1
)->SetFilterIndex(arg2
);
26719 wxPyEndAllowThreads(__tstate
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26722 Py_INCREF(Py_None
); resultobj
= Py_None
;
26729 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26730 PyObject
*resultobj
;
26731 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26732 wxTreeItemId result
;
26733 PyObject
* obj0
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26742 result
= (arg1
)->GetRootId();
26744 wxPyEndAllowThreads(__tstate
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26748 wxTreeItemId
* resultptr
;
26749 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26758 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26761 wxPyTreeCtrl
*result
;
26762 PyObject
* obj0
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26771 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
26773 wxPyEndAllowThreads(__tstate
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26777 resultobj
= wxPyMake_wxObject(result
);
26785 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
;
26787 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26788 wxDirFilterListCtrl
*result
;
26789 PyObject
* obj0
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26798 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
26800 wxPyEndAllowThreads(__tstate
);
26801 if (PyErr_Occurred()) SWIG_fail
;
26803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 0);
26810 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26811 PyObject
*resultobj
;
26812 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26813 wxTreeItemId arg2
;
26814 wxString
*arg3
= 0 ;
26816 wxTreeItemId result
;
26817 wxTreeItemId
*argp2
;
26818 bool temp3
= False
;
26820 PyObject
* obj0
= 0 ;
26821 PyObject
* obj1
= 0 ;
26822 PyObject
* obj2
= 0 ;
26823 char *kwnames
[] = {
26824 (char *) "self",(char *) "parentId",(char *) "path", NULL
26828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26830 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
26833 arg3
= wxString_in_helper(obj2
);
26834 if (arg3
== NULL
) SWIG_fail
;
26838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26839 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26845 wxTreeItemId
* resultptr
;
26846 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26847 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTreeItemId
, 1);
26850 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26851 resultobj
= t_output_helper(resultobj
,o
);
26867 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26870 PyObject
* obj0
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->DoResize();
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 Py_INCREF(Py_None
); resultobj
= Py_None
;
26891 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
;
26893 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26894 PyObject
* obj0
= 0 ;
26895 char *kwnames
[] = {
26896 (char *) "self", NULL
26899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
26900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 (arg1
)->ReCreateTree();
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 Py_INCREF(Py_None
); resultobj
= Py_None
;
26915 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26918 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
26920 return Py_BuildValue((char *)"");
26922 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26923 PyObject
*resultobj
;
26924 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26925 int arg2
= (int) (int)-1 ;
26926 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26927 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26928 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26929 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26930 long arg5
= (long) 0 ;
26931 wxDirFilterListCtrl
*result
;
26934 PyObject
* obj0
= 0 ;
26935 PyObject
* obj1
= 0 ;
26936 PyObject
* obj2
= 0 ;
26937 PyObject
* obj3
= 0 ;
26938 PyObject
* obj4
= 0 ;
26939 char *kwnames
[] = {
26940 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26947 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26954 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26960 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26965 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
26983 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxDirFilterListCtrl
*result
;
26986 char *kwnames
[] = {
26990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27005 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27008 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27009 int arg3
= (int) (int)-1 ;
27010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27014 long arg6
= (long) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 PyObject
* obj2
= 0 ;
27021 PyObject
* obj3
= 0 ;
27022 PyObject
* obj4
= 0 ;
27023 PyObject
* obj5
= 0 ;
27024 char *kwnames
[] = {
27025 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27030 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGenericDirCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27033 arg3
= (int const) SWIG_PyObj_AsInt(obj2
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27040 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27046 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27051 arg6
= (long) SWIG_PyObj_AsLong(obj5
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27069 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27072 wxString
*arg2
= 0 ;
27074 bool temp2
= False
;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 PyObject
* obj2
= 0 ;
27078 char *kwnames
[] = {
27079 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDirFilterListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27085 arg2
= wxString_in_helper(obj1
);
27086 if (arg2
== NULL
) SWIG_fail
;
27090 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 Py_INCREF(Py_None
); resultobj
= Py_None
;
27115 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27118 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27120 return Py_BuildValue((char *)"");
27122 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxWindow
*arg1
= (wxWindow
*) 0 ;
27126 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27127 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27128 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27129 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27130 long arg5
= (long) 0 ;
27131 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27132 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27133 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27134 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27135 wxPyControl
*result
;
27138 bool temp7
= False
;
27139 PyObject
* obj0
= 0 ;
27140 PyObject
* obj1
= 0 ;
27141 PyObject
* obj2
= 0 ;
27142 PyObject
* obj3
= 0 ;
27143 PyObject
* obj4
= 0 ;
27144 PyObject
* obj5
= 0 ;
27145 PyObject
* obj6
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27153 arg2
= (int const) SWIG_PyObj_AsInt(obj1
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27159 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27165 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27170 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27175 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27176 if (arg6
== NULL
) {
27177 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
27182 arg7
= wxString_in_helper(obj6
);
27183 if (arg7
== NULL
) SWIG_fail
;
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27191 wxPyEndAllowThreads(__tstate
);
27192 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyControl
, 1);
27209 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27212 PyObject
*arg2
= (PyObject
*) 0 ;
27213 PyObject
*arg3
= (PyObject
*) 0 ;
27214 PyObject
* obj0
= 0 ;
27215 PyObject
* obj1
= 0 ;
27216 PyObject
* obj2
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self",(char *) "self",(char *) "_class", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 Py_INCREF(Py_None
); resultobj
= Py_None
;
27239 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
;
27241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27246 PyObject
* obj0
= 0 ;
27247 PyObject
* obj1
= 0 ;
27248 PyObject
* obj2
= 0 ;
27249 PyObject
* obj3
= 0 ;
27250 PyObject
* obj4
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27262 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 Py_INCREF(Py_None
); resultobj
= Py_None
;
27287 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27288 PyObject
*resultobj
;
27289 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27294 int arg6
= (int) wxSIZE_AUTO
;
27295 PyObject
* obj0
= 0 ;
27296 PyObject
* obj1
= 0 ;
27297 PyObject
* obj2
= 0 ;
27298 PyObject
* obj3
= 0 ;
27299 PyObject
* obj4
= 0 ;
27300 PyObject
* obj5
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27308 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27312 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27316 arg4
= (int) SWIG_PyObj_AsInt(obj3
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 arg5
= (int) SWIG_PyObj_AsInt(obj4
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 arg6
= (int) SWIG_PyObj_AsInt(obj5
);
27326 if (PyErr_Occurred()) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27348 PyObject
* obj0
= 0 ;
27349 PyObject
* obj1
= 0 ;
27350 PyObject
* obj2
= 0 ;
27351 char *kwnames
[] = {
27352 (char *) "self",(char *) "width",(char *) "height", NULL
27355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27358 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27362 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
27369 wxPyEndAllowThreads(__tstate
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27372 Py_INCREF(Py_None
); resultobj
= Py_None
;
27379 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27380 PyObject
*resultobj
;
27381 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27384 PyObject
* obj0
= 0 ;
27385 PyObject
* obj1
= 0 ;
27386 PyObject
* obj2
= 0 ;
27387 char *kwnames
[] = {
27388 (char *) "self",(char *) "x",(char *) "y", NULL
27391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27394 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27398 arg3
= (int) SWIG_PyObj_AsInt(obj2
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27403 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
27405 wxPyEndAllowThreads(__tstate
);
27406 if (PyErr_Occurred()) SWIG_fail
;
27408 Py_INCREF(Py_None
); resultobj
= Py_None
;
27415 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27416 PyObject
*resultobj
;
27417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27418 int *arg2
= (int *) 0 ;
27419 int *arg3
= (int *) 0 ;
27422 PyObject
* obj0
= 0 ;
27423 char *kwnames
[] = {
27424 (char *) "self", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
27430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 Py_INCREF(Py_None
); resultobj
= Py_None
;
27440 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27441 resultobj
= t_output_helper(resultobj
,o
);
27444 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27445 resultobj
= t_output_helper(resultobj
,o
);
27453 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27456 int *arg2
= (int *) 0 ;
27457 int *arg3
= (int *) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self", NULL
27467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
27468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
27473 wxPyEndAllowThreads(__tstate
);
27474 if (PyErr_Occurred()) SWIG_fail
;
27476 Py_INCREF(Py_None
); resultobj
= Py_None
;
27478 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27479 resultobj
= t_output_helper(resultobj
,o
);
27482 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27483 resultobj
= t_output_helper(resultobj
,o
);
27491 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27494 int *arg2
= (int *) 0 ;
27495 int *arg3
= (int *) 0 ;
27498 PyObject
* obj0
= 0 ;
27499 char *kwnames
[] = {
27500 (char *) "self", NULL
27505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
27506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
27517 resultobj
= t_output_helper(resultobj
,o
);
27520 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27521 resultobj
= t_output_helper(resultobj
,o
);
27529 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27548 wxSize
* resultptr
;
27549 resultptr
= new wxSize((wxSize
&) result
);
27550 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27558 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 wxSize
* resultptr
;
27578 resultptr
= new wxSize((wxSize
&) result
);
27579 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27587 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27590 PyObject
* obj0
= 0 ;
27591 char *kwnames
[] = {
27592 (char *) "self", NULL
27595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
27596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 (arg1
)->base_InitDialog();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 Py_INCREF(Py_None
); resultobj
= Py_None
;
27611 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27615 PyObject
* obj0
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 result
= (bool)(arg1
)->base_TransferDataToWindow();
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27636 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 result
= (bool)(arg1
)->base_TransferDataFromWindow();
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27661 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27662 PyObject
*resultobj
;
27663 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27665 PyObject
* obj0
= 0 ;
27666 char *kwnames
[] = {
27667 (char *) "self", NULL
27670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
27671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27674 result
= (bool)(arg1
)->base_Validate();
27676 wxPyEndAllowThreads(__tstate
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27686 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27687 PyObject
*resultobj
;
27688 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 char *kwnames
[] = {
27692 (char *) "self", NULL
27695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
27696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27711 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
27721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27724 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27736 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
;
27738 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27740 PyObject
* obj0
= 0 ;
27741 char *kwnames
[] = {
27742 (char *) "self", NULL
27745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
27746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 wxSize
* resultptr
;
27756 resultptr
= new wxSize((wxSize
&) result
);
27757 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
27765 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27766 PyObject
*resultobj
;
27767 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27768 wxWindow
*arg2
= (wxWindow
*) 0 ;
27769 PyObject
* obj0
= 0 ;
27770 PyObject
* obj1
= 0 ;
27771 char *kwnames
[] = {
27772 (char *) "self",(char *) "child", NULL
27775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27780 (arg1
)->base_AddChild(arg2
);
27782 wxPyEndAllowThreads(__tstate
);
27783 if (PyErr_Occurred()) SWIG_fail
;
27785 Py_INCREF(Py_None
); resultobj
= Py_None
;
27792 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27793 PyObject
*resultobj
;
27794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27795 wxWindow
*arg2
= (wxWindow
*) 0 ;
27796 PyObject
* obj0
= 0 ;
27797 PyObject
* obj1
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self",(char *) "child", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 (arg1
)->base_RemoveChild(arg2
);
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 Py_INCREF(Py_None
); resultobj
= Py_None
;
27819 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
27821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27822 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
27824 return Py_BuildValue((char *)"");
27826 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27827 PyObject
*resultobj
;
27828 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27829 int arg2
= (int) 0 ;
27830 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27831 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27832 wxHelpEvent
*result
;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 PyObject
* obj2
= 0 ;
27837 char *kwnames
[] = {
27838 (char *) "type",(char *) "winid",(char *) "pt", NULL
27841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27844 arg1
= (wxEventType
) SWIG_PyObj_AsInt(obj0
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27850 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpEvent
, 1);
27874 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 wxPoint
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetPosition();
27889 result
= (wxPoint
*) &_result_ref
;
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
27902 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27905 wxPoint
*arg2
= 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char *kwnames
[] = {
27910 (char *) "self",(char *) "pos", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 Py_INCREF(Py_None
); resultobj
= Py_None
;
27933 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27937 PyObject
* obj0
= 0 ;
27938 char *kwnames
[] = {
27939 (char *) "self", NULL
27942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
27943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
27948 result
= (wxString
*) &_result_ref
;
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27958 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27967 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
27970 wxString
*arg2
= 0 ;
27971 bool temp2
= False
;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "self",(char *) "link", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27981 arg2
= wxString_in_helper(obj1
);
27982 if (arg2
== NULL
) SWIG_fail
;
27986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27987 (arg1
)->SetLink((wxString
const &)*arg2
);
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 Py_INCREF(Py_None
); resultobj
= Py_None
;
28007 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28011 PyObject
* obj0
= 0 ;
28012 char *kwnames
[] = {
28013 (char *) "self", NULL
28016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28022 result
= (wxString
*) &_result_ref
;
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28032 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28041 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28044 wxString
*arg2
= 0 ;
28045 bool temp2
= False
;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 char *kwnames
[] = {
28049 (char *) "self",(char *) "target", NULL
28052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28055 arg2
= wxString_in_helper(obj1
);
28056 if (arg2
== NULL
) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->SetTarget((wxString
const &)*arg2
);
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 Py_INCREF(Py_None
); resultobj
= Py_None
;
28081 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28084 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28086 return Py_BuildValue((char *)"");
28088 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxWindow
*arg1
= (wxWindow
*) NULL
;
28091 bool arg2
= (bool) True
;
28092 wxContextHelp
*result
;
28093 PyObject
* obj0
= 0 ;
28094 PyObject
* obj1
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "window",(char *) "doNow", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28105 arg2
= (bool) SWIG_PyObj_AsBool(obj1
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelp
, 1);
28123 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28126 PyObject
* obj0
= 0 ;
28127 char *kwnames
[] = {
28128 (char *) "self", NULL
28131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28147 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28150 wxWindow
*arg2
= (wxWindow
*) NULL
;
28152 PyObject
* obj0
= 0 ;
28153 PyObject
* obj1
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self",(char *) "window", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28161 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28177 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28181 PyObject
* obj0
= 0 ;
28182 char *kwnames
[] = {
28183 (char *) "self", NULL
28186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextHelp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (bool)(arg1
)->EndContextHelp();
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28202 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28205 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28207 return Py_BuildValue((char *)"");
28209 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxWindow
*arg1
= (wxWindow
*) 0 ;
28212 int arg2
= (int) wxID_CONTEXT_HELP
;
28213 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28214 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28215 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28216 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28217 long arg5
= (long) wxBU_AUTODRAW
;
28218 wxContextHelpButton
*result
;
28221 PyObject
* obj0
= 0 ;
28222 PyObject
* obj1
= 0 ;
28223 PyObject
* obj2
= 0 ;
28224 PyObject
* obj3
= 0 ;
28225 PyObject
* obj4
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28234 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28252 arg5
= (long) SWIG_PyObj_AsLong(obj4
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28260 wxPyEndAllowThreads(__tstate
);
28261 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextHelpButton
, 1);
28270 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
28272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28273 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
28275 return Py_BuildValue((char *)"");
28277 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28278 PyObject
*resultobj
;
28279 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28280 wxHelpProvider
*result
;
28281 PyObject
* obj0
= 0 ;
28282 char *kwnames
[] = {
28283 (char *) "helpProvider", NULL
28286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
28287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28290 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
28292 wxPyEndAllowThreads(__tstate
);
28293 if (PyErr_Occurred()) SWIG_fail
;
28295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28302 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28303 PyObject
*resultobj
;
28304 wxHelpProvider
*result
;
28305 char *kwnames
[] = {
28309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 result
= (wxHelpProvider
*)wxHelpProvider::Get();
28314 wxPyEndAllowThreads(__tstate
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxHelpProvider
, 0);
28324 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28327 wxWindow
*arg2
= (wxWindow
*) 0 ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 char *kwnames
[] = {
28332 (char *) "self",(char *) "window", NULL
28335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28358 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
;
28360 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28361 wxWindow
*arg2
= (wxWindow
*) 0 ;
28363 PyObject
* obj0
= 0 ;
28364 PyObject
* obj1
= 0 ;
28365 char *kwnames
[] = {
28366 (char *) "self",(char *) "window", NULL
28369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28371 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28374 result
= (bool)(arg1
)->ShowHelp(arg2
);
28376 wxPyEndAllowThreads(__tstate
);
28377 if (PyErr_Occurred()) SWIG_fail
;
28379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28386 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
;
28388 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28389 wxWindow
*arg2
= (wxWindow
*) 0 ;
28390 wxString
*arg3
= 0 ;
28391 bool temp3
= False
;
28392 PyObject
* obj0
= 0 ;
28393 PyObject
* obj1
= 0 ;
28394 PyObject
* obj2
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "window",(char *) "text", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28403 arg3
= wxString_in_helper(obj2
);
28404 if (arg3
== NULL
) SWIG_fail
;
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28411 wxPyEndAllowThreads(__tstate
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28414 Py_INCREF(Py_None
); resultobj
= Py_None
;
28429 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
;
28431 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28433 wxString
*arg3
= 0 ;
28434 bool temp3
= False
;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 PyObject
* obj2
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self",(char *) "id",(char *) "text", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28445 arg2
= (int) SWIG_PyObj_AsInt(obj1
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 arg3
= wxString_in_helper(obj2
);
28450 if (arg3
== NULL
) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 Py_INCREF(Py_None
); resultobj
= Py_None
;
28475 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxHelpProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28487 wxHelpProvider_Destroy(arg1
);
28489 wxPyEndAllowThreads(__tstate
);
28490 if (PyErr_Occurred()) SWIG_fail
;
28492 Py_INCREF(Py_None
); resultobj
= Py_None
;
28499 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28502 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
28504 return Py_BuildValue((char *)"");
28506 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28507 PyObject
*resultobj
;
28508 wxSimpleHelpProvider
*result
;
28509 char *kwnames
[] = {
28513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSimpleHelpProvider
, 1);
28528 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
28530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28531 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
28533 return Py_BuildValue((char *)"");
28535 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxBitmap
*arg1
= 0 ;
28538 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28539 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28540 wxGenericDragImage
*result
;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj1
= 0 ;
28543 char *kwnames
[] = {
28544 (char *) "image",(char *) "cursor", NULL
28547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
28548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28549 if (arg1
== NULL
) {
28550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28554 if (arg2
== NULL
) {
28555 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28572 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28575 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28576 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28577 wxGenericDragImage
*result
;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 char *kwnames
[] = {
28581 (char *) "image",(char *) "cursor", NULL
28584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
28585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28586 if (arg1
== NULL
) {
28587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28591 if (arg2
== NULL
) {
28592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28609 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
;
28611 wxString
*arg1
= 0 ;
28612 wxCursor
const &arg2_defvalue
= wxNullCursor
;
28613 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
28614 wxGenericDragImage
*result
;
28615 bool temp1
= False
;
28616 PyObject
* obj0
= 0 ;
28617 PyObject
* obj1
= 0 ;
28618 char *kwnames
[] = {
28619 (char *) "str",(char *) "cursor", NULL
28622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
28624 arg1
= wxString_in_helper(obj0
);
28625 if (arg1
== NULL
) SWIG_fail
;
28629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28630 if (arg2
== NULL
) {
28631 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28656 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxPyTreeCtrl
*arg1
= 0 ;
28659 wxTreeItemId
*arg2
= 0 ;
28660 wxGenericDragImage
*result
;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 char *kwnames
[] = {
28664 (char *) "treeCtrl",(char *) "id", NULL
28667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTreeCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28669 if (arg1
== NULL
) {
28670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTreeItemId
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28673 if (arg2
== NULL
) {
28674 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28690 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
;
28692 wxPyListCtrl
*arg1
= 0 ;
28694 wxGenericDragImage
*result
;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 char *kwnames
[] = {
28698 (char *) "listCtrl",(char *) "id", NULL
28701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyListCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28703 if (arg1
== NULL
) {
28704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28707 arg2
= (long) SWIG_PyObj_AsLong(obj1
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
28714 wxPyEndAllowThreads(__tstate
);
28715 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGenericDragImage
, 1);
28724 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28725 PyObject
*resultobj
;
28726 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 char *kwnames
[] = {
28729 (char *) "self", NULL
28732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
28733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 wxPyEndAllowThreads(__tstate
);
28739 if (PyErr_Occurred()) SWIG_fail
;
28741 Py_INCREF(Py_None
); resultobj
= Py_None
;
28748 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28749 PyObject
*resultobj
;
28750 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28751 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "bitmap", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->SetBackingBitmap(arg2
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 Py_INCREF(Py_None
); resultobj
= Py_None
;
28775 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28778 wxPoint
*arg2
= 0 ;
28779 wxWindow
*arg3
= (wxWindow
*) 0 ;
28780 bool arg4
= (bool) False
;
28781 wxRect
*arg5
= (wxRect
*) NULL
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 PyObject
* obj2
= 0 ;
28787 PyObject
* obj3
= 0 ;
28788 PyObject
* obj4
= 0 ;
28789 char *kwnames
[] = {
28790 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
28793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28799 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28802 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28807 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28823 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28826 wxPoint
*arg2
= 0 ;
28827 wxWindow
*arg3
= (wxWindow
*) 0 ;
28828 wxWindow
*arg4
= (wxWindow
*) 0 ;
28831 PyObject
* obj0
= 0 ;
28832 PyObject
* obj1
= 0 ;
28833 PyObject
* obj2
= 0 ;
28834 PyObject
* obj3
= 0 ;
28835 char *kwnames
[] = {
28836 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
28839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28843 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28845 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28846 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28861 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28865 PyObject
* obj0
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28874 result
= (bool)(arg1
)->EndDrag();
28876 wxPyEndAllowThreads(__tstate
);
28877 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28886 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28887 PyObject
*resultobj
;
28888 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28889 wxPoint
*arg2
= 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "pt", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28902 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28918 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28922 PyObject
* obj0
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
28928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (bool)(arg1
)->Show();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28943 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28944 PyObject
*resultobj
;
28945 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28947 PyObject
* obj0
= 0 ;
28948 char *kwnames
[] = {
28949 (char *) "self", NULL
28952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
28953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 result
= (bool)(arg1
)->Hide();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28968 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28969 PyObject
*resultobj
;
28970 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
28971 wxPoint
*arg2
= 0 ;
28974 PyObject
* obj0
= 0 ;
28975 PyObject
* obj1
= 0 ;
28976 char *kwnames
[] = {
28977 (char *) "self",(char *) "pos", NULL
28980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
28981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 wxRect
* resultptr
;
28995 resultptr
= new wxRect((wxRect
&) result
);
28996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
29004 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29008 wxPoint
*arg3
= 0 ;
29011 PyObject
* obj0
= 0 ;
29012 PyObject
* obj1
= 0 ;
29013 PyObject
* obj2
= 0 ;
29014 char *kwnames
[] = {
29015 (char *) "self",(char *) "dc",(char *) "pos", NULL
29018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29021 if (arg2
== NULL
) {
29022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29026 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29042 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
;
29044 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29046 wxMemoryDC
*arg3
= 0 ;
29052 PyObject
* obj0
= 0 ;
29053 PyObject
* obj1
= 0 ;
29054 PyObject
* obj2
= 0 ;
29055 PyObject
* obj3
= 0 ;
29056 PyObject
* obj4
= 0 ;
29057 char *kwnames
[] = {
29058 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29064 if (arg2
== NULL
) {
29065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29067 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMemoryDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29068 if (arg3
== NULL
) {
29069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29073 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29077 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29081 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29083 wxPyEndAllowThreads(__tstate
);
29084 if (PyErr_Occurred()) SWIG_fail
;
29086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29093 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29094 PyObject
*resultobj
;
29095 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29096 wxPoint
*arg2
= 0 ;
29097 wxPoint
*arg3
= 0 ;
29103 PyObject
* obj0
= 0 ;
29104 PyObject
* obj1
= 0 ;
29105 PyObject
* obj2
= 0 ;
29106 PyObject
* obj3
= 0 ;
29107 PyObject
* obj4
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGenericDragImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29120 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29123 arg4
= (bool) SWIG_PyObj_AsBool(obj3
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29127 arg5
= (bool) SWIG_PyObj_AsBool(obj4
);
29128 if (PyErr_Occurred()) SWIG_fail
;
29131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29132 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29144 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29147 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29149 return Py_BuildValue((char *)"");
29151 static PyMethodDef SwigMethods
[] = {
29152 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29153 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29154 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29155 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29156 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29157 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29158 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29159 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29160 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29161 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29162 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29163 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29164 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29165 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
29166 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
29167 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
29168 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
29169 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29170 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
29171 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
29172 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
29173 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29174 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
29175 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29176 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29177 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29178 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29179 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29180 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
29181 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
29182 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
29183 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
29184 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
29185 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
29186 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
29187 { (char *)"Choice_GetColumns", (PyCFunction
) _wrap_Choice_GetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29188 { (char *)"Choice_SetColumns", (PyCFunction
) _wrap_Choice_SetColumns
, METH_VARARGS
| METH_KEYWORDS
},
29189 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29190 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29191 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29192 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
29193 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29194 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
29195 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29196 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29197 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29198 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29199 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29200 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29201 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29202 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29203 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29204 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29205 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29206 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
29207 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29208 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29209 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29210 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
29211 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
29212 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
29213 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
29214 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29215 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29216 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29217 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29218 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29219 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29220 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
29221 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29222 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
29223 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
29224 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29225 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
29226 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29227 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
29228 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29229 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
29230 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
29231 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29232 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29233 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
29234 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
29235 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
29236 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
29237 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
29238 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29239 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29240 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
29241 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29242 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29243 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
29244 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
29245 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
29246 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
29247 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29248 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
29249 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
29250 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
29251 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29252 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29253 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
29254 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
29255 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29256 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29257 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29258 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
29259 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
29260 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29261 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29262 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
29263 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29264 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29265 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29266 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
29267 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29268 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
29269 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29270 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
29271 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
29272 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29273 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
29274 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
29275 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
29276 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
29277 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
29278 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29279 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29280 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29281 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29282 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29283 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29284 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29285 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29286 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29287 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29288 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29289 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29290 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
29291 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29292 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29293 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
29294 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29295 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29296 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29297 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
29298 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
29299 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
29300 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
29301 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
29302 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
29303 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
29304 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
29305 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29306 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29307 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29308 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29309 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29310 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29311 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
29312 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
29313 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
29314 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
29315 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
29316 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
29317 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
29318 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29319 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29320 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29321 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
29322 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
29323 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
29324 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
29325 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
29326 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
29327 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
29328 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
29329 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
29330 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
29331 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29332 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29333 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29334 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
29335 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
29336 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
29337 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
29338 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29339 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
29340 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
29341 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
29342 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
29343 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
29344 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
29345 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
29346 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
29347 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
29348 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
29349 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29350 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
29351 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
29352 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
29353 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29354 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
29355 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
29356 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
29357 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29358 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
29359 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29360 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
29361 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
29362 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
29363 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
29364 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29365 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
29366 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29367 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29368 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
29369 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29370 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
29371 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29372 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
29373 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
29374 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
29375 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29376 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
29377 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29378 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29379 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29380 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29381 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29382 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29383 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29384 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29385 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29386 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
29387 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29388 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29389 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29390 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29391 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29392 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
29393 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29394 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29395 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29396 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29397 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
29398 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
29399 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29400 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29401 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
29402 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29403 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
29404 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
29405 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29406 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29407 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29408 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
29409 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29410 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
29411 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
29412 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
29413 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
29414 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
29415 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29416 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29417 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29418 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
29419 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29420 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
29421 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29422 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29423 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29424 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
29425 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
29426 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
29427 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
29428 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
29429 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
29430 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
29431 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
29432 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
29433 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
29434 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
29435 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29436 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29437 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
29438 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29439 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29440 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
29441 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29442 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
29443 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
29444 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
29445 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
29446 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
29447 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
29448 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29449 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
29450 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29451 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
29452 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
29453 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
29454 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
29455 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29456 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29457 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
29458 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29459 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29460 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29461 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29462 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
29463 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
29464 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29465 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
29466 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
29467 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
29468 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
29469 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
29470 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29471 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
29472 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
29473 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
29474 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29475 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29476 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29477 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
29478 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
29479 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
29480 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29481 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29482 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
29483 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
29484 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
29485 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29486 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
29487 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
29488 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29489 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
29490 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
29491 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
29492 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
29493 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29494 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
29495 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
29496 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
29497 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
29498 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29499 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29500 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29501 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
29502 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
29503 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
29504 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
29505 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
29506 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
29507 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29508 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
29509 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29510 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
29511 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
29512 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29513 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
29514 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
29515 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29516 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
29517 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
29518 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29519 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29520 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29521 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29522 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29523 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29524 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
29525 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29526 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29527 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29528 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29529 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29530 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29531 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29532 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
29533 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
29534 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29535 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
29536 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
29537 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
29538 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
29539 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29540 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
29541 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
29542 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
29543 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
29544 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29545 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
29546 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
29547 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
29548 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
29549 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
29550 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
29551 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
29552 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
29553 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
29554 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29555 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
29556 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
29557 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
29558 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
29559 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29560 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
29561 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29562 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
29563 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
29564 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29565 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29566 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29567 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
29568 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
29569 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
29570 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
29571 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
29572 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
29573 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
29574 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
29575 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29576 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
29577 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
29578 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29579 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
29580 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
29581 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
29582 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29583 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
29584 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
29585 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
29586 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
29587 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
29588 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29589 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29590 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29591 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29592 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29593 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
29594 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29595 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29596 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29597 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29598 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
29599 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29600 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
29601 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29602 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29603 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
29604 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29605 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29606 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
29607 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
29608 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
29609 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
29610 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29611 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29612 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29613 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29614 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29615 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
29616 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29617 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29618 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29619 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
29620 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29621 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29622 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29623 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29624 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
29625 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29626 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
29627 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29628 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29629 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
29630 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
29631 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
29632 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
29633 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
29634 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29635 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29636 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
29637 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
29638 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
29639 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
29640 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
29641 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
29642 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
29643 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
29644 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
29645 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
29646 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
29647 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
29648 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
29649 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
29650 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
29651 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
29652 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
29653 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
29654 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29655 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29656 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
29657 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
29658 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
29659 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
29660 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
29661 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
29662 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
29663 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29664 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
29665 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29666 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29667 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29668 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
29669 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
29670 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29671 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
29672 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29673 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
29674 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
29675 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29676 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29677 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
29678 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29679 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29680 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29681 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29682 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29683 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29684 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29685 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
29686 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29687 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
29688 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
29689 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
29690 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29691 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29692 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29693 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29694 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
29695 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29696 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29697 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29698 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29699 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29700 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29701 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
29702 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
29703 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29704 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
29705 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29706 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29707 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29708 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29709 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29710 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
29711 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
29712 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
29713 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
29714 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29715 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29716 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29717 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
29718 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
29719 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
29720 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
29721 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
29722 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29723 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
29724 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
29725 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
29726 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29727 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29728 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
29729 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
29730 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
29731 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29732 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29733 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29734 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
29735 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
29736 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
29737 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
29738 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
29739 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
29740 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29741 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29742 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29743 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29744 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
29745 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
29746 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
29747 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
29748 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
29749 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
29750 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
29751 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
29752 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
29753 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
29754 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
29755 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29756 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29757 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
29758 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
29759 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29760 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
29761 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29762 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29763 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29764 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
29765 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
29766 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
29767 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
29768 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29769 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29770 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
29771 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
29772 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29773 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
29774 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
29775 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
29776 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
29777 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29778 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
29779 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29780 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
29781 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29782 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
29783 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
29784 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29785 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
29786 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
29787 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
29788 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
29789 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
29790 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29791 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29792 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29793 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29794 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29795 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29796 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
29797 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29798 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
29799 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29800 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29801 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
29802 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29803 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
29804 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
29805 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29806 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29807 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29808 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29809 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29810 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29811 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29812 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
29813 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
29814 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
29815 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
29816 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29817 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
29818 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
29819 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
29820 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
29821 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
29822 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
29823 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
29824 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
29825 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
29826 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
29827 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
29828 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
29829 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
29830 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
29831 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
29832 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
29833 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
29834 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
29835 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
29836 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
29837 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
29838 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
29839 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
29840 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
29841 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
29842 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
29843 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
29844 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
29845 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
29846 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
29847 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
29848 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
29849 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
29850 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
29851 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
29852 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
29853 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
29854 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
29855 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
29856 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
29857 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
29858 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
29859 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
29860 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
29861 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
29862 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
29863 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
29864 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29865 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29866 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29867 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
29868 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29869 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
29870 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
29871 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
29872 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
29873 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29874 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
29875 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29876 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
29877 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29878 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
29879 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
29880 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29881 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29882 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
29883 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
29884 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
29885 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
29886 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29887 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
29888 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
29889 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
29890 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
29891 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
29892 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29893 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
29894 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
29895 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29896 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29897 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
29898 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
29899 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29900 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
29901 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
29902 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
29903 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
29904 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29905 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
29906 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
29907 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
29908 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
29909 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
29910 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
29911 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
29912 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
29913 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29914 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
29915 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
29916 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
29917 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29918 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
29919 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
29920 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29921 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29922 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29923 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
29924 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
29925 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
29926 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
29927 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
29928 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
29929 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
29930 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
29931 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
29932 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
29933 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
29934 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
29935 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
29936 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
29937 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29938 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
29939 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
29940 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
29941 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
29942 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
29943 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
29944 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
29945 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
29946 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
29947 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
29948 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
29949 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
29950 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
29951 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29952 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29953 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
29954 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
29959 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29961 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
29962 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
29964 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
29965 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
29967 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
29968 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
29970 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
29971 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29973 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
29974 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29976 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
29977 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
29979 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
29980 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29982 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
29983 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
29985 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
29986 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
29988 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
29989 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
29991 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29992 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29994 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29995 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29997 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29998 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30000 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30001 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30003 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30004 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30006 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30007 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30009 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30010 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30012 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30013 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30015 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30018 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30021 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30022 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30024 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30025 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30027 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30030 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30031 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30033 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30034 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30036 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30037 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30039 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30042 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30043 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30045 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30048 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30049 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30051 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30052 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30054 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30055 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30057 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30058 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30060 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30061 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30063 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30064 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30066 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30067 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30069 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30070 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30072 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30075 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30076 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30078 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30079 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30081 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30082 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30084 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30085 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30087 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30088 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30090 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30091 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30093 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30096 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30097 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30099 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30100 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30102 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30103 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30105 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30108 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30109 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30111 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30112 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30114 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30115 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30117 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30118 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30120 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30121 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30123 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30124 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30126 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30127 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30129 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30130 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30132 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30133 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30135 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30136 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30138 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30139 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30141 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30142 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30144 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30145 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30147 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30148 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30150 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30151 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30153 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30154 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
30156 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
30157 return (void *)((wxControl
*) ((wxComboBox
*) x
));
30159 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
30160 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
30162 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
30163 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
30165 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
30166 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
30168 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
30169 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
30171 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
30172 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30174 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
30175 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
30177 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
30178 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
30180 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
30181 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
30183 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
30184 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
30186 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
30187 return (void *)((wxControl
*) ((wxGauge
*) x
));
30189 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
30190 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
30192 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
30193 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
30195 static void *_p_wxButtonTo_p_wxControl(void *x
) {
30196 return (void *)((wxControl
*) ((wxButton
*) x
));
30198 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
30199 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
30201 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
30202 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30204 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
30205 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
30207 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
30208 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
30210 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
30211 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
30213 static void *_p_wxListbookTo_p_wxControl(void *x
) {
30214 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
30216 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
30217 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
30219 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
30220 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
30222 static void *_p_wxListViewTo_p_wxControl(void *x
) {
30223 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
30225 static void *_p_wxSliderTo_p_wxControl(void *x
) {
30226 return (void *)((wxControl
*) ((wxSlider
*) x
));
30228 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
30229 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
30231 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
30232 return (void *)((wxControl
*) ((wxPyControl
*) x
));
30234 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
30235 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
30237 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
30238 return (void *)((wxControl
*) ((wxStaticText
*) x
));
30240 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
30241 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
30243 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
30244 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30246 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
30247 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30249 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
30250 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30252 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
30253 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
30255 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
30256 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30258 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
30259 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30261 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
30262 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30264 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
30265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30267 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
30268 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
30270 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
30271 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
30273 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
30274 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
30276 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
30277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30279 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
30280 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
30282 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
30283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30285 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
30286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30288 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
30289 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
30291 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
30292 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
30294 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
30295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30297 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
30298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30300 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
30301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30303 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
30304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30306 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
30307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30309 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
30310 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
30312 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
30313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30315 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
30316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
30319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30321 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
30322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30324 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
30325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30327 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
30328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30330 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
30331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30333 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
30334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30336 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
30337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30339 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
30340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30342 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
30343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30345 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
30346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30348 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
30349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30351 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
30352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30354 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
30355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30357 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
30358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30360 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
30361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30363 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
30364 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30366 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
30367 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30369 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
30370 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30372 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
30373 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30375 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
30376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30378 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
30379 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30381 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
30382 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30384 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
30385 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
30387 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
30388 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
30390 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
30391 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
30393 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
30394 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
30396 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
30397 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30399 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
30400 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30402 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
30403 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
30405 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
30406 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
30408 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
30409 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
30411 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
30412 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
30414 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
30415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
30417 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
30418 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
30420 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
30421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30423 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
30424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30426 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
30427 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30429 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
30430 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
30432 static void *_p_wxSizerTo_p_wxObject(void *x
) {
30433 return (void *)((wxObject
*) ((wxSizer
*) x
));
30435 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
30436 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30438 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
30439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
30441 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
30442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
30444 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
30445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30447 static void *_p_wxEventTo_p_wxObject(void *x
) {
30448 return (void *)((wxObject
*) ((wxEvent
*) x
));
30450 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
30451 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30453 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
30454 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
30456 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
30457 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
30459 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
30460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
30462 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
30463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
30465 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
30466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30468 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
30469 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
30471 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
30472 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
30474 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
30475 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30477 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
30478 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30480 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
30481 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30483 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
30484 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30486 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
30487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
30489 static void *_p_wxControlTo_p_wxObject(void *x
) {
30490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
30492 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
30493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
30495 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
30496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
30498 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
30499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
30501 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
30502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
30504 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
30505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
30507 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
30508 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
30510 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
30511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30513 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
30514 return (void *)((wxObject
*) ((wxFSFile
*) x
));
30516 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
30517 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
30519 static void *_p_wxListViewTo_p_wxObject(void *x
) {
30520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30522 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
30523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
30525 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
30526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30528 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
30529 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
30531 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
30532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30534 static void *_p_wxListbookTo_p_wxObject(void *x
) {
30535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30537 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
30538 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
30540 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
30541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
30543 static void *_p_wxSliderTo_p_wxObject(void *x
) {
30544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
30546 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
30547 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
30549 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
30550 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
30552 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
30553 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30555 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
30556 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30558 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
30559 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
30561 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
30562 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
30564 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
30565 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
30567 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
30568 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
30570 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
30571 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
30573 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
30574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
30576 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
30577 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
30579 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
30580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
30582 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
30583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
30585 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
30586 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
30588 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
30589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
30591 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
30592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
30594 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
30595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
30597 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
30598 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
30600 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
30601 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
30603 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
30604 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
30606 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
30607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
30609 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
30610 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
30612 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
30613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
30615 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
30616 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
30618 static void *_p_wxListEventTo_p_wxObject(void *x
) {
30619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30621 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
30622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30624 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
30625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30627 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
30628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
30630 static void *_p_wxButtonTo_p_wxObject(void *x
) {
30631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
30633 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
30634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30636 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
30637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
30639 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
30640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30642 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
30643 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
30645 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
30646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
30648 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
30649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
30651 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
30652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
30654 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
30655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
30657 static void *_p_wxListItemTo_p_wxObject(void *x
) {
30658 return (void *)((wxObject
*) ((wxListItem
*) x
));
30660 static void *_p_wxImageTo_p_wxObject(void *x
) {
30661 return (void *)((wxObject
*) ((wxImage
*) x
));
30663 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
30664 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
30666 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
30667 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
30669 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
30670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30672 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
30673 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
30675 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
30676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
30678 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
30679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30681 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
30682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30684 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
30685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30687 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
30688 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30690 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
30691 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
30693 static void *_p_wxWindowTo_p_wxObject(void *x
) {
30694 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
30696 static void *_p_wxMenuTo_p_wxObject(void *x
) {
30697 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
30699 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
30700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
30702 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
30703 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
30705 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
30706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30708 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
30709 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
30711 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
30712 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
30714 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
30715 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
30717 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
30718 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
30720 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
30721 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
30723 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
30724 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30726 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
30727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30729 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
30730 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
30732 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
30733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
30735 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
30736 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
30738 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
30739 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
30741 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
30742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30744 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
30745 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
30747 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
30748 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
30750 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
30751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30753 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
30754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
30756 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
30757 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
30759 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
30760 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
30762 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
30763 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
30765 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
30766 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
30768 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
30769 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
30771 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
30772 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
30774 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
30775 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
30777 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
30778 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
30780 static void *_p_wxControlTo_p_wxWindow(void *x
) {
30781 return (void *)((wxWindow
*) ((wxControl
*) x
));
30783 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
30784 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
30786 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
30787 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30789 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
30790 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
30792 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
30793 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
30795 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
30796 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
30798 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
30799 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
30801 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
30802 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
30804 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
30805 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
30807 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
30808 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
30810 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
30811 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
30813 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
30814 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
30816 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
30817 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
30819 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
30820 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
30822 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
30823 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30825 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
30826 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
30828 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
30829 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
30831 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
30832 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
30834 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
30835 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
30837 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
30838 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
30840 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
30841 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
30843 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
30844 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
30846 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
30847 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
30849 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
30850 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
30852 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
30853 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
30855 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
30856 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
30858 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
30859 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
30861 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
30862 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
30864 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
30865 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
30867 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
30868 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30870 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
30871 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30873 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
30874 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30876 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
30877 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
30879 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
30880 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30882 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
30883 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30885 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
30886 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30888 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
30889 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30891 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
30892 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30894 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
30895 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
30897 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
30898 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30900 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
30901 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30903 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
30904 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30906 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
30907 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
30909 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
30910 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30912 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
30913 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30915 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
30916 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30918 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
30919 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
30921 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
30922 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
30924 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
30925 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
30927 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
30928 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
30930 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
30931 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}};
30932 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}};
30933 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
30934 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
30935 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}};
30936 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
30937 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
30938 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
30939 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}};
30940 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
30941 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
},{0}};
30942 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
30943 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}};
30944 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
30945 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
30946 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
},{0}};
30947 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
30948 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
30949 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
30950 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
},{"_p_wxChoice"},{0}};
30951 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
30952 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
30953 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
30954 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
30955 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
30956 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
30957 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
30958 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
30959 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
30960 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
30961 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}};
30962 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
30963 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
30964 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
30965 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
30966 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
30967 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
30968 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
30969 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
30970 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}};
30971 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
30972 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
},{0}};
30973 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
30974 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}};
30975 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
30976 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}};
30977 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
},{0}};
30978 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
30979 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
30980 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
30981 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
30982 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
30983 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
30984 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
30985 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
30986 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
30987 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
30988 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
30989 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
30990 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
30991 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
30992 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
},{0}};
30993 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
30994 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
30995 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
30996 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
30997 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
30998 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}};
30999 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31000 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31001 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}};
31002 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31003 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31004 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31005 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31006 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}};
31007 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31008 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
},{0}};
31009 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31010 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31011 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31012 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31013 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
31015 static swig_type_info
*swig_types_initial
[] = {
31016 _swigt__p_wxTextUrlEvent
,
31017 _swigt__p_wxBookCtrlEvent
,
31019 _swigt__p_wxCheckBox
,
31020 _swigt__p_wxPyTreeCtrl
,
31022 _swigt__p_wxGenericDirCtrl
,
31024 _swigt__p_wxPyTreeItemData
,
31025 _swigt__p_wxItemContainer
,
31026 _swigt__p_wxDirFilterListCtrl
,
31027 _swigt__p_wxPyListCtrl
,
31028 _swigt__p_wxStaticLine
,
31029 _swigt__p_wxControl
,
31030 _swigt__p_wxPyControl
,
31032 _swigt__p_wxToolBarBase
,
31034 _swigt__p_wxToggleButton
,
31035 _swigt__p_wxRadioButton
,
31036 _swigt__p_wxChoice
,
31037 _swigt__p_wxMemoryDC
,
31038 _swigt__p_wxListItemAttr
,
31043 _swigt__p_wxListView
,
31045 _swigt__p_wxTextCtrl
,
31046 _swigt__p_wxNotebook
,
31047 _swigt__p_wxNotifyEvent
,
31048 _swigt__p_wxArrayString
,
31049 _swigt__p_wxListbook
,
31050 _swigt__p_wxStaticBitmap
,
31051 _swigt__p_wxSlider
,
31052 _swigt__p_wxStaticBox
,
31053 _swigt__p_wxArrayInt
,
31054 _swigt__p_wxContextHelp
,
31056 _swigt__p_wxEvtHandler
,
31057 _swigt__p_wxListEvent
,
31058 _swigt__p_wxListBox
,
31059 _swigt__p_wxCheckListBox
,
31060 _swigt__p_wxBookCtrl
,
31061 _swigt__p_wxSpinButton
,
31062 _swigt__p_wxButton
,
31063 _swigt__p_wxBitmapButton
,
31065 _swigt__p_wxContextHelpButton
,
31066 _swigt__p_wxRadioBox
,
31067 _swigt__p_wxScrollBar
,
31069 _swigt__p_wxTreeItemId
,
31070 _swigt__p_wxComboBox
,
31071 _swigt__p_wxHelpEvent
,
31072 _swigt__p_wxListItem
,
31073 _swigt__p_wxNotebookSizer
,
31074 _swigt__p_wxSpinEvent
,
31075 _swigt__p_wxGenericDragImage
,
31076 _swigt__p_wxSpinCtrl
,
31077 _swigt__p_wxImageList
,
31078 _swigt__p_wxHelpProvider
,
31079 _swigt__p_wxTextAttr
,
31080 _swigt__p_wxSimpleHelpProvider
,
31082 _swigt__p_wxListbookEvent
,
31083 _swigt__p_wxNotebookEvent
,
31084 _swigt__p_wxObject
,
31085 _swigt__p_wxCursor
,
31086 _swigt__p_wxKeyEvent
,
31087 _swigt__p_wxWindow
,
31088 _swigt__p_wxString
,
31089 _swigt__p_wxBitmap
,
31090 _swigt__p_wxTreeEvent
,
31091 _swigt__p_wxMouseEvent
,
31092 _swigt__p_wxCommandEvent
,
31093 _swigt__p_wxStaticText
,
31094 _swigt__p_wxControlWithItems
,
31095 _swigt__p_wxToolBarToolBase
,
31096 _swigt__p_wxColour
,
31097 _swigt__p_wxToolBar
,
31098 _swigt__p_wxBookCtrlSizer
,
31099 _swigt__p_wxValidator
,
31104 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31106 static swig_const_info swig_const_table
[] = {
31116 SWIGEXPORT(void) SWIG_init(void) {
31117 static PyObject
*SWIG_globals
= 0;
31118 static int typeinit
= 0;
31121 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31122 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31123 d
= PyModule_GetDict(m
);
31126 for (i
= 0; swig_types_initial
[i
]; i
++) {
31127 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31131 SWIG_InstallConstants(d
,swig_const_table
);
31133 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31134 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31135 PyDict_SetItemString(d
,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT
));
31136 PyDict_SetItemString(d
,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP
));
31137 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT
));
31138 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM
));
31139 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT
));
31140 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW
));
31141 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31142 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE
));
31143 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE
));
31144 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31145 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED
));
31146 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED
));
31147 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED
));
31148 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31149 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31150 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31151 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL
));
31152 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL
));
31153 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH
));
31154 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR
));
31155 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
31156 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
31157 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
31158 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
31159 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
31160 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL
));
31161 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL
));
31162 PyDict_SetItemString(d
,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY
));
31163 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE
));
31164 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB
));
31165 PyDict_SetItemString(d
,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT
));
31166 PyDict_SetItemString(d
,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER
));
31167 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT
));
31168 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE
));
31169 PyDict_SetItemString(d
,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH
));
31170 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER
));
31171 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD
));
31172 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL
));
31173 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL
));
31174 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP
));
31175 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP
));
31176 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP
));
31177 PyDict_SetItemString(d
,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2
));
31178 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
31179 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
31180 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
31181 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
31182 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
31183 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
31184 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
31185 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
31186 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
31187 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
31188 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
31189 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
31190 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
31191 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT
));
31192 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
31193 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
31194 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
31195 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS
));
31196 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN
));
31197 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE
));
31198 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT
));
31199 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW
));
31200 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND
));
31201 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
31202 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
31203 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
31204 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
31205 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
31206 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
31207 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
31208 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL
));
31209 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL
));
31210 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS
));
31211 PyDict_SetItemString(d
,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP
));
31212 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
31213 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
31214 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
31215 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
31216 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
31217 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
31218 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
31219 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH
));
31220 PyDict_SetItemString(d
,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP
));
31221 PyDict_SetItemString(d
,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT
));
31222 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT
));
31223 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM
));
31224 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE
));
31225 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE
));
31226 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON
));
31227 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL
));
31228 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM
));
31229 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
31230 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
31231 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT
));
31232 PyDict_SetItemString(d
,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP
));
31233 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM
));
31234 PyDict_SetItemString(d
,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT
));
31235 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT
));
31236 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK
));
31237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
31238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
31239 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON
));
31240 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
31241 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL
));
31242 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL
));
31243 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL
));
31244 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS
));
31245 PyDict_SetItemString(d
,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT
));
31246 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE
));
31247 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS
));
31248 PyDict_SetItemString(d
,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT
));
31249 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER
));
31250 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN
));
31251 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT
));
31252 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT
));
31253 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
31254 PyDict_SetItemString(d
,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES
));
31255 PyDict_SetItemString(d
,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES
));
31256 PyDict_SetItemString(d
,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON
));
31257 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON
));
31258 PyDict_SetItemString(d
,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST
));
31259 PyDict_SetItemString(d
,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT
));
31260 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP
));
31261 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT
));
31262 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE
));
31263 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL
));
31264 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS
));
31265 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER
));
31266 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER
));
31267 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL
));
31268 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING
));
31269 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING
));
31270 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE
));
31271 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN
));
31272 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT
));
31273 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE
));
31274 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT
));
31275 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE
));
31276 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA
));
31277 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM
));
31278 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH
));
31279 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT
));
31280 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE
));
31281 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED
));
31282 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED
));
31283 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED
));
31284 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT
));
31285 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED
));
31286 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED
));
31287 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE
));
31288 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED
));
31289 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE
));
31290 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE
));
31291 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW
));
31292 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE
));
31293 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
31294 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
31295 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
31296 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
31297 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT
));
31298 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT
));
31299 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM
));
31300 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE
));
31301 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL
));
31302 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW
));
31303 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT
));
31304 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT
));
31305 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT
));
31306 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT
));
31307 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP
));
31308 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
31309 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT
));
31310 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT
));
31311 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE
));
31312 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER
));
31313 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE
));
31314 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
31315 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS
));
31316 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON
));
31317 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL
));
31318 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP
));
31319 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN
));
31320 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT
));
31321 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT
));
31322 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
31323 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
31324 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
31325 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
31326 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
31327 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
31328 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
31329 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
31330 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
31331 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
31332 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
31333 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
31334 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
31335 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
31336 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
31337 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
31338 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
31339 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
31340 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
31341 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
31342 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
31343 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
31345 // Map renamed classes back to their common name for OOR
31346 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31348 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
31349 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS
));
31350 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS
));
31351 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES
));
31352 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT
));
31353 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE
));
31354 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE
));
31355 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED
));
31356 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
31357 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS
));
31358 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT
));
31359 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES
));
31360 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
31361 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE
));
31362 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS
));
31363 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS
));
31364 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS
));
31365 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal
));
31366 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected
));
31367 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded
));
31368 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
31369 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max
));
31370 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE
));
31371 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW
));
31372 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE
));
31373 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
31374 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
31375 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
31376 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
31377 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
31378 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
31379 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT
));
31380 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT
));
31381 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
31382 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
31383 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM
));
31384 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
31385 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
31386 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
31387 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
31388 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
31389 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
31390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
31391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
31392 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
31393 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
31394 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
31395 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
31396 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
31397 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
31398 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
31399 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
31400 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
31401 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
31402 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
31403 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
31405 // Map renamed classes back to their common name for OOR
31406 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31407 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31409 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
31410 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY
));
31411 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
31412 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
31413 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
31414 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
31415 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
31416 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
31417 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
31418 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
31420 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");