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);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 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
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 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
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
653 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
658 PyObject
* func
= (PyObject
*)funcPtr
;
659 bool blocked
= wxPyBeginBlockThreads();
661 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
662 PyObject
* result
= PyEval_CallObject(func
, args
);
665 retval
= PyInt_AsLong(result
);
669 wxPyEndBlockThreads(blocked
);
673 // C++ Version of a Python aware class
674 class wxPyListCtrl
: public wxListCtrl
{
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) :
684 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
686 bool Create(wxWindow
* parent
, wxWindowID id
,
690 const wxValidator
& validator
,
691 const wxString
& name
) {
692 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
708 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
710 item
.SetMask( wxLIST_MASK_STATE
|
718 if (self
->GetColumn(col
, item
))
719 return new wxListItem(item
);
723 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
724 wxListItem
* info
= new wxListItem
;
725 info
->m_itemId
= itemId
;
727 info
->m_mask
= 0xFFFF;
728 self
->GetItem(*info
);
731 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
733 self
->GetItemPosition(item
, pos
);
736 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
738 self
->GetItemRect(item
, rect
, code
);
741 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
742 if (!PyCallable_Check(func
))
744 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
746 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
750 return (wxWindow
*)self
->m_mainWin
;
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
961 DEC_PYCALLBACK__(InitDialog
);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
964 DEC_PYCALLBACK_BOOL_(Validate
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1012 #include <wx/generic/dragimgg.h>
1017 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1023 static PyObject
*_wrap_ButtonNameStr_get() {
1028 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1030 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1037 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxWindow
*arg1
= (wxWindow
*) 0 ;
1041 wxString
*arg3
= 0 ;
1042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1046 long arg6
= (long) 0 ;
1047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1049 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1052 bool temp3
= False
;
1055 bool temp8
= False
;
1056 PyObject
* obj0
= 0 ;
1057 PyObject
* obj1
= 0 ;
1058 PyObject
* obj2
= 0 ;
1059 PyObject
* obj3
= 0 ;
1060 PyObject
* obj4
= 0 ;
1061 PyObject
* obj5
= 0 ;
1062 PyObject
* obj6
= 0 ;
1063 PyObject
* obj7
= 0 ;
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 arg2
= (int) SWIG_AsInt(obj1
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 arg3
= wxString_in_helper(obj2
);
1075 if (arg3
== NULL
) SWIG_fail
;
1081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1091 arg6
= (long) SWIG_AsLong(obj5
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1099 PyErr_SetString(PyExc_TypeError
,"null reference");
1105 arg8
= wxString_in_helper(obj7
);
1106 if (arg8
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 resultobj
= wxPyMake_wxObject(result
);
1142 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (wxButton
*)new wxButton();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= wxPyMake_wxObject(result
);
1166 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxButton
*arg1
= (wxButton
*) 0 ;
1169 wxWindow
*arg2
= (wxWindow
*) 0 ;
1171 wxString
*arg4
= 0 ;
1172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1176 long arg7
= (long) 0 ;
1177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1179 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1182 bool temp4
= False
;
1185 bool temp9
= False
;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1189 PyObject
* obj3
= 0 ;
1190 PyObject
* obj4
= 0 ;
1191 PyObject
* obj5
= 0 ;
1192 PyObject
* obj6
= 0 ;
1193 PyObject
* obj7
= 0 ;
1194 PyObject
* obj8
= 0 ;
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 arg3
= (int) SWIG_AsInt(obj2
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1207 arg4
= wxString_in_helper(obj3
);
1208 if (arg4
== NULL
) SWIG_fail
;
1214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1224 arg7
= (long) SWIG_AsLong(obj6
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1228 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1232 PyErr_SetString(PyExc_TypeError
,"null reference");
1238 arg9
= wxString_in_helper(obj8
);
1239 if (arg9
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxButton
*arg1
= (wxButton
*) 0 ;
1278 PyObject
* obj0
= 0 ;
1280 (char *) "self", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 (arg1
)->SetDefault();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 Py_INCREF(Py_None
); resultobj
= Py_None
;
1300 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= wxButton::GetDefaultSize();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 resultptr
= new wxSize((wxSize
&) result
);
1318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1326 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1331 return Py_BuildValue((char *)"");
1333 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
*resultobj
;
1335 wxWindow
*arg1
= (wxWindow
*) 0 ;
1337 wxBitmap
*arg3
= 0 ;
1338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1342 long arg6
= (long) wxBU_AUTODRAW
;
1343 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1344 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1345 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1346 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1347 wxBitmapButton
*result
;
1350 bool temp8
= False
;
1351 PyObject
* obj0
= 0 ;
1352 PyObject
* obj1
= 0 ;
1353 PyObject
* obj2
= 0 ;
1354 PyObject
* obj3
= 0 ;
1355 PyObject
* obj4
= 0 ;
1356 PyObject
* obj5
= 0 ;
1357 PyObject
* obj6
= 0 ;
1358 PyObject
* obj7
= 0 ;
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1366 arg2
= (int) SWIG_AsInt(obj1
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1372 PyErr_SetString(PyExc_TypeError
,"null reference");
1378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1388 arg6
= (long) SWIG_AsLong(obj5
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1392 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1396 PyErr_SetString(PyExc_TypeError
,"null reference");
1402 arg8
= wxString_in_helper(obj7
);
1403 if (arg8
== NULL
) SWIG_fail
;
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1415 resultobj
= wxPyMake_wxObject(result
);
1431 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxBitmapButton
*result
;
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (wxBitmapButton
*)new wxBitmapButton();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 resultobj
= wxPyMake_wxObject(result
);
1455 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1458 wxWindow
*arg2
= (wxWindow
*) 0 ;
1460 wxBitmap
*arg4
= 0 ;
1461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1465 long arg7
= (long) wxBU_AUTODRAW
;
1466 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1467 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1468 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1469 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1473 bool temp9
= False
;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1476 PyObject
* obj2
= 0 ;
1477 PyObject
* obj3
= 0 ;
1478 PyObject
* obj4
= 0 ;
1479 PyObject
* obj5
= 0 ;
1480 PyObject
* obj6
= 0 ;
1481 PyObject
* obj7
= 0 ;
1482 PyObject
* obj8
= 0 ;
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 arg3
= (int) SWIG_AsInt(obj2
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1494 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1498 PyErr_SetString(PyExc_TypeError
,"null reference");
1504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1514 arg7
= (long) SWIG_AsLong(obj6
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1522 PyErr_SetString(PyExc_TypeError
,"null reference");
1528 arg9
= wxString_in_helper(obj8
);
1529 if (arg9
== NULL
) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1557 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (arg1
)->GetBitmapLabel();
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 wxBitmap
* resultptr
;
1578 resultptr
= new wxBitmap((wxBitmap
&) result
);
1579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1587 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 result
= (arg1
)->GetBitmapDisabled();
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1607 wxBitmap
* resultptr
;
1608 resultptr
= new wxBitmap((wxBitmap
&) result
);
1609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapFocus();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapSelected();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1680 wxBitmap
*arg2
= 0 ;
1681 PyObject
* obj0
= 0 ;
1682 PyObject
* obj1
= 0 ;
1684 (char *) "self",(char *) "bitmap", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1694 PyErr_SetString(PyExc_TypeError
,"null reference");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1714 wxBitmap
*arg2
= 0 ;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1718 (char *) "self",(char *) "bitmap", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1728 PyErr_SetString(PyExc_TypeError
,"null reference");
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1745 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1748 wxBitmap
*arg2
= 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1752 (char *) "self",(char *) "bitmap", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1762 PyErr_SetString(PyExc_TypeError
,"null reference");
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1782 wxBitmap
*arg2
= 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1786 (char *) "self",(char *) "bitmap", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1796 PyErr_SetString(PyExc_TypeError
,"null reference");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1820 PyObject
* obj2
= 0 ;
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1830 arg3
= (int) SWIG_AsInt(obj2
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 (arg1
)->SetMargins(arg2
,arg3
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1846 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "self", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= SWIG_FromInt((int)result
);
1872 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1903 return Py_BuildValue((char *)"");
1905 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1906 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1911 static PyObject
*_wrap_CheckBoxNameStr_get() {
1916 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1918 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1925 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxWindow
*arg1
= (wxWindow
*) 0 ;
1929 wxString
*arg3
= 0 ;
1930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1934 long arg6
= (long) 0 ;
1935 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1936 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1937 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1938 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1940 bool temp3
= False
;
1943 bool temp8
= False
;
1944 PyObject
* obj0
= 0 ;
1945 PyObject
* obj1
= 0 ;
1946 PyObject
* obj2
= 0 ;
1947 PyObject
* obj3
= 0 ;
1948 PyObject
* obj4
= 0 ;
1949 PyObject
* obj5
= 0 ;
1950 PyObject
* obj6
= 0 ;
1951 PyObject
* obj7
= 0 ;
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 arg2
= (int) SWIG_AsInt(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 arg3
= wxString_in_helper(obj2
);
1963 if (arg3
== NULL
) SWIG_fail
;
1969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1979 arg6
= (long) SWIG_AsLong(obj5
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1987 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 arg8
= wxString_in_helper(obj7
);
1994 if (arg8
== NULL
) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2028 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxCheckBox
*)new wxCheckBox();
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2050 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2053 wxWindow
*arg2
= (wxWindow
*) 0 ;
2055 wxString
*arg4
= 0 ;
2056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2060 long arg7
= (long) 0 ;
2061 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2062 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2063 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2064 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2066 bool temp4
= False
;
2069 bool temp9
= False
;
2070 PyObject
* obj0
= 0 ;
2071 PyObject
* obj1
= 0 ;
2072 PyObject
* obj2
= 0 ;
2073 PyObject
* obj3
= 0 ;
2074 PyObject
* obj4
= 0 ;
2075 PyObject
* obj5
= 0 ;
2076 PyObject
* obj6
= 0 ;
2077 PyObject
* obj7
= 0 ;
2078 PyObject
* obj8
= 0 ;
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg3
= (int) SWIG_AsInt(obj2
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 arg4
= wxString_in_helper(obj3
);
2092 if (arg4
== NULL
) SWIG_fail
;
2098 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2104 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2108 arg7
= (long) SWIG_AsLong(obj6
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2112 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2116 PyErr_SetString(PyExc_TypeError
,"null reference");
2122 arg9
= wxString_in_helper(obj8
);
2123 if (arg9
== NULL
) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2159 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2165 (char *) "self", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (bool)(arg1
)->GetValue();
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2187 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2193 (char *) "self", NULL
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->IsChecked();
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2215 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2219 PyObject
* obj0
= 0 ;
2220 PyObject
* obj1
= 0 ;
2222 (char *) "self",(char *) "state", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2228 arg2
= (bool const) SWIG_AsBool(obj1
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->SetValue(arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= SWIG_FromInt((int)result
);
2270 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "state", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2283 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2355 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2360 return Py_BuildValue((char *)"");
2362 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2363 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2368 static PyObject
*_wrap_ChoiceNameStr_get() {
2373 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2375 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2382 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxWindow
*arg1
= (wxWindow
*) 0 ;
2385 int arg2
= (int) -1 ;
2386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2390 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2391 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2392 long arg6
= (long) 0 ;
2393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2395 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2400 bool temp5
= False
;
2401 bool temp8
= False
;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2404 PyObject
* obj2
= 0 ;
2405 PyObject
* obj3
= 0 ;
2406 PyObject
* obj4
= 0 ;
2407 PyObject
* obj5
= 0 ;
2408 PyObject
* obj6
= 0 ;
2409 PyObject
* obj7
= 0 ;
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2418 arg2
= (int) SWIG_AsInt(obj1
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2435 if (! PySequence_Check(obj4
)) {
2436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2439 arg5
= new wxArrayString
;
2441 int i
, len
=PySequence_Length(obj4
);
2442 for (i
=0; i
<len
; i
++) {
2443 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2445 PyObject
* str
= PyObject_Unicode(item
);
2447 PyObject
* str
= PyObject_Str(item
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2450 arg5
->Add(Py2wxString(str
));
2457 arg6
= (long) SWIG_AsLong(obj5
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2465 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 arg8
= wxString_in_helper(obj7
);
2472 if (arg8
== NULL
) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2485 if (temp5
) delete arg5
;
2494 if (temp5
) delete arg5
;
2504 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (wxChoice
*)new wxChoice();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2526 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxChoice
*arg1
= (wxChoice
*) 0 ;
2529 wxWindow
*arg2
= (wxWindow
*) 0 ;
2530 int arg3
= (int) -1 ;
2531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2535 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2536 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2537 long arg7
= (long) 0 ;
2538 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2539 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2540 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2541 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2545 bool temp6
= False
;
2546 bool temp9
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2550 PyObject
* obj3
= 0 ;
2551 PyObject
* obj4
= 0 ;
2552 PyObject
* obj5
= 0 ;
2553 PyObject
* obj6
= 0 ;
2554 PyObject
* obj7
= 0 ;
2555 PyObject
* obj8
= 0 ;
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 arg3
= (int) SWIG_AsInt(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2583 if (! PySequence_Check(obj5
)) {
2584 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2587 arg6
= new wxArrayString
;
2589 int i
, len
=PySequence_Length(obj5
);
2590 for (i
=0; i
<len
; i
++) {
2591 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2593 PyObject
* str
= PyObject_Unicode(item
);
2595 PyObject
* str
= PyObject_Str(item
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2598 arg6
->Add(Py2wxString(str
));
2605 arg7
= (long) SWIG_AsLong(obj6
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2613 PyErr_SetString(PyExc_TypeError
,"null reference");
2619 arg9
= wxString_in_helper(obj8
);
2620 if (arg9
== NULL
) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2635 if (temp6
) delete arg6
;
2644 if (temp6
) delete arg6
;
2654 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxChoice
*arg1
= (wxChoice
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "n", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2667 arg2
= (int const) SWIG_AsInt(obj1
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetSelection(arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxChoice
*arg1
= (wxChoice
*) 0 ;
2686 wxString
*arg2
= 0 ;
2687 bool temp2
= False
;
2688 PyObject
* obj0
= 0 ;
2689 PyObject
* obj1
= 0 ;
2691 (char *) "self",(char *) "string", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2698 arg2
= wxString_in_helper(obj1
);
2699 if (arg2
== NULL
) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxChoice
*arg1
= (wxChoice
*) 0 ;
2728 wxString
*arg3
= 0 ;
2729 bool temp3
= False
;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2732 PyObject
* obj2
= 0 ;
2734 (char *) "self",(char *) "n",(char *) "string", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2740 arg2
= (int) SWIG_AsInt(obj1
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 arg3
= wxString_in_helper(obj2
);
2744 if (arg3
== NULL
) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 Py_INCREF(Py_None
); resultobj
= Py_None
;
2769 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2774 return Py_BuildValue((char *)"");
2776 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2777 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2782 static PyObject
*_wrap_ComboBoxNameStr_get() {
2787 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2789 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2796 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxWindow
*arg1
= (wxWindow
*) 0 ;
2799 int arg2
= (int) -1 ;
2800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2806 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2807 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2808 long arg7
= (long) 0 ;
2809 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2810 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2811 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2812 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2814 bool temp3
= False
;
2817 bool temp6
= False
;
2818 bool temp9
= False
;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2821 PyObject
* obj2
= 0 ;
2822 PyObject
* obj3
= 0 ;
2823 PyObject
* obj4
= 0 ;
2824 PyObject
* obj5
= 0 ;
2825 PyObject
* obj6
= 0 ;
2826 PyObject
* obj7
= 0 ;
2827 PyObject
* obj8
= 0 ;
2829 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 arg2
= (int) SWIG_AsInt(obj1
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2841 arg3
= wxString_in_helper(obj2
);
2842 if (arg3
== NULL
) SWIG_fail
;
2849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2855 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2860 if (! PySequence_Check(obj5
)) {
2861 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2864 arg6
= new wxArrayString
;
2866 int i
, len
=PySequence_Length(obj5
);
2867 for (i
=0; i
<len
; i
++) {
2868 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2870 PyObject
* str
= PyObject_Unicode(item
);
2872 PyObject
* str
= PyObject_Str(item
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2875 arg6
->Add(Py2wxString(str
));
2882 arg7
= (long) SWIG_AsLong(obj6
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2890 PyErr_SetString(PyExc_TypeError
,"null reference");
2896 arg9
= wxString_in_helper(obj8
);
2897 if (arg9
== NULL
) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 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
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2914 if (temp6
) delete arg6
;
2927 if (temp6
) delete arg6
;
2937 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 result
= (wxComboBox
*)new wxComboBox();
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2959 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2962 wxWindow
*arg2
= (wxWindow
*) 0 ;
2963 int arg3
= (int) -1 ;
2964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2970 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2971 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2972 long arg8
= (long) 0 ;
2973 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2974 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2975 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2976 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2978 bool temp4
= False
;
2981 bool temp7
= False
;
2982 bool temp10
= False
;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2985 PyObject
* obj2
= 0 ;
2986 PyObject
* obj3
= 0 ;
2987 PyObject
* obj4
= 0 ;
2988 PyObject
* obj5
= 0 ;
2989 PyObject
* obj6
= 0 ;
2990 PyObject
* obj7
= 0 ;
2991 PyObject
* obj8
= 0 ;
2992 PyObject
* obj9
= 0 ;
2994 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 arg3
= (int) SWIG_AsInt(obj2
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3008 arg4
= wxString_in_helper(obj3
);
3009 if (arg4
== NULL
) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3022 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3027 if (! PySequence_Check(obj6
)) {
3028 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3031 arg7
= new wxArrayString
;
3033 int i
, len
=PySequence_Length(obj6
);
3034 for (i
=0; i
<len
; i
++) {
3035 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3037 PyObject
* str
= PyObject_Unicode(item
);
3039 PyObject
* str
= PyObject_Str(item
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3042 arg7
->Add(Py2wxString(str
));
3049 arg8
= (long) SWIG_AsLong(obj7
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3057 PyErr_SetString(PyExc_TypeError
,"null reference");
3063 arg10
= wxString_in_helper(obj9
);
3064 if (arg10
== NULL
) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 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
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3083 if (temp7
) delete arg7
;
3096 if (temp7
) delete arg7
;
3106 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= ((wxComboBox
const *)arg1
)->GetValue();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3138 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3141 wxString
*arg2
= 0 ;
3142 bool temp2
= False
;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "value", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 arg2
= wxString_in_helper(obj1
);
3154 if (arg2
== NULL
) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 (arg1
)->SetValue((wxString
const &)*arg2
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3179 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3184 (char *) "self", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "pos", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 arg2
= (long) SWIG_AsLong(obj1
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 (arg1
)->SetInsertionPoint(arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= SWIG_FromLong((long)result
);
3309 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= SWIG_FromLong((long)result
);
3335 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3340 wxString
*arg4
= 0 ;
3341 bool temp4
= False
;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3344 PyObject
* obj2
= 0 ;
3345 PyObject
* obj3
= 0 ;
3347 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 arg2
= (long) SWIG_AsLong(obj1
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3355 arg3
= (long) SWIG_AsLong(obj2
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 arg4
= wxString_in_helper(obj3
);
3359 if (arg4
== NULL
) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3384 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3391 (char *) "self",(char *) "n", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 arg2
= (int) SWIG_AsInt(obj1
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 (arg1
)->SetSelection(arg2
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 Py_INCREF(Py_None
); resultobj
= Py_None
;
3413 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3420 PyObject
* obj2
= 0 ;
3422 (char *) "self",(char *) "from",(char *) "to", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (long) SWIG_AsLong(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3430 arg3
= (long) SWIG_AsLong(obj2
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetSelection(arg2
,arg3
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "self",(char *) "editable", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 arg2
= (bool) SWIG_AsBool(obj1
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->SetEditable(arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 (arg1
)->SetInsertionPointEnd();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 Py_INCREF(Py_None
); resultobj
= Py_None
;
3500 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3507 PyObject
* obj2
= 0 ;
3509 (char *) "self",(char *) "from",(char *) "to", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 arg2
= (long) SWIG_AsLong(obj1
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3517 arg3
= (long) SWIG_AsLong(obj2
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 (arg1
)->Remove(arg2
,arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3536 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3538 return Py_BuildValue((char *)"");
3540 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3541 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3546 static PyObject
*_wrap_GaugeNameStr_get() {
3551 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3553 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3560 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxWindow
*arg1
= (wxWindow
*) 0 ;
3565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3569 long arg6
= (long) wxGA_HORIZONTAL
;
3570 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3571 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3572 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3577 bool temp8
= False
;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3581 PyObject
* obj3
= 0 ;
3582 PyObject
* obj4
= 0 ;
3583 PyObject
* obj5
= 0 ;
3584 PyObject
* obj6
= 0 ;
3585 PyObject
* obj7
= 0 ;
3587 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 arg2
= (int) SWIG_AsInt(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3595 arg3
= (int) SWIG_AsInt(obj2
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3610 arg6
= (long) SWIG_AsLong(obj5
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3618 PyErr_SetString(PyExc_TypeError
,"null reference");
3624 arg8
= wxString_in_helper(obj7
);
3625 if (arg8
== NULL
) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3651 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (wxGauge
*)new wxGauge();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3673 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxGauge
*arg1
= (wxGauge
*) 0 ;
3676 wxWindow
*arg2
= (wxWindow
*) 0 ;
3679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3683 long arg7
= (long) wxGA_HORIZONTAL
;
3684 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3685 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3686 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3687 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3691 bool temp9
= False
;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3694 PyObject
* obj2
= 0 ;
3695 PyObject
* obj3
= 0 ;
3696 PyObject
* obj4
= 0 ;
3697 PyObject
* obj5
= 0 ;
3698 PyObject
* obj6
= 0 ;
3699 PyObject
* obj7
= 0 ;
3700 PyObject
* obj8
= 0 ;
3702 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3710 arg3
= (int) SWIG_AsInt(obj2
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3712 arg4
= (int) SWIG_AsInt(obj3
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3723 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3727 arg7
= (long) SWIG_AsLong(obj6
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3735 PyErr_SetString(PyExc_TypeError
,"null reference");
3741 arg9
= wxString_in_helper(obj8
);
3742 if (arg9
== NULL
) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3770 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxGauge
*arg1
= (wxGauge
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3777 (char *) "self",(char *) "range", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 arg2
= (int) SWIG_AsInt(obj1
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetRange(arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxGauge
*arg1
= (wxGauge
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_FromInt((int)result
);
3825 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxGauge
*arg1
= (wxGauge
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "self",(char *) "pos", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3838 arg2
= (int) SWIG_AsInt(obj1
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 (arg1
)->SetValue(arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxGauge
*arg1
= (wxGauge
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_FromInt((int)result
);
3880 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxGauge
*arg1
= (wxGauge
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3886 (char *) "self", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3908 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxGauge
*arg1
= (wxGauge
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "w", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 arg2
= (int) SWIG_AsInt(obj1
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->SetShadowWidth(arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxGauge
*arg1
= (wxGauge
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxGauge
*arg1
= (wxGauge
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "w", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetBezelFace(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxGauge
*arg1
= (wxGauge
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_FromInt((int)result
);
4018 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4021 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4023 return Py_BuildValue((char *)"");
4025 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4026 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4031 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4036 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4038 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4045 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4046 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4051 static PyObject
*_wrap_StaticBoxNameStr_get() {
4056 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4058 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4065 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4066 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4071 static PyObject
*_wrap_StaticTextNameStr_get() {
4076 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4078 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4085 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxWindow
*arg1
= (wxWindow
*) 0 ;
4089 wxString
*arg3
= 0 ;
4090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4094 long arg6
= (long) 0 ;
4095 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4097 wxStaticBox
*result
;
4098 bool temp3
= False
;
4101 bool temp7
= False
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 PyObject
* obj4
= 0 ;
4107 PyObject
* obj5
= 0 ;
4108 PyObject
* obj6
= 0 ;
4110 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 arg2
= (int) SWIG_AsInt(obj1
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 arg3
= wxString_in_helper(obj2
);
4120 if (arg3
== NULL
) SWIG_fail
;
4126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4136 arg6
= (long) SWIG_AsLong(obj5
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4141 arg7
= wxString_in_helper(obj6
);
4142 if (arg7
== NULL
) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= wxPyMake_wxObject(result
);
4178 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxStaticBox
*result
;
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxStaticBox
*)new wxStaticBox();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= wxPyMake_wxObject(result
);
4202 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4205 wxWindow
*arg2
= (wxWindow
*) 0 ;
4207 wxString
*arg4
= 0 ;
4208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4212 long arg7
= (long) 0 ;
4213 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4216 bool temp4
= False
;
4219 bool temp8
= False
;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4223 PyObject
* obj3
= 0 ;
4224 PyObject
* obj4
= 0 ;
4225 PyObject
* obj5
= 0 ;
4226 PyObject
* obj6
= 0 ;
4227 PyObject
* obj7
= 0 ;
4229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 arg3
= (int) SWIG_AsInt(obj2
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 arg4
= wxString_in_helper(obj3
);
4241 if (arg4
== NULL
) SWIG_fail
;
4247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4257 arg7
= (long) SWIG_AsLong(obj6
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4262 arg8
= wxString_in_helper(obj7
);
4263 if (arg8
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4299 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4302 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4304 return Py_BuildValue((char *)"");
4306 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxWindow
*arg1
= (wxWindow
*) 0 ;
4310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4314 long arg5
= (long) wxLI_HORIZONTAL
;
4315 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4317 wxStaticLine
*result
;
4320 bool temp6
= False
;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 PyObject
* obj2
= 0 ;
4324 PyObject
* obj3
= 0 ;
4325 PyObject
* obj4
= 0 ;
4326 PyObject
* obj5
= 0 ;
4328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4334 arg2
= (int) SWIG_AsInt(obj1
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4349 arg5
= (long) SWIG_AsLong(obj4
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 arg6
= wxString_in_helper(obj5
);
4355 if (arg6
== NULL
) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4381 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxStaticLine
*result
;
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxStaticLine
*)new wxStaticLine();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4403 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4406 wxWindow
*arg2
= (wxWindow
*) 0 ;
4408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4412 long arg6
= (long) wxLI_HORIZONTAL
;
4413 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4418 bool temp7
= False
;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 PyObject
* obj2
= 0 ;
4422 PyObject
* obj3
= 0 ;
4423 PyObject
* obj4
= 0 ;
4424 PyObject
* obj5
= 0 ;
4425 PyObject
* obj6
= 0 ;
4427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 arg3
= (int) SWIG_AsInt(obj2
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4450 arg6
= (long) SWIG_AsLong(obj5
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4455 arg7
= wxString_in_helper(obj6
);
4456 if (arg7
== NULL
) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4484 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4490 (char *) "self", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (int)wxStaticLine::GetDefaultSize();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_FromInt((int)result
);
4534 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4539 return Py_BuildValue((char *)"");
4541 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4543 wxWindow
*arg1
= (wxWindow
*) 0 ;
4545 wxString
*arg3
= 0 ;
4546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4550 long arg6
= (long) 0 ;
4551 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4553 wxStaticText
*result
;
4554 bool temp3
= False
;
4557 bool temp7
= False
;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4561 PyObject
* obj3
= 0 ;
4562 PyObject
* obj4
= 0 ;
4563 PyObject
* obj5
= 0 ;
4564 PyObject
* obj6
= 0 ;
4566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 arg2
= (int) SWIG_AsInt(obj1
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 arg6
= (long) SWIG_AsLong(obj5
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4597 arg7
= wxString_in_helper(obj6
);
4598 if (arg7
== NULL
) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4632 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxStaticText
*result
;
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxStaticText
*)new wxStaticText();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4654 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4657 wxWindow
*arg2
= (wxWindow
*) 0 ;
4659 wxString
*arg4
= 0 ;
4660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4664 long arg7
= (long) 0 ;
4665 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4666 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4668 bool temp4
= False
;
4671 bool temp8
= False
;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 PyObject
* obj2
= 0 ;
4675 PyObject
* obj3
= 0 ;
4676 PyObject
* obj4
= 0 ;
4677 PyObject
* obj5
= 0 ;
4678 PyObject
* obj6
= 0 ;
4679 PyObject
* obj7
= 0 ;
4681 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 arg3
= (int) SWIG_AsInt(obj2
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 arg4
= wxString_in_helper(obj3
);
4693 if (arg4
== NULL
) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4705 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4709 arg7
= (long) SWIG_AsLong(obj6
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4714 arg8
= wxString_in_helper(obj7
);
4715 if (arg8
== NULL
) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4751 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxWindow
*arg1
= (wxWindow
*) 0 ;
4762 wxBitmap
*arg3
= 0 ;
4763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4767 long arg6
= (long) 0 ;
4768 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4770 wxStaticBitmap
*result
;
4773 bool temp7
= False
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 PyObject
* obj3
= 0 ;
4778 PyObject
* obj4
= 0 ;
4779 PyObject
* obj5
= 0 ;
4780 PyObject
* obj6
= 0 ;
4782 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 arg2
= (int) SWIG_AsInt(obj1
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4794 PyErr_SetString(PyExc_TypeError
,"null reference");
4800 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4806 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4810 arg6
= (long) SWIG_AsLong(obj5
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4815 arg7
= wxString_in_helper(obj6
);
4816 if (arg7
== NULL
) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4842 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxStaticBitmap
*result
;
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4864 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4867 wxWindow
*arg2
= (wxWindow
*) 0 ;
4869 wxBitmap
*arg4
= 0 ;
4870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4874 long arg7
= (long) 0 ;
4875 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4880 bool temp8
= False
;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 PyObject
* obj2
= 0 ;
4884 PyObject
* obj3
= 0 ;
4885 PyObject
* obj4
= 0 ;
4886 PyObject
* obj5
= 0 ;
4887 PyObject
* obj6
= 0 ;
4888 PyObject
* obj7
= 0 ;
4890 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 arg3
= (int) SWIG_AsInt(obj2
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4900 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4904 PyErr_SetString(PyExc_TypeError
,"null reference");
4910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4920 arg7
= (long) SWIG_AsLong(obj6
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4925 arg8
= wxString_in_helper(obj7
);
4926 if (arg8
== NULL
) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4954 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (arg1
)->GetBitmap();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 wxBitmap
* resultptr
;
4975 resultptr
= new wxBitmap((wxBitmap
&) result
);
4976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4984 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4987 wxBitmap
*arg2
= 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4991 (char *) "self",(char *) "bitmap", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5001 PyErr_SetString(PyExc_TypeError
,"null reference");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "icon", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5035 PyErr_SetString(PyExc_TypeError
,"null reference");
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5057 return Py_BuildValue((char *)"");
5059 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5060 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5065 static PyObject
*_wrap_ListBoxNameStr_get() {
5070 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5072 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5079 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxWindow
*arg1
= (wxWindow
*) 0 ;
5083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5087 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5088 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5089 long arg6
= (long) 0 ;
5090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5092 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5097 bool temp5
= False
;
5098 bool temp8
= False
;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5101 PyObject
* obj2
= 0 ;
5102 PyObject
* obj3
= 0 ;
5103 PyObject
* obj4
= 0 ;
5104 PyObject
* obj5
= 0 ;
5105 PyObject
* obj6
= 0 ;
5106 PyObject
* obj7
= 0 ;
5108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (int) SWIG_AsInt(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5130 if (! PySequence_Check(obj4
)) {
5131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5134 arg5
= new wxArrayString
;
5136 int i
, len
=PySequence_Length(obj4
);
5137 for (i
=0; i
<len
; i
++) {
5138 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5140 PyObject
* str
= PyObject_Unicode(item
);
5142 PyObject
* str
= PyObject_Str(item
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5145 arg5
->Add(Py2wxString(str
));
5152 arg6
= (long) SWIG_AsLong(obj5
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5160 PyErr_SetString(PyExc_TypeError
,"null reference");
5166 arg8
= wxString_in_helper(obj7
);
5167 if (arg8
== NULL
) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5180 if (temp5
) delete arg5
;
5189 if (temp5
) delete arg5
;
5199 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxListBox
*)new wxListBox();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5221 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxListBox
*arg1
= (wxListBox
*) 0 ;
5224 wxWindow
*arg2
= (wxWindow
*) 0 ;
5226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5230 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5231 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5232 long arg7
= (long) 0 ;
5233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5235 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5240 bool temp6
= False
;
5241 bool temp9
= False
;
5242 PyObject
* obj0
= 0 ;
5243 PyObject
* obj1
= 0 ;
5244 PyObject
* obj2
= 0 ;
5245 PyObject
* obj3
= 0 ;
5246 PyObject
* obj4
= 0 ;
5247 PyObject
* obj5
= 0 ;
5248 PyObject
* obj6
= 0 ;
5249 PyObject
* obj7
= 0 ;
5250 PyObject
* obj8
= 0 ;
5252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5260 arg3
= (int) SWIG_AsInt(obj2
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5265 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5271 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5276 if (! PySequence_Check(obj5
)) {
5277 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5280 arg6
= new wxArrayString
;
5282 int i
, len
=PySequence_Length(obj5
);
5283 for (i
=0; i
<len
; i
++) {
5284 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5286 PyObject
* str
= PyObject_Unicode(item
);
5288 PyObject
* str
= PyObject_Str(item
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5291 arg6
->Add(Py2wxString(str
));
5298 arg7
= (long) SWIG_AsLong(obj6
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5306 PyErr_SetString(PyExc_TypeError
,"null reference");
5312 arg9
= wxString_in_helper(obj8
);
5313 if (arg9
== NULL
) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 if (temp6
) delete arg6
;
5337 if (temp6
) delete arg6
;
5347 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxListBox
*arg1
= (wxListBox
*) 0 ;
5350 wxString
*arg2
= 0 ;
5352 PyObject
*arg4
= (PyObject
*) NULL
;
5353 bool temp2
= False
;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5356 PyObject
* obj2
= 0 ;
5357 PyObject
* obj3
= 0 ;
5359 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 arg2
= wxString_in_helper(obj1
);
5367 if (arg2
== NULL
) SWIG_fail
;
5370 arg3
= (int) SWIG_AsInt(obj2
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxListBox
*arg1
= (wxListBox
*) 0 ;
5400 wxArrayString
*arg2
= 0 ;
5402 bool temp2
= False
;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5407 (char *) "self",(char *) "items",(char *) "pos", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 if (! PySequence_Check(obj1
)) {
5415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5418 arg2
= new wxArrayString
;
5420 int i
, len
=PySequence_Length(obj1
);
5421 for (i
=0; i
<len
; i
++) {
5422 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5424 PyObject
* str
= PyObject_Unicode(item
);
5426 PyObject
* str
= PyObject_Str(item
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5429 arg2
->Add(Py2wxString(str
));
5434 arg3
= (int) SWIG_AsInt(obj2
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 if (temp2
) delete arg2
;
5450 if (temp2
) delete arg2
;
5456 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxListBox
*arg1
= (wxListBox
*) 0 ;
5459 wxArrayString
*arg2
= 0 ;
5460 bool temp2
= False
;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "items", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 if (! PySequence_Check(obj1
)) {
5472 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5475 arg2
= new wxArrayString
;
5477 int i
, len
=PySequence_Length(obj1
);
5478 for (i
=0; i
<len
; i
++) {
5479 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5481 PyObject
* str
= PyObject_Unicode(item
);
5483 PyObject
* str
= PyObject_Str(item
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5486 arg2
->Add(Py2wxString(str
));
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->Set((wxArrayString
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 if (temp2
) delete arg2
;
5505 if (temp2
) delete arg2
;
5511 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxListBox
*arg1
= (wxListBox
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "n", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int) SWIG_AsInt(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxListBox
*arg1
= (wxListBox
*) 0 ;
5547 bool arg3
= (bool) True
;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5552 (char *) "self",(char *) "n",(char *) "select", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 arg3
= (bool) SWIG_AsBool(obj2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetSelection(arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxListBox
*arg1
= (wxListBox
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "n", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 arg2
= (int) SWIG_AsInt(obj1
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->Select(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxListBox
*arg1
= (wxListBox
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "n", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 arg2
= (int) SWIG_AsInt(obj1
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->Deselect(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxListBox
*arg1
= (wxListBox
*) 0 ;
5639 int arg2
= (int) -1 ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5643 (char *) "self",(char *) "itemToLeaveSelected", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int) SWIG_AsInt(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->DeselectAll(arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxListBox
*arg1
= (wxListBox
*) 0 ;
5670 wxString
*arg2
= 0 ;
5671 bool arg3
= (bool) True
;
5673 bool temp2
= False
;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 PyObject
* obj2
= 0 ;
5678 (char *) "self",(char *) "s",(char *) "select", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 arg2
= wxString_in_helper(obj1
);
5686 if (arg2
== NULL
) SWIG_fail
;
5690 arg3
= (bool) SWIG_AsBool(obj2
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxListBox
*arg1
= (wxListBox
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5743 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxListBox
*arg1
= (wxListBox
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "n", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 arg2
= (int) SWIG_AsInt(obj1
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->SetFirstItem(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxListBox
*arg1
= (wxListBox
*) 0 ;
5775 wxString
*arg2
= 0 ;
5776 bool temp2
= False
;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "self",(char *) "s", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 arg2
= wxString_in_helper(obj1
);
5788 if (arg2
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxListBox
*arg1
= (wxListBox
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5820 (char *) "self",(char *) "n", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 arg2
= (int) SWIG_AsInt(obj1
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->EnsureVisible(arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "s", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 arg2
= wxString_in_helper(obj1
);
5858 if (arg2
== NULL
) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxListBox
*arg1
= (wxListBox
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5911 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxListBox
*arg1
= (wxListBox
*) 0 ;
5915 wxColour
*arg3
= 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 PyObject
* obj2
= 0 ;
5921 (char *) "self",(char *) "item",(char *) "c", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 arg2
= (int) SWIG_AsInt(obj1
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxListBox
*arg1
= (wxListBox
*) 0 ;
5951 wxColour
*arg3
= 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5955 PyObject
* obj2
= 0 ;
5957 (char *) "self",(char *) "item",(char *) "c", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 arg2
= (int) SWIG_AsInt(obj1
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5983 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxListBox
*arg1
= (wxListBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 PyObject
* obj2
= 0 ;
5992 (char *) "self",(char *) "item",(char *) "f", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 arg2
= (int) SWIG_AsInt(obj1
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6000 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6004 PyErr_SetString(PyExc_TypeError
,"null reference");
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 Py_INCREF(Py_None
); resultobj
= Py_None
;
6021 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6024 wxVisualAttributes result
;
6025 PyObject
* obj0
= 0 ;
6027 (char *) "variant", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6032 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 wxVisualAttributes
* resultptr
;
6044 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6053 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6056 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6058 return Py_BuildValue((char *)"");
6060 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxWindow
*arg1
= (wxWindow
*) 0 ;
6064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6068 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6069 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6070 long arg6
= (long) 0 ;
6071 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6072 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6073 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6074 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6075 wxCheckListBox
*result
;
6078 bool temp5
= False
;
6079 bool temp8
= False
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6083 PyObject
* obj3
= 0 ;
6084 PyObject
* obj4
= 0 ;
6085 PyObject
* obj5
= 0 ;
6086 PyObject
* obj6
= 0 ;
6087 PyObject
* obj7
= 0 ;
6089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 arg2
= (int) SWIG_AsInt(obj1
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6111 if (! PySequence_Check(obj4
)) {
6112 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6115 arg5
= new wxArrayString
;
6117 int i
, len
=PySequence_Length(obj4
);
6118 for (i
=0; i
<len
; i
++) {
6119 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6121 PyObject
* str
= PyObject_Unicode(item
);
6123 PyObject
* str
= PyObject_Str(item
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6126 arg5
->Add(Py2wxString(str
));
6133 arg6
= (long) SWIG_AsLong(obj5
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6141 PyErr_SetString(PyExc_TypeError
,"null reference");
6147 arg8
= wxString_in_helper(obj7
);
6148 if (arg8
== NULL
) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6161 if (temp5
) delete arg5
;
6170 if (temp5
) delete arg5
;
6180 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxCheckListBox
*result
;
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (wxCheckListBox
*)new wxCheckListBox();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6202 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6205 wxWindow
*arg2
= (wxWindow
*) 0 ;
6207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6213 long arg7
= (long) 0 ;
6214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6216 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6221 bool temp6
= False
;
6222 bool temp9
= False
;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6226 PyObject
* obj3
= 0 ;
6227 PyObject
* obj4
= 0 ;
6228 PyObject
* obj5
= 0 ;
6229 PyObject
* obj6
= 0 ;
6230 PyObject
* obj7
= 0 ;
6231 PyObject
* obj8
= 0 ;
6233 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg3
= (int) SWIG_AsInt(obj2
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6257 if (! PySequence_Check(obj5
)) {
6258 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6261 arg6
= new wxArrayString
;
6263 int i
, len
=PySequence_Length(obj5
);
6264 for (i
=0; i
<len
; i
++) {
6265 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6267 PyObject
* str
= PyObject_Unicode(item
);
6269 PyObject
* str
= PyObject_Str(item
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6272 arg6
->Add(Py2wxString(str
));
6279 arg7
= (long) SWIG_AsLong(obj6
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6287 PyErr_SetString(PyExc_TypeError
,"null reference");
6293 arg9
= wxString_in_helper(obj8
);
6294 if (arg9
== NULL
) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6309 if (temp6
) delete arg6
;
6318 if (temp6
) delete arg6
;
6328 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "index", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (int) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (bool)(arg1
)->IsChecked(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6360 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6364 int arg3
= (int) True
;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6369 (char *) "self",(char *) "index",(char *) "check", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (int) SWIG_AsInt(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 arg3
= (int) SWIG_AsInt(obj2
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 (arg1
)->Check(arg2
,arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 Py_INCREF(Py_None
); resultobj
= Py_None
;
6395 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "self",(char *) "pt", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= SWIG_FromInt((int)result
);
6428 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6434 PyObject
* obj0
= 0 ;
6435 PyObject
* obj1
= 0 ;
6436 PyObject
* obj2
= 0 ;
6438 (char *) "self",(char *) "x",(char *) "y", NULL
6441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6444 arg2
= (int) SWIG_AsInt(obj1
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6446 arg3
= (int) SWIG_AsInt(obj2
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 resultobj
= SWIG_FromInt((int)result
);
6462 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6465 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6467 return Py_BuildValue((char *)"");
6469 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6470 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6475 static PyObject
*_wrap_TextCtrlNameStr_get() {
6480 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6482 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6489 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6490 PyObject
*resultobj
;
6493 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (wxTextAttr
*)new wxTextAttr();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6508 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6509 PyObject
*resultobj
;
6510 wxColour
*arg1
= 0 ;
6511 wxColour
const &arg2_defvalue
= wxNullColour
;
6512 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6513 wxFont
const &arg3_defvalue
= wxNullFont
;
6514 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6515 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6522 PyObject
* obj3
= 0 ;
6524 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6527 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6532 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6536 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6540 PyErr_SetString(PyExc_TypeError
,"null reference");
6545 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6562 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6567 argc
= PyObject_Length(args
);
6568 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6569 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6572 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6574 if ((argc
>= 1) && (argc
<= 4)) {
6577 _v
= wxColour_typecheck(argv
[0]);
6581 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6584 _v
= wxColour_typecheck(argv
[1]);
6588 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6592 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6601 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6603 _v
= SWIG_CheckInt(argv
[3]);
6605 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6612 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6617 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6620 PyObject
* obj0
= 0 ;
6622 (char *) "self", NULL
6625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6635 Py_INCREF(Py_None
); resultobj
= Py_None
;
6642 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
;
6644 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6645 PyObject
* obj0
= 0 ;
6647 (char *) "self", NULL
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6667 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6670 wxColour
*arg2
= 0 ;
6672 PyObject
* obj0
= 0 ;
6673 PyObject
* obj1
= 0 ;
6675 (char *) "self",(char *) "colText", NULL
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 Py_INCREF(Py_None
); resultobj
= Py_None
;
6699 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6702 wxColour
*arg2
= 0 ;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6707 (char *) "self",(char *) "colBack", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6735 long arg3
= (long) wxTEXT_ATTR_FONT
;
6736 PyObject
* obj0
= 0 ;
6737 PyObject
* obj1
= 0 ;
6738 PyObject
* obj2
= 0 ;
6740 (char *) "self",(char *) "font",(char *) "flags", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6750 PyErr_SetString(PyExc_TypeError
,"null reference");
6754 arg3
= (long) SWIG_AsLong(obj2
);
6755 if (PyErr_Occurred()) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6771 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
*resultobj
;
6773 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "alignment", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6784 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 Py_INCREF(Py_None
); resultobj
= Py_None
;
6800 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6803 wxArrayInt
*arg2
= 0 ;
6804 bool temp2
= False
;
6805 PyObject
* obj0
= 0 ;
6806 PyObject
* obj1
= 0 ;
6808 (char *) "self",(char *) "tabs", NULL
6811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 if (! PySequence_Check(obj1
)) {
6816 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6819 arg2
= new wxArrayInt
;
6821 int i
, len
=PySequence_Length(obj1
);
6822 for (i
=0; i
<len
; i
++) {
6823 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6824 PyObject
* number
= PyNumber_Int(item
);
6825 arg2
->Add(PyInt_AS_LONG(number
));
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) SWIG_fail
;
6837 Py_INCREF(Py_None
); resultobj
= Py_None
;
6839 if (temp2
) delete arg2
;
6844 if (temp2
) delete arg2
;
6850 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
*resultobj
;
6852 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6857 (char *) "self",(char *) "indent", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg2
= (int) SWIG_AsInt(obj1
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetLeftIndent(arg2
);
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6883 PyObject
* obj0
= 0 ;
6884 PyObject
* obj1
= 0 ;
6886 (char *) "self",(char *) "indent", NULL
6889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6892 arg2
= (int) SWIG_AsInt(obj1
);
6893 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetRightIndent(arg2
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6912 PyObject
* obj0
= 0 ;
6913 PyObject
* obj1
= 0 ;
6915 (char *) "self",(char *) "flags", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6921 arg2
= (long) SWIG_AsLong(obj1
);
6922 if (PyErr_Occurred()) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 (arg1
)->SetFlags(arg2
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 Py_INCREF(Py_None
); resultobj
= Py_None
;
6937 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6965 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6966 PyObject
*resultobj
;
6967 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6969 PyObject
* obj0
= 0 ;
6971 (char *) "self", NULL
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
6975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6993 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6997 PyObject
* obj0
= 0 ;
6999 (char *) "self", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7009 wxPyEndAllowThreads(__tstate
);
7010 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7021 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7025 PyObject
* obj0
= 0 ;
7027 (char *) "self", NULL
7030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7049 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7053 PyObject
* obj0
= 0 ;
7055 (char *) "self", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7077 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "self", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7105 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7106 PyObject
*resultobj
;
7107 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7109 PyObject
* obj0
= 0 ;
7111 (char *) "self", NULL
7114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7119 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7121 wxPyEndAllowThreads(__tstate
);
7122 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7133 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7138 PyObject
* obj0
= 0 ;
7139 PyObject
* obj1
= 0 ;
7141 (char *) "self",(char *) "flag", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 arg2
= (long) SWIG_AsLong(obj1
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7165 static PyObject
*_wrap_TextAttr_GetTextColour(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_GetTextColour",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7181 result
= (wxColour
*) &_result_ref
;
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7194 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7210 result
= (wxColour
*) &_result_ref
;
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7223 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7227 PyObject
* obj0
= 0 ;
7229 (char *) "self", NULL
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7239 result
= (wxFont
*) &_result_ref
;
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7246 wxFont
* resultptr
= new wxFont(*result
);
7247 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7255 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7259 PyObject
* obj0
= 0 ;
7261 (char *) "self", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_FromInt((int)result
);
7281 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "self", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7297 result
= (wxArrayInt
*) &_result_ref
;
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= PyList_New(0);
7306 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7307 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7308 PyList_Append(resultobj
, val
);
7318 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7322 PyObject
* obj0
= 0 ;
7324 (char *) "self", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 resultobj
= SWIG_FromLong((long)result
);
7344 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= SWIG_FromLong((long)result
);
7370 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_FromLong((long)result
);
7396 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7424 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxTextAttr
*arg1
= 0 ;
7427 wxTextAttr
*arg2
= 0 ;
7428 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7430 PyObject
* obj0
= 0 ;
7431 PyObject
* obj1
= 0 ;
7432 PyObject
* obj2
= 0 ;
7434 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7442 PyErr_SetString(PyExc_TypeError
,"null reference");
7445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7449 PyErr_SetString(PyExc_TypeError
,"null reference");
7452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7456 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7462 wxTextAttr
* resultptr
;
7463 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7472 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7475 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7477 return Py_BuildValue((char *)"");
7479 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxWindow
*arg1
= (wxWindow
*) 0 ;
7483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7489 long arg6
= (long) 0 ;
7490 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7491 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7492 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7493 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7495 bool temp3
= False
;
7498 bool temp8
= False
;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7501 PyObject
* obj2
= 0 ;
7502 PyObject
* obj3
= 0 ;
7503 PyObject
* obj4
= 0 ;
7504 PyObject
* obj5
= 0 ;
7505 PyObject
* obj6
= 0 ;
7506 PyObject
* obj7
= 0 ;
7508 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 arg2
= (int) SWIG_AsInt(obj1
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7518 arg3
= wxString_in_helper(obj2
);
7519 if (arg3
== NULL
) SWIG_fail
;
7526 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7532 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7536 arg6
= (long) SWIG_AsLong(obj5
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7544 PyErr_SetString(PyExc_TypeError
,"null reference");
7550 arg8
= wxString_in_helper(obj7
);
7551 if (arg8
== NULL
) SWIG_fail
;
7556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7557 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7563 resultobj
= wxPyMake_wxObject(result
);
7587 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
*resultobj
;
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 result
= (wxTextCtrl
*)new wxTextCtrl();
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7603 resultobj
= wxPyMake_wxObject(result
);
7611 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7614 wxWindow
*arg2
= (wxWindow
*) 0 ;
7616 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7617 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7618 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7619 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7620 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7621 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7622 long arg7
= (long) 0 ;
7623 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7624 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7625 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7626 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7628 bool temp4
= False
;
7631 bool temp9
= False
;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7634 PyObject
* obj2
= 0 ;
7635 PyObject
* obj3
= 0 ;
7636 PyObject
* obj4
= 0 ;
7637 PyObject
* obj5
= 0 ;
7638 PyObject
* obj6
= 0 ;
7639 PyObject
* obj7
= 0 ;
7640 PyObject
* obj8
= 0 ;
7642 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg3
= (int) SWIG_AsInt(obj2
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 arg4
= wxString_in_helper(obj3
);
7655 if (arg4
== NULL
) SWIG_fail
;
7662 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7668 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7672 arg7
= (long) SWIG_AsLong(obj6
);
7673 if (PyErr_Occurred()) SWIG_fail
;
7676 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7680 PyErr_SetString(PyExc_TypeError
,"null reference");
7686 arg9
= wxString_in_helper(obj8
);
7687 if (arg9
== NULL
) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7723 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7729 (char *) "self", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7755 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7758 wxString
*arg2
= 0 ;
7759 bool temp2
= False
;
7760 PyObject
* obj0
= 0 ;
7761 PyObject
* obj1
= 0 ;
7763 (char *) "self",(char *) "value", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7770 arg2
= wxString_in_helper(obj1
);
7771 if (arg2
== NULL
) SWIG_fail
;
7775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7776 (arg1
)->SetValue((wxString
const &)*arg2
);
7778 wxPyEndAllowThreads(__tstate
);
7779 if (PyErr_Occurred()) SWIG_fail
;
7781 Py_INCREF(Py_None
); resultobj
= Py_None
;
7796 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7802 PyObject
* obj0
= 0 ;
7803 PyObject
* obj1
= 0 ;
7804 PyObject
* obj2
= 0 ;
7806 (char *) "self",(char *) "from",(char *) "to", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7812 arg2
= (long) SWIG_AsLong(obj1
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7814 arg3
= (long) SWIG_AsLong(obj2
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7836 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7837 PyObject
*resultobj
;
7838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7842 PyObject
* obj1
= 0 ;
7844 (char *) "self",(char *) "lineNo", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7850 arg2
= (long) SWIG_AsLong(obj1
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_FromInt((int)result
);
7866 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7871 PyObject
* obj0
= 0 ;
7872 PyObject
* obj1
= 0 ;
7874 (char *) "self",(char *) "lineNo", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7880 arg2
= (long) SWIG_AsLong(obj1
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7902 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_FromInt((int)result
);
7928 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7956 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7960 PyObject
* obj0
= 0 ;
7962 (char *) "self", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7970 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7972 wxPyEndAllowThreads(__tstate
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7984 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8012 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8016 PyObject
* obj0
= 0 ;
8018 (char *) "self", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8026 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8028 wxPyEndAllowThreads(__tstate
);
8029 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8040 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8043 long *arg2
= (long *) 0 ;
8044 long *arg3
= (long *) 0 ;
8047 PyObject
* obj0
= 0 ;
8049 (char *) "self", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8067 resultobj
= t_output_helper(resultobj
,o
);
8070 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8071 resultobj
= t_output_helper(resultobj
,o
);
8079 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8111 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8114 PyObject
* obj0
= 0 ;
8116 (char *) "self", NULL
8119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8141 wxString
*arg4
= 0 ;
8142 bool temp4
= False
;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8145 PyObject
* obj2
= 0 ;
8146 PyObject
* obj3
= 0 ;
8148 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 arg2
= (long) SWIG_AsLong(obj1
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8156 arg3
= (long) SWIG_AsLong(obj2
);
8157 if (PyErr_Occurred()) SWIG_fail
;
8159 arg4
= wxString_in_helper(obj3
);
8160 if (arg4
== NULL
) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8185 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8192 PyObject
* obj2
= 0 ;
8194 (char *) "self",(char *) "from",(char *) "to", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8200 arg2
= (long) SWIG_AsLong(obj1
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8202 arg3
= (long) SWIG_AsLong(obj2
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 (arg1
)->Remove(arg2
,arg3
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 Py_INCREF(Py_None
); resultobj
= Py_None
;
8218 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8221 wxString
*arg2
= 0 ;
8223 bool temp2
= False
;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "file", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8234 arg2
= wxString_in_helper(obj1
);
8235 if (arg2
== NULL
) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8262 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8265 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8268 bool temp2
= False
;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8272 (char *) "self",(char *) "file", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8280 arg2
= wxString_in_helper(obj1
);
8281 if (arg2
== NULL
) SWIG_fail
;
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "self", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 (arg1
)->MarkDirty();
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) SWIG_fail
;
8327 Py_INCREF(Py_None
); resultobj
= Py_None
;
8334 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8335 PyObject
*resultobj
;
8336 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8337 PyObject
* obj0
= 0 ;
8339 (char *) "self", NULL
8342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8347 (arg1
)->DiscardEdits();
8349 wxPyEndAllowThreads(__tstate
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8352 Py_INCREF(Py_None
); resultobj
= Py_None
;
8359 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
*resultobj
;
8361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8362 unsigned long arg2
;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 (char *) "self",(char *) "len", NULL
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8372 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8376 (arg1
)->SetMaxLength(arg2
);
8378 wxPyEndAllowThreads(__tstate
);
8379 if (PyErr_Occurred()) SWIG_fail
;
8381 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8391 wxString
*arg2
= 0 ;
8392 bool temp2
= False
;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8396 (char *) "self",(char *) "text", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8403 arg2
= wxString_in_helper(obj1
);
8404 if (arg2
== NULL
) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 (arg1
)->WriteText((wxString
const &)*arg2
);
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 Py_INCREF(Py_None
); resultobj
= Py_None
;
8429 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
*resultobj
;
8431 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8432 wxString
*arg2
= 0 ;
8433 bool temp2
= False
;
8434 PyObject
* obj0
= 0 ;
8435 PyObject
* obj1
= 0 ;
8437 (char *) "self",(char *) "text", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 arg2
= wxString_in_helper(obj1
);
8445 if (arg2
== NULL
) SWIG_fail
;
8449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8450 (arg1
)->AppendText((wxString
const &)*arg2
);
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 Py_INCREF(Py_None
); resultobj
= Py_None
;
8470 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8471 PyObject
*resultobj
;
8472 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8473 wxKeyEvent
*arg2
= 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8478 (char *) "self",(char *) "event", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8488 PyErr_SetString(PyExc_TypeError
,"null reference");
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8507 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8512 wxTextAttr
*arg4
= 0 ;
8514 PyObject
* obj0
= 0 ;
8515 PyObject
* obj1
= 0 ;
8516 PyObject
* obj2
= 0 ;
8517 PyObject
* obj3
= 0 ;
8519 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8525 arg2
= (long) SWIG_AsLong(obj1
);
8526 if (PyErr_Occurred()) SWIG_fail
;
8527 arg3
= (long) SWIG_AsLong(obj2
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8529 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8533 PyErr_SetString(PyExc_TypeError
,"null reference");
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8552 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8556 wxTextAttr
*arg3
= 0 ;
8558 PyObject
* obj0
= 0 ;
8559 PyObject
* obj1
= 0 ;
8560 PyObject
* obj2
= 0 ;
8562 (char *) "self",(char *) "position",(char *) "style", NULL
8565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8568 arg2
= (long) SWIG_AsLong(obj1
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8570 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8574 PyErr_SetString(PyExc_TypeError
,"null reference");
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8593 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8594 PyObject
*resultobj
;
8595 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8596 wxTextAttr
*arg2
= 0 ;
8598 PyObject
* obj0
= 0 ;
8599 PyObject
* obj1
= 0 ;
8601 (char *) "self",(char *) "style", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8611 PyErr_SetString(PyExc_TypeError
,"null reference");
8615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8616 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8618 wxPyEndAllowThreads(__tstate
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8630 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8645 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8646 result
= (wxTextAttr
*) &_result_ref
;
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8659 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8665 PyObject
* obj0
= 0 ;
8666 PyObject
* obj1
= 0 ;
8667 PyObject
* obj2
= 0 ;
8669 (char *) "self",(char *) "x",(char *) "y", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 arg2
= (long) SWIG_AsLong(obj1
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8677 arg3
= (long) SWIG_AsLong(obj2
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8686 resultobj
= SWIG_FromLong((long)result
);
8693 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8697 long *arg3
= (long *) 0 ;
8698 long *arg4
= (long *) 0 ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8704 (char *) "self",(char *) "pos", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8712 arg2
= (long) SWIG_AsLong(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8723 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8724 resultobj
= t_output_helper(resultobj
,o
);
8727 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8728 resultobj
= t_output_helper(resultobj
,o
);
8736 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8743 (char *) "self",(char *) "pos", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 arg2
= (long) SWIG_AsLong(obj1
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 (arg1
)->ShowPosition(arg2
);
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 Py_INCREF(Py_None
); resultobj
= Py_None
;
8765 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8769 long *arg3
= (long *) 0 ;
8770 long *arg4
= (long *) 0 ;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "self",(char *) "pt", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= SWIG_FromInt((int)result
);
8799 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8800 resultobj
= t_output_helper(resultobj
,o
);
8803 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8804 resultobj
= t_output_helper(resultobj
,o
);
8812 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8815 PyObject
* obj0
= 0 ;
8817 (char *) "self", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8837 static PyObject
*_wrap_TextCtrl_Cut(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_Cut",kwnames
,&obj0
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8915 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8919 PyObject
* obj0
= 0 ;
8921 (char *) "self", NULL
8924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8943 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8971 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 PyObject
* obj0
= 0 ;
8976 (char *) "self", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxPyEndAllowThreads(__tstate
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8989 Py_INCREF(Py_None
); resultobj
= Py_None
;
8996 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
*resultobj
;
8998 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 Py_INCREF(Py_None
); resultobj
= Py_None
;
9021 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9049 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9077 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9084 (char *) "self",(char *) "pos", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9090 arg2
= (long) SWIG_AsLong(obj1
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetInsertionPoint(arg2
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9111 (char *) "self", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 (arg1
)->SetInsertionPointEnd();
9121 wxPyEndAllowThreads(__tstate
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 Py_INCREF(Py_None
); resultobj
= Py_None
;
9131 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
*resultobj
;
9133 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 resultobj
= SWIG_FromLong((long)result
);
9157 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_FromLong((long)result
);
9183 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9190 PyObject
* obj2
= 0 ;
9192 (char *) "self",(char *) "from",(char *) "to", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9198 arg2
= (long) SWIG_AsLong(obj1
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9200 arg3
= (long) SWIG_AsLong(obj2
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9204 (arg1
)->SetSelection(arg2
,arg3
);
9206 wxPyEndAllowThreads(__tstate
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9209 Py_INCREF(Py_None
); resultobj
= Py_None
;
9216 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
*resultobj
;
9218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "self", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 (arg1
)->SelectAll();
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 Py_INCREF(Py_None
); resultobj
= Py_None
;
9241 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9248 (char *) "self",(char *) "editable", NULL
9251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 arg2
= (bool) SWIG_AsBool(obj1
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 (arg1
)->SetEditable(arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9273 wxString
*arg2
= 0 ;
9274 bool temp2
= False
;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "text", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9285 arg2
= wxString_in_helper(obj1
);
9286 if (arg2
== NULL
) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9291 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 Py_INCREF(Py_None
); resultobj
= Py_None
;
9311 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9318 PyObject
* obj1
= 0 ;
9319 PyObject
* obj2
= 0 ;
9321 (char *) "self",(char *) "from",(char *) "to", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 arg2
= (long) SWIG_AsLong(obj1
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9329 arg3
= (long) SWIG_AsLong(obj2
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9333 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9335 wxPyEndAllowThreads(__tstate
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9351 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9354 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9356 return Py_BuildValue((char *)"");
9358 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9361 wxMouseEvent
*arg2
= 0 ;
9364 wxTextUrlEvent
*result
;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9367 PyObject
* obj2
= 0 ;
9368 PyObject
* obj3
= 0 ;
9370 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9374 arg1
= (int) SWIG_AsInt(obj0
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9380 PyErr_SetString(PyExc_TypeError
,"null reference");
9383 arg3
= (long) SWIG_AsLong(obj2
);
9384 if (PyErr_Occurred()) SWIG_fail
;
9385 arg4
= (long) SWIG_AsLong(obj3
);
9386 if (PyErr_Occurred()) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9401 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9404 wxMouseEvent
*result
;
9405 PyObject
* obj0
= 0 ;
9407 (char *) "self", NULL
9410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9417 result
= (wxMouseEvent
*) &_result_ref
;
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9430 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_FromLong((long)result
);
9456 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_FromLong((long)result
);
9482 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9485 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9487 return Py_BuildValue((char *)"");
9489 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9490 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9495 static PyObject
*_wrap_ScrollBarNameStr_get() {
9500 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9502 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9509 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxWindow
*arg1
= (wxWindow
*) 0 ;
9512 int arg2
= (int) -1 ;
9513 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9514 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9515 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9516 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9517 long arg5
= (long) wxSB_HORIZONTAL
;
9518 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9519 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9520 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9522 wxScrollBar
*result
;
9525 bool temp7
= False
;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 PyObject
* obj2
= 0 ;
9529 PyObject
* obj3
= 0 ;
9530 PyObject
* obj4
= 0 ;
9531 PyObject
* obj5
= 0 ;
9532 PyObject
* obj6
= 0 ;
9534 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 arg2
= (int) SWIG_AsInt(obj1
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9547 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9553 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9557 arg5
= (long) SWIG_AsLong(obj4
);
9558 if (PyErr_Occurred()) SWIG_fail
;
9561 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9565 PyErr_SetString(PyExc_TypeError
,"null reference");
9571 arg7
= wxString_in_helper(obj6
);
9572 if (arg7
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9598 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxScrollBar
*result
;
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (wxScrollBar
*)new wxScrollBar();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9620 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9623 wxWindow
*arg2
= (wxWindow
*) 0 ;
9624 int arg3
= (int) -1 ;
9625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9629 long arg6
= (long) wxSB_HORIZONTAL
;
9630 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9631 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9632 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9637 bool temp8
= False
;
9638 PyObject
* obj0
= 0 ;
9639 PyObject
* obj1
= 0 ;
9640 PyObject
* obj2
= 0 ;
9641 PyObject
* obj3
= 0 ;
9642 PyObject
* obj4
= 0 ;
9643 PyObject
* obj5
= 0 ;
9644 PyObject
* obj6
= 0 ;
9645 PyObject
* obj7
= 0 ;
9647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 arg3
= (int) SWIG_AsInt(obj2
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9672 arg6
= (long) SWIG_AsLong(obj5
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9676 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9680 PyErr_SetString(PyExc_TypeError
,"null reference");
9686 arg8
= wxString_in_helper(obj7
);
9687 if (arg8
== NULL
) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9715 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9721 (char *) "self", NULL
9724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9731 wxPyEndAllowThreads(__tstate
);
9732 if (PyErr_Occurred()) SWIG_fail
;
9734 resultobj
= SWIG_FromInt((int)result
);
9741 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9755 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 resultobj
= SWIG_FromInt((int)result
);
9767 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= SWIG_FromInt((int)result
);
9793 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 resultobj
= SWIG_FromInt((int)result
);
9819 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9847 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9848 PyObject
*resultobj
;
9849 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9852 PyObject
* obj1
= 0 ;
9854 (char *) "self",(char *) "viewStart", NULL
9857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9860 arg2
= (int) SWIG_AsInt(obj1
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->SetThumbPosition(arg2
);
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9883 bool arg6
= (bool) True
;
9884 PyObject
* obj0
= 0 ;
9885 PyObject
* obj1
= 0 ;
9886 PyObject
* obj2
= 0 ;
9887 PyObject
* obj3
= 0 ;
9888 PyObject
* obj4
= 0 ;
9889 PyObject
* obj5
= 0 ;
9891 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9897 arg2
= (int) SWIG_AsInt(obj1
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9899 arg3
= (int) SWIG_AsInt(obj2
);
9900 if (PyErr_Occurred()) SWIG_fail
;
9901 arg4
= (int) SWIG_AsInt(obj3
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9903 arg5
= (int) SWIG_AsInt(obj4
);
9904 if (PyErr_Occurred()) SWIG_fail
;
9906 arg6
= (bool) SWIG_AsBool(obj5
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9923 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
9925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
9928 return Py_BuildValue((char *)"");
9930 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
9931 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
9936 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
9941 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9943 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
9950 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
9951 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
9956 static PyObject
*_wrap_SpinCtrlNameStr_get() {
9961 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9963 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
9970 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 wxWindow
*arg1
= (wxWindow
*) 0 ;
9973 int arg2
= (int) -1 ;
9974 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9975 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9976 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9977 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9978 long arg5
= (long) wxSP_HORIZONTAL
;
9979 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
9980 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9981 wxSpinButton
*result
;
9984 bool temp6
= False
;
9985 PyObject
* obj0
= 0 ;
9986 PyObject
* obj1
= 0 ;
9987 PyObject
* obj2
= 0 ;
9988 PyObject
* obj3
= 0 ;
9989 PyObject
* obj4
= 0 ;
9990 PyObject
* obj5
= 0 ;
9992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9999 arg2
= (int) SWIG_AsInt(obj1
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10005 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10011 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10015 arg5
= (long) SWIG_AsLong(obj4
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10020 arg6
= wxString_in_helper(obj5
);
10021 if (arg6
== NULL
) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10047 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10048 PyObject
*resultobj
;
10049 wxSpinButton
*result
;
10050 char *kwnames
[] = {
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10057 result
= (wxSpinButton
*)new wxSpinButton();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10069 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
;
10071 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10072 wxWindow
*arg2
= (wxWindow
*) 0 ;
10073 int arg3
= (int) -1 ;
10074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10078 long arg6
= (long) wxSP_HORIZONTAL
;
10079 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10080 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10084 bool temp7
= False
;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 PyObject
* obj3
= 0 ;
10089 PyObject
* obj4
= 0 ;
10090 PyObject
* obj5
= 0 ;
10091 PyObject
* obj6
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 arg3
= (int) SWIG_AsInt(obj2
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10118 arg6
= (long) SWIG_AsLong(obj5
);
10119 if (PyErr_Occurred()) SWIG_fail
;
10123 arg7
= wxString_in_helper(obj6
);
10124 if (arg7
== NULL
) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10152 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_FromInt((int)result
);
10178 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_FromInt((int)result
);
10204 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_FromInt((int)result
);
10230 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "val", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 arg2
= (int) SWIG_AsInt(obj1
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 (arg1
)->SetValue(arg2
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10252 Py_INCREF(Py_None
); resultobj
= Py_None
;
10259 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10261 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10263 PyObject
* obj0
= 0 ;
10264 PyObject
* obj1
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "minVal", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10272 arg2
= (int) SWIG_AsInt(obj1
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 (arg1
)->SetMin(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 Py_INCREF(Py_None
); resultobj
= Py_None
;
10288 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10289 PyObject
*resultobj
;
10290 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self",(char *) "maxVal", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10301 arg2
= (int) SWIG_AsInt(obj1
);
10302 if (PyErr_Occurred()) SWIG_fail
;
10304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10305 (arg1
)->SetMax(arg2
);
10307 wxPyEndAllowThreads(__tstate
);
10308 if (PyErr_Occurred()) SWIG_fail
;
10310 Py_INCREF(Py_None
); resultobj
= Py_None
;
10317 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10318 PyObject
*resultobj
;
10319 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 PyObject
* obj2
= 0 ;
10325 char *kwnames
[] = {
10326 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10332 arg2
= (int) SWIG_AsInt(obj1
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10334 arg3
= (int) SWIG_AsInt(obj2
);
10335 if (PyErr_Occurred()) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 (arg1
)->SetRange(arg2
,arg3
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10381 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10383 return Py_BuildValue((char *)"");
10385 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxWindow
*arg1
= (wxWindow
*) 0 ;
10388 int arg2
= (int) -1 ;
10389 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10390 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10391 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10392 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10393 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10394 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10395 long arg6
= (long) wxSP_ARROW_KEYS
;
10396 int arg7
= (int) 0 ;
10397 int arg8
= (int) 100 ;
10398 int arg9
= (int) 0 ;
10399 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10400 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10401 wxSpinCtrl
*result
;
10402 bool temp3
= False
;
10405 bool temp10
= False
;
10406 PyObject
* obj0
= 0 ;
10407 PyObject
* obj1
= 0 ;
10408 PyObject
* obj2
= 0 ;
10409 PyObject
* obj3
= 0 ;
10410 PyObject
* obj4
= 0 ;
10411 PyObject
* obj5
= 0 ;
10412 PyObject
* obj6
= 0 ;
10413 PyObject
* obj7
= 0 ;
10414 PyObject
* obj8
= 0 ;
10415 PyObject
* obj9
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 arg2
= (int) SWIG_AsInt(obj1
);
10425 if (PyErr_Occurred()) SWIG_fail
;
10429 arg3
= wxString_in_helper(obj2
);
10430 if (arg3
== NULL
) SWIG_fail
;
10437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10447 arg6
= (long) SWIG_AsLong(obj5
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10451 arg7
= (int) SWIG_AsInt(obj6
);
10452 if (PyErr_Occurred()) SWIG_fail
;
10455 arg8
= (int) SWIG_AsInt(obj7
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 arg9
= (int) SWIG_AsInt(obj8
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10464 arg10
= wxString_in_helper(obj9
);
10465 if (arg10
== NULL
) SWIG_fail
;
10470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10471 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10473 wxPyEndAllowThreads(__tstate
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10499 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxSpinCtrl
*result
;
10502 char *kwnames
[] = {
10506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10521 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10524 wxWindow
*arg2
= (wxWindow
*) 0 ;
10525 int arg3
= (int) -1 ;
10526 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10527 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10528 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10529 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10530 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10531 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10532 long arg7
= (long) wxSP_ARROW_KEYS
;
10533 int arg8
= (int) 0 ;
10534 int arg9
= (int) 100 ;
10535 int arg10
= (int) 0 ;
10536 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10537 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10539 bool temp4
= False
;
10542 bool temp11
= False
;
10543 PyObject
* obj0
= 0 ;
10544 PyObject
* obj1
= 0 ;
10545 PyObject
* obj2
= 0 ;
10546 PyObject
* obj3
= 0 ;
10547 PyObject
* obj4
= 0 ;
10548 PyObject
* obj5
= 0 ;
10549 PyObject
* obj6
= 0 ;
10550 PyObject
* obj7
= 0 ;
10551 PyObject
* obj8
= 0 ;
10552 PyObject
* obj9
= 0 ;
10553 PyObject
* obj10
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10564 arg3
= (int) SWIG_AsInt(obj2
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10569 arg4
= wxString_in_helper(obj3
);
10570 if (arg4
== NULL
) SWIG_fail
;
10577 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10583 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10587 arg7
= (long) SWIG_AsLong(obj6
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 arg8
= (int) SWIG_AsInt(obj7
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 arg9
= (int) SWIG_AsInt(obj8
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10599 arg10
= (int) SWIG_AsInt(obj9
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10604 arg11
= wxString_in_helper(obj10
);
10605 if (arg11
== NULL
) SWIG_fail
;
10610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10611 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10613 wxPyEndAllowThreads(__tstate
);
10614 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10645 PyObject
* obj0
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10655 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_FromInt((int)result
);
10667 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "value", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 arg2
= (int) SWIG_AsInt(obj1
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetValue(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10699 wxString
*arg2
= 0 ;
10700 bool temp2
= False
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self",(char *) "text", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10711 arg2
= wxString_in_helper(obj1
);
10712 if (arg2
== NULL
) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->SetValue((wxString
const &)*arg2
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 PyObject
* obj2
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (int) SWIG_AsInt(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10754 arg3
= (int) SWIG_AsInt(obj2
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 (arg1
)->SetRange(arg2
,arg3
);
10760 wxPyEndAllowThreads(__tstate
);
10761 if (PyErr_Occurred()) SWIG_fail
;
10763 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10774 PyObject
* obj0
= 0 ;
10775 char *kwnames
[] = {
10776 (char *) "self", NULL
10779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_FromInt((int)result
);
10796 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
;
10798 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10800 PyObject
* obj0
= 0 ;
10801 char *kwnames
[] = {
10802 (char *) "self", NULL
10805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10812 wxPyEndAllowThreads(__tstate
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= SWIG_FromInt((int)result
);
10822 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10823 PyObject
*resultobj
;
10824 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 PyObject
* obj2
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self",(char *) "from",(char *) "to", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10837 arg2
= (long) SWIG_AsLong(obj1
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10839 arg3
= (long) SWIG_AsLong(obj2
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 (arg1
)->SetSelection(arg2
,arg3
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10848 Py_INCREF(Py_None
); resultobj
= Py_None
;
10855 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10858 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10860 return Py_BuildValue((char *)"");
10862 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10863 PyObject
*resultobj
;
10864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10865 int arg2
= (int) 0 ;
10866 wxSpinEvent
*result
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 char *kwnames
[] = {
10870 (char *) "commandType",(char *) "winid", NULL
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10875 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10879 arg2
= (int) SWIG_AsInt(obj1
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10896 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_FromInt((int)result
);
10922 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 PyObject
* obj1
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self",(char *) "pos", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 arg2
= (int) SWIG_AsInt(obj1
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 (arg1
)->SetPosition(arg2
);
10941 wxPyEndAllowThreads(__tstate
);
10942 if (PyErr_Occurred()) SWIG_fail
;
10944 Py_INCREF(Py_None
); resultobj
= Py_None
;
10951 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10954 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
10956 return Py_BuildValue((char *)"");
10958 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
10959 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
10964 static PyObject
*_wrap_RadioBoxNameStr_get() {
10969 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10971 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
10978 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
10979 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
10984 static PyObject
*_wrap_RadioButtonNameStr_get() {
10989 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10991 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
10998 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxWindow
*arg1
= (wxWindow
*) 0 ;
11002 wxString
*arg3
= 0 ;
11003 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11004 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11005 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11006 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11007 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11008 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11009 int arg7
= (int) 0 ;
11010 long arg8
= (long) wxRA_HORIZONTAL
;
11011 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11012 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11013 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11014 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11015 wxRadioBox
*result
;
11016 bool temp3
= False
;
11019 bool temp6
= False
;
11020 bool temp10
= False
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 PyObject
* obj5
= 0 ;
11027 PyObject
* obj6
= 0 ;
11028 PyObject
* obj7
= 0 ;
11029 PyObject
* obj8
= 0 ;
11030 PyObject
* obj9
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11038 arg2
= (int) SWIG_AsInt(obj1
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 arg3
= wxString_in_helper(obj2
);
11042 if (arg3
== NULL
) SWIG_fail
;
11048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11059 if (! PySequence_Check(obj5
)) {
11060 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11063 arg6
= new wxArrayString
;
11065 int i
, len
=PySequence_Length(obj5
);
11066 for (i
=0; i
<len
; i
++) {
11067 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11069 PyObject
* str
= PyObject_Unicode(item
);
11071 PyObject
* str
= PyObject_Str(item
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11074 arg6
->Add(Py2wxString(str
));
11081 arg7
= (int) SWIG_AsInt(obj6
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11085 arg8
= (long) SWIG_AsLong(obj7
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11090 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11092 if (arg9
== NULL
) {
11093 PyErr_SetString(PyExc_TypeError
,"null reference");
11099 arg10
= wxString_in_helper(obj9
);
11100 if (arg10
== NULL
) SWIG_fail
;
11105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 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
);
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11117 if (temp6
) delete arg6
;
11130 if (temp6
) delete arg6
;
11140 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxRadioBox
*result
;
11143 char *kwnames
[] = {
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11150 result
= (wxRadioBox
*)new wxRadioBox();
11152 wxPyEndAllowThreads(__tstate
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11162 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11163 PyObject
*resultobj
;
11164 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11165 wxWindow
*arg2
= (wxWindow
*) 0 ;
11167 wxString
*arg4
= 0 ;
11168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11172 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11173 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11174 int arg8
= (int) 0 ;
11175 long arg9
= (long) wxRA_HORIZONTAL
;
11176 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11177 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11178 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11179 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11181 bool temp4
= False
;
11184 bool temp7
= False
;
11185 bool temp11
= False
;
11186 PyObject
* obj0
= 0 ;
11187 PyObject
* obj1
= 0 ;
11188 PyObject
* obj2
= 0 ;
11189 PyObject
* obj3
= 0 ;
11190 PyObject
* obj4
= 0 ;
11191 PyObject
* obj5
= 0 ;
11192 PyObject
* obj6
= 0 ;
11193 PyObject
* obj7
= 0 ;
11194 PyObject
* obj8
= 0 ;
11195 PyObject
* obj9
= 0 ;
11196 PyObject
* obj10
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11206 arg3
= (int) SWIG_AsInt(obj2
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 arg4
= wxString_in_helper(obj3
);
11210 if (arg4
== NULL
) SWIG_fail
;
11216 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11222 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11227 if (! PySequence_Check(obj6
)) {
11228 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11231 arg7
= new wxArrayString
;
11233 int i
, len
=PySequence_Length(obj6
);
11234 for (i
=0; i
<len
; i
++) {
11235 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11237 PyObject
* str
= PyObject_Unicode(item
);
11239 PyObject
* str
= PyObject_Str(item
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11242 arg7
->Add(Py2wxString(str
));
11249 arg8
= (int) SWIG_AsInt(obj7
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11253 arg9
= (long) SWIG_AsLong(obj8
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11260 if (arg10
== NULL
) {
11261 PyErr_SetString(PyExc_TypeError
,"null reference");
11267 arg11
= wxString_in_helper(obj10
);
11268 if (arg11
== NULL
) SWIG_fail
;
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 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
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11287 if (temp7
) delete arg7
;
11300 if (temp7
) delete arg7
;
11310 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11314 PyObject
* obj0
= 0 ;
11315 PyObject
* obj1
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self",(char *) "n", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11323 arg2
= (int) SWIG_AsInt(obj1
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 (arg1
)->SetSelection(arg2
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11332 Py_INCREF(Py_None
); resultobj
= Py_None
;
11339 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
;
11341 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11343 PyObject
* obj0
= 0 ;
11344 char *kwnames
[] = {
11345 (char *) "self", NULL
11348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_FromInt((int)result
);
11365 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11388 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11397 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11400 wxString
*arg2
= 0 ;
11402 bool temp2
= False
;
11403 PyObject
* obj0
= 0 ;
11404 PyObject
* obj1
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "s", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11413 arg2
= wxString_in_helper(obj1
);
11414 if (arg2
== NULL
) SWIG_fail
;
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11421 wxPyEndAllowThreads(__tstate
);
11422 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11441 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11442 PyObject
*resultobj
;
11443 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11445 PyObject
* obj0
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= SWIG_FromInt((int)result
);
11467 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11470 wxString
*arg2
= 0 ;
11472 bool temp2
= False
;
11473 PyObject
* obj0
= 0 ;
11474 PyObject
* obj1
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "s", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11483 arg2
= wxString_in_helper(obj1
);
11484 if (arg2
== NULL
) SWIG_fail
;
11488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11489 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_FromInt((int)result
);
11509 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11514 PyObject
* obj0
= 0 ;
11515 PyObject
* obj1
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "n", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11523 arg2
= (int) SWIG_AsInt(obj1
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11545 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
;
11547 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11549 wxString
*arg3
= 0 ;
11550 bool temp3
= False
;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 PyObject
* obj2
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "n",(char *) "label", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 arg2
= (int) SWIG_AsInt(obj1
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 arg3
= wxString_in_helper(obj2
);
11565 if (arg3
== NULL
) SWIG_fail
;
11569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11570 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11572 wxPyEndAllowThreads(__tstate
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11575 Py_INCREF(Py_None
); resultobj
= Py_None
;
11590 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11591 PyObject
*resultobj
;
11592 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11594 bool arg3
= (bool) True
;
11595 PyObject
* obj0
= 0 ;
11596 PyObject
* obj1
= 0 ;
11597 PyObject
* obj2
= 0 ;
11598 char *kwnames
[] = {
11599 (char *) "self",(char *) "n",(char *) "enable", NULL
11602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11605 arg2
= (int) SWIG_AsInt(obj1
);
11606 if (PyErr_Occurred()) SWIG_fail
;
11608 arg3
= (bool) SWIG_AsBool(obj2
);
11609 if (PyErr_Occurred()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 (arg1
)->Enable(arg2
,arg3
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 Py_INCREF(Py_None
); resultobj
= Py_None
;
11625 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11629 bool arg3
= (bool) True
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 PyObject
* obj2
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "n",(char *) "show", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 arg2
= (int) SWIG_AsInt(obj1
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 arg3
= (bool) SWIG_AsBool(obj2
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 (arg1
)->Show(arg2
,arg3
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11676 wxPyEndAllowThreads(__tstate
);
11677 if (PyErr_Occurred()) SWIG_fail
;
11679 resultobj
= SWIG_FromInt((int)result
);
11686 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11687 PyObject
*resultobj
;
11688 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 resultobj
= SWIG_FromInt((int)result
);
11712 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11719 PyObject
* obj0
= 0 ;
11720 PyObject
* obj1
= 0 ;
11721 PyObject
* obj2
= 0 ;
11722 PyObject
* obj3
= 0 ;
11723 char *kwnames
[] = {
11724 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11730 arg2
= (int) SWIG_AsInt(obj1
);
11731 if (PyErr_Occurred()) SWIG_fail
;
11732 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11734 arg4
= (long) SWIG_AsLong(obj3
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_FromInt((int)result
);
11750 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11753 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11755 return Py_BuildValue((char *)"");
11757 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxWindow
*arg1
= (wxWindow
*) 0 ;
11761 wxString
*arg3
= 0 ;
11762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11766 long arg6
= (long) 0 ;
11767 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11768 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11769 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11770 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11771 wxRadioButton
*result
;
11772 bool temp3
= False
;
11775 bool temp8
= False
;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 PyObject
* obj2
= 0 ;
11779 PyObject
* obj3
= 0 ;
11780 PyObject
* obj4
= 0 ;
11781 PyObject
* obj5
= 0 ;
11782 PyObject
* obj6
= 0 ;
11783 PyObject
* obj7
= 0 ;
11784 char *kwnames
[] = {
11785 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11791 arg2
= (int) SWIG_AsInt(obj1
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 arg3
= wxString_in_helper(obj2
);
11795 if (arg3
== NULL
) SWIG_fail
;
11801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11811 arg6
= (long) SWIG_AsLong(obj5
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11818 if (arg7
== NULL
) {
11819 PyErr_SetString(PyExc_TypeError
,"null reference");
11825 arg8
= wxString_in_helper(obj7
);
11826 if (arg8
== NULL
) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11860 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxRadioButton
*result
;
11863 char *kwnames
[] = {
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 result
= (wxRadioButton
*)new wxRadioButton();
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11882 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11883 PyObject
*resultobj
;
11884 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11885 wxWindow
*arg2
= (wxWindow
*) 0 ;
11887 wxString
*arg4
= 0 ;
11888 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11889 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11890 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11891 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11892 long arg7
= (long) 0 ;
11893 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11894 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11895 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11896 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11898 bool temp4
= False
;
11901 bool temp9
= False
;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 PyObject
* obj2
= 0 ;
11905 PyObject
* obj3
= 0 ;
11906 PyObject
* obj4
= 0 ;
11907 PyObject
* obj5
= 0 ;
11908 PyObject
* obj6
= 0 ;
11909 PyObject
* obj7
= 0 ;
11910 PyObject
* obj8
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
11917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11920 arg3
= (int) SWIG_AsInt(obj2
);
11921 if (PyErr_Occurred()) SWIG_fail
;
11923 arg4
= wxString_in_helper(obj3
);
11924 if (arg4
== NULL
) SWIG_fail
;
11930 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11936 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11940 arg7
= (long) SWIG_AsLong(obj6
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11944 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
11945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11947 if (arg8
== NULL
) {
11948 PyErr_SetString(PyExc_TypeError
,"null reference");
11954 arg9
= wxString_in_helper(obj8
);
11955 if (arg9
== NULL
) SWIG_fail
;
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11963 wxPyEndAllowThreads(__tstate
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12005 result
= (bool)(arg1
)->GetValue();
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12019 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "value", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12032 arg2
= (bool) SWIG_AsBool(obj1
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12036 (arg1
)->SetValue(arg2
);
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 Py_INCREF(Py_None
); resultobj
= Py_None
;
12048 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12051 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12053 return Py_BuildValue((char *)"");
12055 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12056 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12061 static PyObject
*_wrap_SliderNameStr_get() {
12066 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12068 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12075 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxWindow
*arg1
= (wxWindow
*) 0 ;
12082 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12083 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12084 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12085 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12086 long arg8
= (long) wxSL_HORIZONTAL
;
12087 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12088 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12089 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12090 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12094 bool temp10
= False
;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 PyObject
* obj3
= 0 ;
12099 PyObject
* obj4
= 0 ;
12100 PyObject
* obj5
= 0 ;
12101 PyObject
* obj6
= 0 ;
12102 PyObject
* obj7
= 0 ;
12103 PyObject
* obj8
= 0 ;
12104 PyObject
* obj9
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12112 arg2
= (int) SWIG_AsInt(obj1
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12114 arg3
= (int) SWIG_AsInt(obj2
);
12115 if (PyErr_Occurred()) SWIG_fail
;
12116 arg4
= (int) SWIG_AsInt(obj3
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12118 arg5
= (int) SWIG_AsInt(obj4
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12123 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12129 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12133 arg8
= (long) SWIG_AsLong(obj7
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12137 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12140 if (arg9
== NULL
) {
12141 PyErr_SetString(PyExc_TypeError
,"null reference");
12147 arg10
= wxString_in_helper(obj9
);
12148 if (arg10
== NULL
) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12174 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12175 PyObject
*resultobj
;
12177 char *kwnames
[] = {
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12184 result
= (wxSlider
*)new wxSlider();
12186 wxPyEndAllowThreads(__tstate
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12196 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12197 PyObject
*resultobj
;
12198 wxSlider
*arg1
= (wxSlider
*) 0 ;
12199 wxWindow
*arg2
= (wxWindow
*) 0 ;
12204 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12205 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12206 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12207 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12208 long arg9
= (long) wxSL_HORIZONTAL
;
12209 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12210 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12211 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12212 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12216 bool temp11
= False
;
12217 PyObject
* obj0
= 0 ;
12218 PyObject
* obj1
= 0 ;
12219 PyObject
* obj2
= 0 ;
12220 PyObject
* obj3
= 0 ;
12221 PyObject
* obj4
= 0 ;
12222 PyObject
* obj5
= 0 ;
12223 PyObject
* obj6
= 0 ;
12224 PyObject
* obj7
= 0 ;
12225 PyObject
* obj8
= 0 ;
12226 PyObject
* obj9
= 0 ;
12227 PyObject
* obj10
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 arg3
= (int) SWIG_AsInt(obj2
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12239 arg4
= (int) SWIG_AsInt(obj3
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12241 arg5
= (int) SWIG_AsInt(obj4
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12243 arg6
= (int) SWIG_AsInt(obj5
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12248 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12254 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12258 arg9
= (long) SWIG_AsLong(obj8
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12262 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12265 if (arg10
== NULL
) {
12266 PyErr_SetString(PyExc_TypeError
,"null reference");
12272 arg11
= wxString_in_helper(obj10
);
12273 if (arg11
== NULL
) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12301 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxSlider
*arg1
= (wxSlider
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromInt((int)result
);
12327 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxSlider
*arg1
= (wxSlider
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "value", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 arg2
= (int) SWIG_AsInt(obj1
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->SetValue(arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxSlider
*arg1
= (wxSlider
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 PyObject
* obj1
= 0 ;
12363 PyObject
* obj2
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 arg2
= (int) SWIG_AsInt(obj1
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12373 arg3
= (int) SWIG_AsInt(obj2
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12377 (arg1
)->SetRange(arg2
,arg3
);
12379 wxPyEndAllowThreads(__tstate
);
12380 if (PyErr_Occurred()) SWIG_fail
;
12382 Py_INCREF(Py_None
); resultobj
= Py_None
;
12389 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxSlider
*arg1
= (wxSlider
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_FromInt((int)result
);
12415 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxSlider
*arg1
= (wxSlider
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12429 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= SWIG_FromInt((int)result
);
12441 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12442 PyObject
*resultobj
;
12443 wxSlider
*arg1
= (wxSlider
*) 0 ;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self",(char *) "minValue", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12454 arg2
= (int) SWIG_AsInt(obj1
);
12455 if (PyErr_Occurred()) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 (arg1
)->SetMin(arg2
);
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 Py_INCREF(Py_None
); resultobj
= Py_None
;
12470 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxSlider
*arg1
= (wxSlider
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char *kwnames
[] = {
12477 (char *) "self",(char *) "maxValue", NULL
12480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= (int) SWIG_AsInt(obj1
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12487 (arg1
)->SetMax(arg2
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12492 Py_INCREF(Py_None
); resultobj
= Py_None
;
12499 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12500 PyObject
*resultobj
;
12501 wxSlider
*arg1
= (wxSlider
*) 0 ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self",(char *) "lineSize", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12512 arg2
= (int) SWIG_AsInt(obj1
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12516 (arg1
)->SetLineSize(arg2
);
12518 wxPyEndAllowThreads(__tstate
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 Py_INCREF(Py_None
); resultobj
= Py_None
;
12528 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12529 PyObject
*resultobj
;
12530 wxSlider
*arg1
= (wxSlider
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "pageSize", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= (int) SWIG_AsInt(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 (arg1
)->SetPageSize(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
;
12559 wxSlider
*arg1
= (wxSlider
*) 0 ;
12561 PyObject
* obj0
= 0 ;
12562 char *kwnames
[] = {
12563 (char *) "self", NULL
12566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12576 resultobj
= SWIG_FromInt((int)result
);
12583 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxSlider
*arg1
= (wxSlider
*) 0 ;
12587 PyObject
* obj0
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "self", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_FromInt((int)result
);
12609 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
;
12611 wxSlider
*arg1
= (wxSlider
*) 0 ;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self",(char *) "lenPixels", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12622 arg2
= (int) SWIG_AsInt(obj1
);
12623 if (PyErr_Occurred()) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 (arg1
)->SetThumbLength(arg2
);
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 Py_INCREF(Py_None
); resultobj
= Py_None
;
12638 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxSlider
*arg1
= (wxSlider
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_FromInt((int)result
);
12664 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxSlider
*arg1
= (wxSlider
*) 0 ;
12668 int arg3
= (int) 1 ;
12669 PyObject
* obj0
= 0 ;
12670 PyObject
* obj1
= 0 ;
12671 PyObject
* obj2
= 0 ;
12672 char *kwnames
[] = {
12673 (char *) "self",(char *) "n",(char *) "pos", NULL
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12679 arg2
= (int) SWIG_AsInt(obj1
);
12680 if (PyErr_Occurred()) SWIG_fail
;
12682 arg3
= (int) SWIG_AsInt(obj2
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12687 (arg1
)->SetTickFreq(arg2
,arg3
);
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12692 Py_INCREF(Py_None
); resultobj
= Py_None
;
12699 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12700 PyObject
*resultobj
;
12701 wxSlider
*arg1
= (wxSlider
*) 0 ;
12703 PyObject
* obj0
= 0 ;
12704 char *kwnames
[] = {
12705 (char *) "self", NULL
12708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 resultobj
= SWIG_FromInt((int)result
);
12725 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxSlider
*arg1
= (wxSlider
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->ClearTicks();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 Py_INCREF(Py_None
); resultobj
= Py_None
;
12750 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxSlider
*arg1
= (wxSlider
*) 0 ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 char *kwnames
[] = {
12757 (char *) "self",(char *) "tickPos", NULL
12760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 arg2
= (int) SWIG_AsInt(obj1
);
12764 if (PyErr_Occurred()) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 (arg1
)->SetTick(arg2
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12772 Py_INCREF(Py_None
); resultobj
= Py_None
;
12779 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxSlider
*arg1
= (wxSlider
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 (arg1
)->ClearSel();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 Py_INCREF(Py_None
); resultobj
= Py_None
;
12804 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxSlider
*arg1
= (wxSlider
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_FromInt((int)result
);
12830 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxSlider
*arg1
= (wxSlider
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= SWIG_FromInt((int)result
);
12856 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12857 PyObject
*resultobj
;
12858 wxSlider
*arg1
= (wxSlider
*) 0 ;
12861 PyObject
* obj0
= 0 ;
12862 PyObject
* obj1
= 0 ;
12863 PyObject
* obj2
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "min",(char *) "max", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 arg2
= (int) SWIG_AsInt(obj1
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12873 arg3
= (int) SWIG_AsInt(obj2
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 (arg1
)->SetSelection(arg2
,arg3
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 Py_INCREF(Py_None
); resultobj
= Py_None
;
12889 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12892 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12894 return Py_BuildValue((char *)"");
12896 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12897 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12902 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12907 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12909 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12916 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxWindow
*arg1
= (wxWindow
*) 0 ;
12920 wxString
*arg3
= 0 ;
12921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12925 long arg6
= (long) 0 ;
12926 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12927 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12928 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
12929 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12930 wxToggleButton
*result
;
12931 bool temp3
= False
;
12934 bool temp8
= False
;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 PyObject
* obj2
= 0 ;
12938 PyObject
* obj3
= 0 ;
12939 PyObject
* obj4
= 0 ;
12940 PyObject
* obj5
= 0 ;
12941 PyObject
* obj6
= 0 ;
12942 PyObject
* obj7
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12950 arg2
= (int) SWIG_AsInt(obj1
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 arg3
= wxString_in_helper(obj2
);
12954 if (arg3
== NULL
) SWIG_fail
;
12960 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12966 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12970 arg6
= (long) SWIG_AsLong(obj5
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12977 if (arg7
== NULL
) {
12978 PyErr_SetString(PyExc_TypeError
,"null reference");
12984 arg8
= wxString_in_helper(obj7
);
12985 if (arg8
== NULL
) SWIG_fail
;
12990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12991 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12993 wxPyEndAllowThreads(__tstate
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13019 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxToggleButton
*result
;
13022 char *kwnames
[] = {
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13029 result
= (wxToggleButton
*)new wxToggleButton();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13041 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13044 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13046 return Py_BuildValue((char *)"");
13048 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13049 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13054 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13059 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13061 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13068 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13094 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 char *kwnames
[] = {
13102 (char *) "self",(char *) "n", NULL
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13108 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13118 resultobj
= wxPyMake_wxObject(result
);
13126 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13145 resultobj
= SWIG_FromInt((int)result
);
13152 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13153 PyObject
*resultobj
;
13154 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13156 wxString
*arg3
= 0 ;
13158 bool temp3
= False
;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 PyObject
* obj2
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self",(char *) "n",(char *) "strText", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13169 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 arg3
= wxString_in_helper(obj2
);
13173 if (arg3
== NULL
) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13200 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 char *kwnames
[] = {
13208 (char *) "self",(char *) "n", NULL
13211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13218 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13220 wxPyEndAllowThreads(__tstate
);
13221 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13236 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13239 wxImageList
*arg2
= (wxImageList
*) 0 ;
13240 PyObject
* obj0
= 0 ;
13241 PyObject
* obj1
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "self",(char *) "imageList", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 (arg1
)->SetImageList(arg2
);
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 Py_INCREF(Py_None
); resultobj
= Py_None
;
13265 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13268 wxImageList
*arg2
= (wxImageList
*) 0 ;
13269 PyObject
* obj0
= 0 ;
13270 PyObject
* obj1
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self",(char *) "imageList", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13279 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->AssignImageList(arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13294 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13297 wxImageList
*result
;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= wxPyMake_wxObject(result
);
13322 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "n", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_FromInt((int)result
);
13352 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 PyObject
* obj2
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self",(char *) "n",(char *) "imageId", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13370 arg3
= (int) SWIG_AsInt(obj2
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13374 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13376 wxPyEndAllowThreads(__tstate
);
13377 if (PyErr_Occurred()) SWIG_fail
;
13380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13388 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 PyObject
* obj1
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "self",(char *) "size", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13404 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "sizePage", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13437 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13447 wxSize
* resultptr
;
13448 resultptr
= new wxSize((wxSize
&) result
);
13449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13457 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13462 PyObject
* obj0
= 0 ;
13463 PyObject
* obj1
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self",(char *) "n", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (bool)(arg1
)->DeletePage(arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13489 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13494 PyObject
* obj0
= 0 ;
13495 PyObject
* obj1
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self",(char *) "n", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13503 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (bool)(arg1
)->RemovePage(arg2
);
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13521 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13525 PyObject
* obj0
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (bool)(arg1
)->DeleteAllPages();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13549 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13552 wxWindow
*arg2
= (wxWindow
*) 0 ;
13553 wxString
*arg3
= 0 ;
13554 bool arg4
= (bool) False
;
13555 int arg5
= (int) -1 ;
13557 bool temp3
= False
;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 PyObject
* obj2
= 0 ;
13561 PyObject
* obj3
= 0 ;
13562 PyObject
* obj4
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 arg3
= wxString_in_helper(obj2
);
13574 if (arg3
== NULL
) SWIG_fail
;
13578 arg4
= (bool) SWIG_AsBool(obj3
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 arg5
= (int) SWIG_AsInt(obj4
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13587 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13589 wxPyEndAllowThreads(__tstate
);
13590 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13609 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13610 PyObject
*resultobj
;
13611 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13613 wxWindow
*arg3
= (wxWindow
*) 0 ;
13614 wxString
*arg4
= 0 ;
13615 bool arg5
= (bool) False
;
13616 int arg6
= (int) -1 ;
13618 bool temp4
= False
;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 PyObject
* obj2
= 0 ;
13622 PyObject
* obj3
= 0 ;
13623 PyObject
* obj4
= 0 ;
13624 PyObject
* obj5
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13634 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 arg4
= wxString_in_helper(obj3
);
13638 if (arg4
== NULL
) SWIG_fail
;
13642 arg5
= (bool) SWIG_AsBool(obj4
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13646 arg6
= (int) SWIG_AsInt(obj5
);
13647 if (PyErr_Occurred()) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13673 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 PyObject
* obj1
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self",(char *) "n", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (int)(arg1
)->SetSelection(arg2
);
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= SWIG_FromInt((int)result
);
13703 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13706 bool arg2
= (bool) True
;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self",(char *) "forward", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 arg2
= (bool) SWIG_AsBool(obj1
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->AdvanceSelection(arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 Py_INCREF(Py_None
); resultobj
= Py_None
;
13734 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
13736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13737 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
13739 return Py_BuildValue((char *)"");
13741 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13744 int arg2
= (int) 0 ;
13745 int arg3
= (int) -1 ;
13746 int arg4
= (int) -1 ;
13747 wxBookCtrlEvent
*result
;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 PyObject
* obj2
= 0 ;
13751 PyObject
* obj3
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13758 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13762 arg2
= (int) SWIG_AsInt(obj1
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 arg3
= (int) SWIG_AsInt(obj2
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 arg4
= (int) SWIG_AsInt(obj3
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
13787 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
;
13789 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13791 PyObject
* obj0
= 0 ;
13792 char *kwnames
[] = {
13793 (char *) "self", NULL
13796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
13797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_FromInt((int)result
);
13813 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 PyObject
* obj1
= 0 ;
13819 char *kwnames
[] = {
13820 (char *) "self",(char *) "nSel", NULL
13823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 arg2
= (int) SWIG_AsInt(obj1
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 (arg1
)->SetSelection(arg2
);
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 Py_INCREF(Py_None
); resultobj
= Py_None
;
13842 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_FromInt((int)result
);
13868 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 PyObject
* obj1
= 0 ;
13874 char *kwnames
[] = {
13875 (char *) "self",(char *) "nOldSel", NULL
13878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
13880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13881 arg2
= (int) SWIG_AsInt(obj1
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 (arg1
)->SetOldSelection(arg2
);
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13890 Py_INCREF(Py_None
); resultobj
= Py_None
;
13897 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13900 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
13902 return Py_BuildValue((char *)"");
13904 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxWindow
*arg1
= (wxWindow
*) 0 ;
13907 int arg2
= (int) -1 ;
13908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13912 long arg5
= (long) 0 ;
13913 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
13914 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13915 wxNotebook
*result
;
13918 bool temp6
= False
;
13919 PyObject
* obj0
= 0 ;
13920 PyObject
* obj1
= 0 ;
13921 PyObject
* obj2
= 0 ;
13922 PyObject
* obj3
= 0 ;
13923 PyObject
* obj4
= 0 ;
13924 PyObject
* obj5
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 arg2
= (int) SWIG_AsInt(obj1
);
13934 if (PyErr_Occurred()) SWIG_fail
;
13939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13945 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13949 arg5
= (long) SWIG_AsLong(obj4
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13954 arg6
= wxString_in_helper(obj5
);
13955 if (arg6
== NULL
) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= wxPyMake_wxObject(result
);
13983 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxNotebook
*result
;
13986 char *kwnames
[] = {
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
13992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13993 result
= (wxNotebook
*)new wxNotebook();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13999 resultobj
= wxPyMake_wxObject(result
);
14007 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14010 wxWindow
*arg2
= (wxWindow
*) 0 ;
14012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14016 long arg6
= (long) 0 ;
14017 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14022 bool temp7
= False
;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 PyObject
* obj3
= 0 ;
14027 PyObject
* obj4
= 0 ;
14028 PyObject
* obj5
= 0 ;
14029 PyObject
* obj6
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 arg3
= (int) SWIG_AsInt(obj2
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14054 arg6
= (long) SWIG_AsLong(obj5
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14059 arg7
= wxString_in_helper(obj6
);
14060 if (arg7
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14088 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= SWIG_FromInt((int)result
);
14114 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14115 PyObject
*resultobj
;
14116 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 PyObject
* obj1
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self",(char *) "padding", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14130 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 Py_INCREF(Py_None
); resultobj
= Py_None
;
14146 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "sz", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14181 wxPoint
*arg2
= 0 ;
14182 long *arg3
= (long *) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "pt", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14202 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14204 wxPyEndAllowThreads(__tstate
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= SWIG_FromInt((int)result
);
14209 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14210 resultobj
= t_output_helper(resultobj
,o
);
14218 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 PyObject
* obj1
= 0 ;
14226 char *kwnames
[] = {
14227 (char *) "self",(char *) "sizePage", NULL
14230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14241 wxPyEndAllowThreads(__tstate
);
14242 if (PyErr_Occurred()) SWIG_fail
;
14245 wxSize
* resultptr
;
14246 resultptr
= new wxSize((wxSize
&) result
);
14247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14255 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14258 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14260 return Py_BuildValue((char *)"");
14262 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14265 int arg2
= (int) 0 ;
14266 int arg3
= (int) -1 ;
14267 int arg4
= (int) -1 ;
14268 wxNotebookEvent
*result
;
14269 PyObject
* obj0
= 0 ;
14270 PyObject
* obj1
= 0 ;
14271 PyObject
* obj2
= 0 ;
14272 PyObject
* obj3
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14279 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 arg2
= (int) SWIG_AsInt(obj1
);
14284 if (PyErr_Occurred()) SWIG_fail
;
14287 arg3
= (int) SWIG_AsInt(obj2
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14291 arg4
= (int) SWIG_AsInt(obj3
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14308 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14311 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14313 return Py_BuildValue((char *)"");
14315 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14316 PyObject
*resultobj
;
14317 wxWindow
*arg1
= (wxWindow
*) 0 ;
14318 int arg2
= (int) -1 ;
14319 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14320 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14321 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14322 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14323 long arg5
= (long) 0 ;
14324 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14325 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14326 wxListbook
*result
;
14329 bool temp6
= False
;
14330 PyObject
* obj0
= 0 ;
14331 PyObject
* obj1
= 0 ;
14332 PyObject
* obj2
= 0 ;
14333 PyObject
* obj3
= 0 ;
14334 PyObject
* obj4
= 0 ;
14335 PyObject
* obj5
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14344 arg2
= (int) SWIG_AsInt(obj1
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14350 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14356 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14360 arg5
= (long) SWIG_AsLong(obj4
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14365 arg6
= wxString_in_helper(obj5
);
14366 if (arg6
== NULL
) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14392 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxListbook
*result
;
14395 char *kwnames
[] = {
14399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (wxListbook
*)new wxListbook();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14414 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxListbook
*arg1
= (wxListbook
*) 0 ;
14417 wxWindow
*arg2
= (wxWindow
*) 0 ;
14419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14423 long arg6
= (long) 0 ;
14424 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14429 bool temp7
= False
;
14430 PyObject
* obj0
= 0 ;
14431 PyObject
* obj1
= 0 ;
14432 PyObject
* obj2
= 0 ;
14433 PyObject
* obj3
= 0 ;
14434 PyObject
* obj4
= 0 ;
14435 PyObject
* obj5
= 0 ;
14436 PyObject
* obj6
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 arg3
= (int) SWIG_AsInt(obj2
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14451 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14457 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14461 arg6
= (long) SWIG_AsLong(obj5
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14466 arg7
= wxString_in_helper(obj6
);
14467 if (arg7
== NULL
) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14495 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxListbook
*arg1
= (wxListbook
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14523 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14526 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14528 return Py_BuildValue((char *)"");
14530 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14533 int arg2
= (int) 0 ;
14534 int arg3
= (int) -1 ;
14535 int arg4
= (int) -1 ;
14536 wxListbookEvent
*result
;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 PyObject
* obj3
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14547 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14551 arg2
= (int) SWIG_AsInt(obj1
);
14552 if (PyErr_Occurred()) SWIG_fail
;
14555 arg3
= (int) SWIG_AsInt(obj2
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 arg4
= (int) SWIG_AsInt(obj3
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14576 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14579 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14581 return Py_BuildValue((char *)"");
14583 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14584 PyObject
*resultobj
;
14585 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14586 wxBookCtrlSizer
*result
;
14587 PyObject
* obj0
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "nb", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14609 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14610 PyObject
*resultobj
;
14611 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 (arg1
)->RecalcSizes();
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14627 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "self", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 result
= (arg1
)->CalcMin();
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14654 wxSize
* resultptr
;
14655 resultptr
= new wxSize((wxSize
&) result
);
14656 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14664 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14667 wxBookCtrl
*result
;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (wxBookCtrl
*)(arg1
)->GetControl();
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
14690 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14693 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
14695 return Py_BuildValue((char *)"");
14697 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14700 wxNotebookSizer
*result
;
14701 PyObject
* obj0
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "nb", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
14723 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14726 PyObject
* obj0
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 (arg1
)->RecalcSizes();
14738 wxPyEndAllowThreads(__tstate
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14741 Py_INCREF(Py_None
); resultobj
= Py_None
;
14748 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14749 PyObject
*resultobj
;
14750 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14752 PyObject
* obj0
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (arg1
)->CalcMin();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14768 wxSize
* resultptr
;
14769 resultptr
= new wxSize((wxSize
&) result
);
14770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14778 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
14781 wxNotebook
*result
;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxNotebook
*)(arg1
)->GetNotebook();
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= wxPyMake_wxObject(result
);
14806 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
14808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
14811 return Py_BuildValue((char *)"");
14813 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "self", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (int)(arg1
)->GetId();
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_FromInt((int)result
);
14839 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (wxControl
*)(arg1
)->GetControl();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= wxPyMake_wxObject(result
);
14867 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14868 PyObject
*resultobj
;
14869 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14870 wxToolBarBase
*result
;
14871 PyObject
* obj0
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14887 resultobj
= wxPyMake_wxObject(result
);
14895 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (int)(arg1
)->IsButton();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_FromInt((int)result
);
14921 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (int)(arg1
)->IsControl();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_FromInt((int)result
);
14947 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14951 PyObject
* obj0
= 0 ;
14952 char *kwnames
[] = {
14953 (char *) "self", NULL
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
14957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 result
= (int)(arg1
)->IsSeparator();
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= SWIG_FromInt((int)result
);
14973 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "self", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
14984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (int)(arg1
)->GetStyle();
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_FromInt((int)result
);
14999 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (int)(arg1
)->GetKind();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_FromInt((int)result
);
15025 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (bool)(arg1
)->IsEnabled();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15053 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (bool)(arg1
)->IsToggled();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15081 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (bool)(arg1
)->CanBeToggled();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15109 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15125 result
= (wxBitmap
*) &_result_ref
;
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15132 wxBitmap
* resultptr
= new wxBitmap(*result
);
15133 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15141 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15156 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15157 result
= (wxBitmap
*) &_result_ref
;
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 wxBitmap
* resultptr
= new wxBitmap(*result
);
15165 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15173 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15175 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15177 PyObject
* obj0
= 0 ;
15178 char *kwnames
[] = {
15179 (char *) "self", NULL
15182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15187 result
= (arg1
)->GetBitmap();
15189 wxPyEndAllowThreads(__tstate
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 wxBitmap
* resultptr
;
15194 resultptr
= new wxBitmap((wxBitmap
&) result
);
15195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15203 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (arg1
)->GetLabel();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15235 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15236 PyObject
*resultobj
;
15237 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15239 PyObject
* obj0
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (arg1
)->GetShortHelp();
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15267 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (arg1
)->GetLongHelp();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15299 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15300 PyObject
*resultobj
;
15301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 PyObject
* obj1
= 0 ;
15306 char *kwnames
[] = {
15307 (char *) "self",(char *) "enable", NULL
15310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 arg2
= (bool) SWIG_AsBool(obj1
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 result
= (bool)(arg1
)->Enable(arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15331 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15356 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15361 PyObject
* obj0
= 0 ;
15362 PyObject
* obj1
= 0 ;
15363 char *kwnames
[] = {
15364 (char *) "self",(char *) "toggle", NULL
15367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15370 arg2
= (bool) SWIG_AsBool(obj1
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)(arg1
)->SetToggle(arg2
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15388 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15391 wxString
*arg2
= 0 ;
15393 bool temp2
= False
;
15394 PyObject
* obj0
= 0 ;
15395 PyObject
* obj1
= 0 ;
15396 char *kwnames
[] = {
15397 (char *) "self",(char *) "help", NULL
15400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15404 arg2
= wxString_in_helper(obj1
);
15405 if (arg2
== NULL
) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15432 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15433 PyObject
*resultobj
;
15434 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15435 wxString
*arg2
= 0 ;
15437 bool temp2
= False
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "help", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15448 arg2
= wxString_in_helper(obj1
);
15449 if (arg2
== NULL
) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15476 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15479 wxBitmap
*arg2
= 0 ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "bmp", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15492 if (arg2
== NULL
) {
15493 PyErr_SetString(PyExc_TypeError
,"null reference");
15497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15498 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 Py_INCREF(Py_None
); resultobj
= Py_None
;
15510 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
;
15512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15513 wxBitmap
*arg2
= 0 ;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "bmp", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15526 if (arg2
== NULL
) {
15527 PyErr_SetString(PyExc_TypeError
,"null reference");
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15547 wxString
*arg2
= 0 ;
15548 bool temp2
= False
;
15549 PyObject
* obj0
= 0 ;
15550 PyObject
* obj1
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "self",(char *) "label", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 arg2
= wxString_in_helper(obj1
);
15560 if (arg2
== NULL
) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->SetLabel((wxString
const &)*arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15585 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15588 PyObject
* obj0
= 0 ;
15589 char *kwnames
[] = {
15590 (char *) "self", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 Py_INCREF(Py_None
); resultobj
= Py_None
;
15610 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15613 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15614 PyObject
* obj0
= 0 ;
15615 PyObject
* obj1
= 0 ;
15616 char *kwnames
[] = {
15617 (char *) "self",(char *) "tbar", NULL
15620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->Attach(arg2
);
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15655 wxPyEndAllowThreads(__tstate
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= result
;
15665 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15668 PyObject
*arg2
= (PyObject
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self",(char *) "clientData", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15681 wxToolBarToolBase_SetClientData(arg1
,arg2
);
15683 wxPyEndAllowThreads(__tstate
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15686 Py_INCREF(Py_None
); resultobj
= Py_None
;
15693 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
15695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15696 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
15698 return Py_BuildValue((char *)"");
15700 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15704 wxString
*arg3
= 0 ;
15705 wxBitmap
*arg4
= 0 ;
15706 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
15707 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
15708 int arg6
= (int) wxITEM_NORMAL
;
15709 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15710 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15711 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15712 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15713 PyObject
*arg9
= (PyObject
*) NULL
;
15714 wxToolBarToolBase
*result
;
15715 bool temp3
= False
;
15716 bool temp7
= False
;
15717 bool temp8
= False
;
15718 PyObject
* obj0
= 0 ;
15719 PyObject
* obj1
= 0 ;
15720 PyObject
* obj2
= 0 ;
15721 PyObject
* obj3
= 0 ;
15722 PyObject
* obj4
= 0 ;
15723 PyObject
* obj5
= 0 ;
15724 PyObject
* obj6
= 0 ;
15725 PyObject
* obj7
= 0 ;
15726 PyObject
* obj8
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg2
= (int) SWIG_AsInt(obj1
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15737 arg3
= wxString_in_helper(obj2
);
15738 if (arg3
== NULL
) SWIG_fail
;
15741 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15744 if (arg4
== NULL
) {
15745 PyErr_SetString(PyExc_TypeError
,"null reference");
15749 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15750 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15752 if (arg5
== NULL
) {
15753 PyErr_SetString(PyExc_TypeError
,"null reference");
15758 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15763 arg7
= wxString_in_helper(obj6
);
15764 if (arg7
== NULL
) SWIG_fail
;
15770 arg8
= wxString_in_helper(obj7
);
15771 if (arg8
== NULL
) SWIG_fail
;
15779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15780 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
15782 wxPyEndAllowThreads(__tstate
);
15783 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= wxPyMake_wxObject(result
);
15818 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15823 wxString
*arg4
= 0 ;
15824 wxBitmap
*arg5
= 0 ;
15825 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
15826 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
15827 int arg7
= (int) wxITEM_NORMAL
;
15828 wxString
const &arg8_defvalue
= wxPyEmptyString
;
15829 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15830 wxString
const &arg9_defvalue
= wxPyEmptyString
;
15831 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15832 PyObject
*arg10
= (PyObject
*) NULL
;
15833 wxToolBarToolBase
*result
;
15834 bool temp4
= False
;
15835 bool temp8
= False
;
15836 bool temp9
= False
;
15837 PyObject
* obj0
= 0 ;
15838 PyObject
* obj1
= 0 ;
15839 PyObject
* obj2
= 0 ;
15840 PyObject
* obj3
= 0 ;
15841 PyObject
* obj4
= 0 ;
15842 PyObject
* obj5
= 0 ;
15843 PyObject
* obj6
= 0 ;
15844 PyObject
* obj7
= 0 ;
15845 PyObject
* obj8
= 0 ;
15846 PyObject
* obj9
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15856 arg3
= (int) SWIG_AsInt(obj2
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 arg4
= wxString_in_helper(obj3
);
15860 if (arg4
== NULL
) SWIG_fail
;
15863 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15866 if (arg5
== NULL
) {
15867 PyErr_SetString(PyExc_TypeError
,"null reference");
15871 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
15872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15874 if (arg6
== NULL
) {
15875 PyErr_SetString(PyExc_TypeError
,"null reference");
15880 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15885 arg8
= wxString_in_helper(obj7
);
15886 if (arg8
== NULL
) SWIG_fail
;
15892 arg9
= wxString_in_helper(obj8
);
15893 if (arg9
== NULL
) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15902 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
);
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= wxPyMake_wxObject(result
);
15940 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15941 PyObject
*resultobj
;
15942 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15943 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
15944 wxToolBarToolBase
*result
;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "tool", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= wxPyMake_wxObject(result
);
15972 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
15976 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
15977 wxToolBarToolBase
*result
;
15978 PyObject
* obj0
= 0 ;
15979 PyObject
* obj1
= 0 ;
15980 PyObject
* obj2
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self",(char *) "pos",(char *) "tool", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15990 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15994 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
15996 wxPyEndAllowThreads(__tstate
);
15997 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= wxPyMake_wxObject(result
);
16008 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16011 wxControl
*arg2
= (wxControl
*) 0 ;
16012 wxToolBarToolBase
*result
;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self",(char *) "control", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= wxPyMake_wxObject(result
);
16040 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16041 PyObject
*resultobj
;
16042 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16044 wxControl
*arg3
= (wxControl
*) 0 ;
16045 wxToolBarToolBase
*result
;
16046 PyObject
* obj0
= 0 ;
16047 PyObject
* obj1
= 0 ;
16048 PyObject
* obj2
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self",(char *) "pos",(char *) "control", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16056 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16057 if (PyErr_Occurred()) SWIG_fail
;
16058 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16062 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16064 wxPyEndAllowThreads(__tstate
);
16065 if (PyErr_Occurred()) SWIG_fail
;
16068 resultobj
= wxPyMake_wxObject(result
);
16076 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "id", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16090 arg2
= (int) SWIG_AsInt(obj1
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 resultobj
= wxPyMake_wxObject(result
);
16108 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16111 wxToolBarToolBase
*result
;
16112 PyObject
* obj0
= 0 ;
16113 char *kwnames
[] = {
16114 (char *) "self", NULL
16117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= wxPyMake_wxObject(result
);
16136 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16137 PyObject
*resultobj
;
16138 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16140 wxToolBarToolBase
*result
;
16141 PyObject
* obj0
= 0 ;
16142 PyObject
* obj1
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self",(char *) "pos", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16150 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= wxPyMake_wxObject(result
);
16168 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16172 wxToolBarToolBase
*result
;
16173 PyObject
* obj0
= 0 ;
16174 PyObject
* obj1
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "id", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 arg2
= (int) SWIG_AsInt(obj1
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 resultobj
= wxPyMake_wxObject(result
);
16200 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16201 PyObject
*resultobj
;
16202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 PyObject
* obj1
= 0 ;
16207 char *kwnames
[] = {
16208 (char *) "self",(char *) "pos", NULL
16211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16218 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16220 wxPyEndAllowThreads(__tstate
);
16221 if (PyErr_Occurred()) SWIG_fail
;
16224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16232 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self",(char *) "id", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16246 arg2
= (int) SWIG_AsInt(obj1
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)(arg1
)->DeleteTool(arg2
);
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16267 PyObject
* obj0
= 0 ;
16268 char *kwnames
[] = {
16269 (char *) "self", NULL
16272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16277 (arg1
)->ClearTools();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 Py_INCREF(Py_None
); resultobj
= Py_None
;
16289 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16293 PyObject
* obj0
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16303 result
= (bool)(arg1
)->Realize();
16305 wxPyEndAllowThreads(__tstate
);
16306 if (PyErr_Occurred()) SWIG_fail
;
16309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16322 PyObject
* obj0
= 0 ;
16323 PyObject
* obj1
= 0 ;
16324 PyObject
* obj2
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "id",(char *) "enable", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16332 arg2
= (int) SWIG_AsInt(obj1
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16334 arg3
= (bool) SWIG_AsBool(obj2
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16338 (arg1
)->EnableTool(arg2
,arg3
);
16340 wxPyEndAllowThreads(__tstate
);
16341 if (PyErr_Occurred()) SWIG_fail
;
16343 Py_INCREF(Py_None
); resultobj
= Py_None
;
16350 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self",(char *) "id",(char *) "toggle", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 arg2
= (int) SWIG_AsInt(obj1
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16367 arg3
= (bool) SWIG_AsBool(obj2
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16371 (arg1
)->ToggleTool(arg2
,arg3
);
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16376 Py_INCREF(Py_None
); resultobj
= Py_None
;
16383 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16384 PyObject
*resultobj
;
16385 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self",(char *) "id",(char *) "toggle", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16398 arg2
= (int) SWIG_AsInt(obj1
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16400 arg3
= (bool) SWIG_AsBool(obj2
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 (arg1
)->SetToggle(arg2
,arg3
);
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 Py_INCREF(Py_None
); resultobj
= Py_None
;
16416 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
;
16418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self",(char *) "id", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16430 arg2
= (int) SWIG_AsInt(obj1
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16436 wxPyEndAllowThreads(__tstate
);
16437 if (PyErr_Occurred()) SWIG_fail
;
16439 resultobj
= result
;
16446 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16447 PyObject
*resultobj
;
16448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16450 PyObject
*arg3
= (PyObject
*) 0 ;
16451 PyObject
* obj0
= 0 ;
16452 PyObject
* obj1
= 0 ;
16453 PyObject
* obj2
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self",(char *) "id",(char *) "clientData", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 arg2
= (int) SWIG_AsInt(obj1
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16471 Py_INCREF(Py_None
); resultobj
= Py_None
;
16478 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 PyObject
* obj1
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self",(char *) "id", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 arg2
= (int) SWIG_AsInt(obj1
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_FromInt((int)result
);
16508 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 char *kwnames
[] = {
16516 (char *) "self",(char *) "id", NULL
16519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 arg2
= (int) SWIG_AsInt(obj1
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (bool)(arg1
)->GetToolState(arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16540 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16545 PyObject
* obj0
= 0 ;
16546 PyObject
* obj1
= 0 ;
16547 char *kwnames
[] = {
16548 (char *) "self",(char *) "id", NULL
16551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16554 arg2
= (int) SWIG_AsInt(obj1
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16572 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16576 wxString
*arg3
= 0 ;
16577 bool temp3
= False
;
16578 PyObject
* obj0
= 0 ;
16579 PyObject
* obj1
= 0 ;
16580 PyObject
* obj2
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self",(char *) "id",(char *) "helpString", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 arg2
= (int) SWIG_AsInt(obj1
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16591 arg3
= wxString_in_helper(obj2
);
16592 if (arg3
== NULL
) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "id", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 arg2
= (int) SWIG_AsInt(obj1
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (arg1
)->GetToolShortHelp(arg2
);
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16653 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16657 wxString
*arg3
= 0 ;
16658 bool temp3
= False
;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 PyObject
* obj2
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self",(char *) "id",(char *) "helpString", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 arg2
= (int) SWIG_AsInt(obj1
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 arg3
= wxString_in_helper(obj2
);
16673 if (arg3
== NULL
) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 Py_INCREF(Py_None
); resultobj
= Py_None
;
16698 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self",(char *) "id", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 arg2
= (int) SWIG_AsInt(obj1
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 result
= (arg1
)->GetToolLongHelp(arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16734 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 PyObject
* obj2
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "x",(char *) "y", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 arg2
= (int) SWIG_AsInt(obj1
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16751 arg3
= (int) SWIG_AsInt(obj2
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->SetMargins(arg2
,arg3
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16772 PyObject
* obj0
= 0 ;
16773 PyObject
* obj1
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self",(char *) "size", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16783 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 (arg1
)->SetMargins((wxSize
const &)*arg2
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 Py_INCREF(Py_None
); resultobj
= Py_None
;
16799 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 PyObject
* obj1
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self",(char *) "packing", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16812 arg2
= (int) SWIG_AsInt(obj1
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 (arg1
)->SetToolPacking(arg2
);
16818 wxPyEndAllowThreads(__tstate
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16821 Py_INCREF(Py_None
); resultobj
= Py_None
;
16828 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16832 PyObject
* obj0
= 0 ;
16833 PyObject
* obj1
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self",(char *) "separation", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16841 arg2
= (int) SWIG_AsInt(obj1
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 (arg1
)->SetToolSeparation(arg2
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16850 Py_INCREF(Py_None
); resultobj
= Py_None
;
16857 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
16867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (arg1
)->GetToolMargins();
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16877 wxSize
* resultptr
;
16878 resultptr
= new wxSize((wxSize
&) result
);
16879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16887 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (arg1
)->GetMargins();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 wxSize
* resultptr
;
16908 resultptr
= new wxSize((wxSize
&) result
);
16909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16917 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "self", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (int)(arg1
)->GetToolPacking();
16933 wxPyEndAllowThreads(__tstate
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16936 resultobj
= SWIG_FromInt((int)result
);
16943 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16947 PyObject
* obj0
= 0 ;
16948 char *kwnames
[] = {
16949 (char *) "self", NULL
16952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
16953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (int)(arg1
)->GetToolSeparation();
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_FromInt((int)result
);
16969 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "nRows", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 arg2
= (int) SWIG_AsInt(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 (arg1
)->SetRows(arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 Py_INCREF(Py_None
); resultobj
= Py_None
;
16998 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 PyObject
* obj2
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self",(char *) "rows",(char *) "cols", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 arg2
= (int) SWIG_AsInt(obj1
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17015 arg3
= (int) SWIG_AsInt(obj2
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17019 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17021 wxPyEndAllowThreads(__tstate
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17024 Py_INCREF(Py_None
); resultobj
= Py_None
;
17031 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17035 PyObject
* obj0
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 result
= (int)(arg1
)->GetMaxRows();
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 resultobj
= SWIG_FromInt((int)result
);
17057 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (int)(arg1
)->GetMaxCols();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= SWIG_FromInt((int)result
);
17083 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self",(char *) "size", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17103 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17105 wxPyEndAllowThreads(__tstate
);
17106 if (PyErr_Occurred()) SWIG_fail
;
17108 Py_INCREF(Py_None
); resultobj
= Py_None
;
17115 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17116 PyObject
*resultobj
;
17117 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17119 PyObject
* obj0
= 0 ;
17120 char *kwnames
[] = {
17121 (char *) "self", NULL
17124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (arg1
)->GetToolBitmapSize();
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 wxSize
* resultptr
;
17136 resultptr
= new wxSize((wxSize
&) result
);
17137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17145 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17149 PyObject
* obj0
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= (arg1
)->GetToolSize();
17161 wxPyEndAllowThreads(__tstate
);
17162 if (PyErr_Occurred()) SWIG_fail
;
17165 wxSize
* resultptr
;
17166 resultptr
= new wxSize((wxSize
&) result
);
17167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17175 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17180 wxToolBarToolBase
*result
;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 PyObject
* obj2
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "self",(char *) "x",(char *) "y", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 arg2
= (int) SWIG_AsInt(obj1
);
17192 if (PyErr_Occurred()) SWIG_fail
;
17193 arg3
= (int) SWIG_AsInt(obj2
);
17194 if (PyErr_Occurred()) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= wxPyMake_wxObject(result
);
17211 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17215 wxToolBarToolBase
*result
;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "toolid", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17225 arg2
= (int) SWIG_AsInt(obj1
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= wxPyMake_wxObject(result
);
17243 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= (bool)(arg1
)->IsVertical();
17259 wxPyEndAllowThreads(__tstate
);
17260 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17271 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17274 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17276 return Py_BuildValue((char *)"");
17278 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxWindow
*arg1
= (wxWindow
*) 0 ;
17282 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17283 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17284 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17285 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17286 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17287 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17288 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17292 bool temp6
= False
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 PyObject
* obj3
= 0 ;
17297 PyObject
* obj4
= 0 ;
17298 PyObject
* obj5
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 arg2
= (int) SWIG_AsInt(obj1
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17311 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17317 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17321 arg5
= (long) SWIG_AsLong(obj4
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17326 arg6
= wxString_in_helper(obj5
);
17327 if (arg6
== NULL
) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= wxPyMake_wxObject(result
);
17355 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
;
17358 char *kwnames
[] = {
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxToolBar
*)new wxToolBar();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= wxPyMake_wxObject(result
);
17379 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17382 wxWindow
*arg2
= (wxWindow
*) 0 ;
17384 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17385 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17386 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17387 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17388 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17389 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17390 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17394 bool temp7
= False
;
17395 PyObject
* obj0
= 0 ;
17396 PyObject
* obj1
= 0 ;
17397 PyObject
* obj2
= 0 ;
17398 PyObject
* obj3
= 0 ;
17399 PyObject
* obj4
= 0 ;
17400 PyObject
* obj5
= 0 ;
17401 PyObject
* obj6
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17411 arg3
= (int) SWIG_AsInt(obj2
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17426 arg6
= (long) SWIG_AsLong(obj5
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17431 arg7
= wxString_in_helper(obj6
);
17432 if (arg7
== NULL
) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17460 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17465 wxToolBarToolBase
*result
;
17466 PyObject
* obj0
= 0 ;
17467 PyObject
* obj1
= 0 ;
17468 PyObject
* obj2
= 0 ;
17469 char *kwnames
[] = {
17470 (char *) "self",(char *) "x",(char *) "y", NULL
17473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17476 arg2
= (int) SWIG_AsInt(obj1
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17478 arg3
= (int) SWIG_AsInt(obj2
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17482 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17484 wxPyEndAllowThreads(__tstate
);
17485 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= wxPyMake_wxObject(result
);
17496 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17499 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17501 return Py_BuildValue((char *)"");
17503 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17504 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17509 static PyObject
*_wrap_ListCtrlNameStr_get() {
17514 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17516 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17523 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxColour
const &arg1_defvalue
= wxNullColour
;
17526 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17527 wxColour
const &arg2_defvalue
= wxNullColour
;
17528 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17529 wxFont
const &arg3_defvalue
= wxNullFont
;
17530 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17531 wxListItemAttr
*result
;
17534 PyObject
* obj0
= 0 ;
17535 PyObject
* obj1
= 0 ;
17536 PyObject
* obj2
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17545 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17551 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17555 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17558 if (arg3
== NULL
) {
17559 PyErr_SetString(PyExc_TypeError
,"null reference");
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17577 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17580 wxColour
*arg2
= 0 ;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self",(char *) "colText", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17593 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 Py_INCREF(Py_None
); resultobj
= Py_None
;
17609 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17612 wxColour
*arg2
= 0 ;
17614 PyObject
* obj0
= 0 ;
17615 PyObject
* obj1
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self",(char *) "colBack", NULL
17620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 Py_INCREF(Py_None
); resultobj
= Py_None
;
17641 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "font", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17657 if (arg2
== NULL
) {
17658 PyErr_SetString(PyExc_TypeError
,"null reference");
17662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17663 (arg1
)->SetFont((wxFont
const &)*arg2
);
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 Py_INCREF(Py_None
); resultobj
= Py_None
;
17675 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17679 PyObject
* obj0
= 0 ;
17680 char *kwnames
[] = {
17681 (char *) "self", NULL
17684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
17685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->HasTextColour();
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (bool)(arg1
)->HasBackgroundColour();
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17731 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17735 PyObject
* obj0
= 0 ;
17736 char *kwnames
[] = {
17737 (char *) "self", NULL
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 result
= (bool)(arg1
)->HasFont();
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17759 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17760 PyObject
*resultobj
;
17761 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
17769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 result
= (arg1
)->GetTextColour();
17775 wxPyEndAllowThreads(__tstate
);
17776 if (PyErr_Occurred()) SWIG_fail
;
17779 wxColour
* resultptr
;
17780 resultptr
= new wxColour((wxColour
&) result
);
17781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17789 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (arg1
)->GetBackgroundColour();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 wxColour
* resultptr
;
17810 resultptr
= new wxColour((wxColour
&) result
);
17811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
17819 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17820 PyObject
*resultobj
;
17821 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17823 PyObject
* obj0
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (arg1
)->GetFont();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17839 wxFont
* resultptr
;
17840 resultptr
= new wxFont((wxFont
&) result
);
17841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
17849 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
;
17851 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17852 PyObject
* obj0
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 wxListItemAttr_Destroy(arg1
);
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 Py_INCREF(Py_None
); resultobj
= Py_None
;
17874 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
17876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
17879 return Py_BuildValue((char *)"");
17881 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 wxListItem
*result
;
17884 char *kwnames
[] = {
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxListItem
*)new wxListItem();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= wxPyMake_wxObject(result
);
17905 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxListItem
*arg1
= (wxListItem
*) 0 ;
17908 PyObject
* obj0
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxListItem
*arg1
= (wxListItem
*) 0 ;
17933 PyObject
* obj0
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 wxPyEndAllowThreads(__tstate
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 Py_INCREF(Py_None
); resultobj
= Py_None
;
17955 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17956 PyObject
*resultobj
;
17957 wxListItem
*arg1
= (wxListItem
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 char *kwnames
[] = {
17960 (char *) "self", NULL
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
17964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 (arg1
)->ClearAttributes();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 Py_INCREF(Py_None
); resultobj
= Py_None
;
17980 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxListItem
*arg1
= (wxListItem
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "mask", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (long) SWIG_AsLong(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 (arg1
)->SetMask(arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 Py_INCREF(Py_None
); resultobj
= Py_None
;
18009 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxListItem
*arg1
= (wxListItem
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "id", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 arg2
= (long) SWIG_AsLong(obj1
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->SetId(arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 Py_INCREF(Py_None
); resultobj
= Py_None
;
18038 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxListItem
*arg1
= (wxListItem
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 PyObject
* obj1
= 0 ;
18044 char *kwnames
[] = {
18045 (char *) "self",(char *) "col", NULL
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 arg2
= (int) SWIG_AsInt(obj1
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetColumn(arg2
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 Py_INCREF(Py_None
); resultobj
= Py_None
;
18067 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
;
18069 wxListItem
*arg1
= (wxListItem
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char *kwnames
[] = {
18074 (char *) "self",(char *) "state", NULL
18077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18080 arg2
= (long) SWIG_AsLong(obj1
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 (arg1
)->SetState(arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 Py_INCREF(Py_None
); resultobj
= Py_None
;
18096 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxListItem
*arg1
= (wxListItem
*) 0 ;
18100 PyObject
* obj0
= 0 ;
18101 PyObject
* obj1
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self",(char *) "stateMask", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18109 arg2
= (long) SWIG_AsLong(obj1
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18113 (arg1
)->SetStateMask(arg2
);
18115 wxPyEndAllowThreads(__tstate
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 Py_INCREF(Py_None
); resultobj
= Py_None
;
18125 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
;
18127 wxListItem
*arg1
= (wxListItem
*) 0 ;
18128 wxString
*arg2
= 0 ;
18129 bool temp2
= False
;
18130 PyObject
* obj0
= 0 ;
18131 PyObject
* obj1
= 0 ;
18132 char *kwnames
[] = {
18133 (char *) "self",(char *) "text", NULL
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18140 arg2
= wxString_in_helper(obj1
);
18141 if (arg2
== NULL
) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 (arg1
)->SetText((wxString
const &)*arg2
);
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18151 Py_INCREF(Py_None
); resultobj
= Py_None
;
18166 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18167 PyObject
*resultobj
;
18168 wxListItem
*arg1
= (wxListItem
*) 0 ;
18170 PyObject
* obj0
= 0 ;
18171 PyObject
* obj1
= 0 ;
18172 char *kwnames
[] = {
18173 (char *) "self",(char *) "image", NULL
18176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18179 arg2
= (int) SWIG_AsInt(obj1
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 (arg1
)->SetImage(arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 Py_INCREF(Py_None
); resultobj
= Py_None
;
18195 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18196 PyObject
*resultobj
;
18197 wxListItem
*arg1
= (wxListItem
*) 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char *kwnames
[] = {
18202 (char *) "self",(char *) "data", NULL
18205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18208 arg2
= (long) SWIG_AsLong(obj1
);
18209 if (PyErr_Occurred()) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 (arg1
)->SetData(arg2
);
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 Py_INCREF(Py_None
); resultobj
= Py_None
;
18224 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxListItem
*arg1
= (wxListItem
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "width", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (int) SWIG_AsInt(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetWidth(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxListItem
*arg1
= (wxListItem
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 PyObject
* obj1
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self",(char *) "align", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxListItem
*arg1
= (wxListItem
*) 0 ;
18285 wxColour
*arg2
= 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "colText", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxListItem
*arg1
= (wxListItem
*) 0 ;
18317 wxColour
*arg2
= 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self",(char *) "colBack", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 Py_INCREF(Py_None
); resultobj
= Py_None
;
18346 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxListItem
*arg1
= (wxListItem
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self",(char *) "font", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18362 if (arg2
== NULL
) {
18363 PyErr_SetString(PyExc_TypeError
,"null reference");
18367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18368 (arg1
)->SetFont((wxFont
const &)*arg2
);
18370 wxPyEndAllowThreads(__tstate
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18373 Py_INCREF(Py_None
); resultobj
= Py_None
;
18380 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxListItem
*arg1
= (wxListItem
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (long)(arg1
)->GetMask();
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_FromLong((long)result
);
18406 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 wxListItem
*arg1
= (wxListItem
*) 0 ;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "self", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (long)(arg1
)->GetId();
18422 wxPyEndAllowThreads(__tstate
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= SWIG_FromLong((long)result
);
18432 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18433 PyObject
*resultobj
;
18434 wxListItem
*arg1
= (wxListItem
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 char *kwnames
[] = {
18438 (char *) "self", NULL
18441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18446 result
= (int)(arg1
)->GetColumn();
18448 wxPyEndAllowThreads(__tstate
);
18449 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= SWIG_FromInt((int)result
);
18458 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18459 PyObject
*resultobj
;
18460 wxListItem
*arg1
= (wxListItem
*) 0 ;
18462 PyObject
* obj0
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (long)(arg1
)->GetState();
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18477 resultobj
= SWIG_FromLong((long)result
);
18484 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18485 PyObject
*resultobj
;
18486 wxListItem
*arg1
= (wxListItem
*) 0 ;
18488 PyObject
* obj0
= 0 ;
18489 char *kwnames
[] = {
18490 (char *) "self", NULL
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 wxString
const &_result_ref
= (arg1
)->GetText();
18500 result
= (wxString
*) &_result_ref
;
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18510 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18519 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxListItem
*arg1
= (wxListItem
*) 0 ;
18523 PyObject
* obj0
= 0 ;
18524 char *kwnames
[] = {
18525 (char *) "self", NULL
18528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (int)(arg1
)->GetImage();
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_FromInt((int)result
);
18545 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxListItem
*arg1
= (wxListItem
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (long)(arg1
)->GetData();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_FromLong((long)result
);
18571 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxListItem
*arg1
= (wxListItem
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (int)(arg1
)->GetWidth();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_FromInt((int)result
);
18597 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxListItem
*arg1
= (wxListItem
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (int)(arg1
)->GetAlign();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_FromInt((int)result
);
18623 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxListItem
*arg1
= (wxListItem
*) 0 ;
18626 wxListItemAttr
*result
;
18627 PyObject
* obj0
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18649 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxListItem
*arg1
= (wxListItem
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (bool)(arg1
)->HasAttributes();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18677 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxListItem
*arg1
= (wxListItem
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
18687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= ((wxListItem
const *)arg1
)->GetTextColour();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18697 wxColour
* resultptr
;
18698 resultptr
= new wxColour((wxColour
&) result
);
18699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18707 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxListItem
*arg1
= (wxListItem
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 char *kwnames
[] = {
18713 (char *) "self", NULL
18716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18727 wxColour
* resultptr
;
18728 resultptr
= new wxColour((wxColour
&) result
);
18729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18737 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxListItem
*arg1
= (wxListItem
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= ((wxListItem
const *)arg1
)->GetFont();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18757 wxFont
* resultptr
;
18758 resultptr
= new wxFont((wxFont
&) result
);
18759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18767 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18768 PyObject
*resultobj
;
18769 wxListItem
*arg1
= (wxListItem
*) 0 ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "m_mask", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18780 arg2
= (long) SWIG_AsLong(obj1
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18782 if (arg1
) (arg1
)->m_mask
= arg2
;
18784 Py_INCREF(Py_None
); resultobj
= Py_None
;
18791 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxListItem
*arg1
= (wxListItem
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 result
= (long) ((arg1
)->m_mask
);
18805 resultobj
= SWIG_FromLong((long)result
);
18812 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18813 PyObject
*resultobj
;
18814 wxListItem
*arg1
= (wxListItem
*) 0 ;
18816 PyObject
* obj0
= 0 ;
18817 PyObject
* obj1
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "self",(char *) "m_itemId", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18825 arg2
= (long) SWIG_AsLong(obj1
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18827 if (arg1
) (arg1
)->m_itemId
= arg2
;
18829 Py_INCREF(Py_None
); resultobj
= Py_None
;
18836 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxListItem
*arg1
= (wxListItem
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
18846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 result
= (long) ((arg1
)->m_itemId
);
18850 resultobj
= SWIG_FromLong((long)result
);
18857 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxListItem
*arg1
= (wxListItem
*) 0 ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self",(char *) "m_col", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18870 arg2
= (int) SWIG_AsInt(obj1
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18872 if (arg1
) (arg1
)->m_col
= arg2
;
18874 Py_INCREF(Py_None
); resultobj
= Py_None
;
18881 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
;
18883 wxListItem
*arg1
= (wxListItem
*) 0 ;
18885 PyObject
* obj0
= 0 ;
18886 char *kwnames
[] = {
18887 (char *) "self", NULL
18890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
18891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18893 result
= (int) ((arg1
)->m_col
);
18895 resultobj
= SWIG_FromInt((int)result
);
18902 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxListItem
*arg1
= (wxListItem
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "m_state", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 arg2
= (long) SWIG_AsLong(obj1
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18917 if (arg1
) (arg1
)->m_state
= arg2
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxListItem
*arg1
= (wxListItem
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 result
= (long) ((arg1
)->m_state
);
18940 resultobj
= SWIG_FromLong((long)result
);
18947 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxListItem
*arg1
= (wxListItem
*) 0 ;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "m_stateMask", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18960 arg2
= (long) SWIG_AsLong(obj1
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18962 if (arg1
) (arg1
)->m_stateMask
= arg2
;
18964 Py_INCREF(Py_None
); resultobj
= Py_None
;
18971 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxListItem
*arg1
= (wxListItem
*) 0 ;
18975 PyObject
* obj0
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 result
= (long) ((arg1
)->m_stateMask
);
18985 resultobj
= SWIG_FromLong((long)result
);
18992 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
;
18994 wxListItem
*arg1
= (wxListItem
*) 0 ;
18995 wxString
*arg2
= (wxString
*) 0 ;
18996 bool temp2
= False
;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "m_text", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 arg2
= wxString_in_helper(obj1
);
19008 if (arg2
== NULL
) SWIG_fail
;
19011 if (arg1
) (arg1
)->m_text
= *arg2
;
19013 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxListItem
*arg1
= (wxListItem
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 result
= (wxString
*)& ((arg1
)->m_text
);
19044 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19046 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19055 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxListItem
*arg1
= (wxListItem
*) 0 ;
19059 PyObject
* obj0
= 0 ;
19060 PyObject
* obj1
= 0 ;
19061 char *kwnames
[] = {
19062 (char *) "self",(char *) "m_image", NULL
19065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19068 arg2
= (int) SWIG_AsInt(obj1
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19070 if (arg1
) (arg1
)->m_image
= arg2
;
19072 Py_INCREF(Py_None
); resultobj
= Py_None
;
19079 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxListItem
*arg1
= (wxListItem
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 result
= (int) ((arg1
)->m_image
);
19093 resultobj
= SWIG_FromInt((int)result
);
19100 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItem
*arg1
= (wxListItem
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "m_data", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 arg2
= (long) SWIG_AsLong(obj1
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19115 if (arg1
) (arg1
)->m_data
= arg2
;
19117 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxListItem
*arg1
= (wxListItem
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 result
= (long) ((arg1
)->m_data
);
19138 resultobj
= SWIG_FromLong((long)result
);
19145 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19146 PyObject
*resultobj
;
19147 wxListItem
*arg1
= (wxListItem
*) 0 ;
19149 PyObject
* obj0
= 0 ;
19150 PyObject
* obj1
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "self",(char *) "m_format", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19158 arg2
= (int) SWIG_AsInt(obj1
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19160 if (arg1
) (arg1
)->m_format
= arg2
;
19162 Py_INCREF(Py_None
); resultobj
= Py_None
;
19169 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19170 PyObject
*resultobj
;
19171 wxListItem
*arg1
= (wxListItem
*) 0 ;
19173 PyObject
* obj0
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19181 result
= (int) ((arg1
)->m_format
);
19183 resultobj
= SWIG_FromInt((int)result
);
19190 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxListItem
*arg1
= (wxListItem
*) 0 ;
19194 PyObject
* obj0
= 0 ;
19195 PyObject
* obj1
= 0 ;
19196 char *kwnames
[] = {
19197 (char *) "self",(char *) "m_width", NULL
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19203 arg2
= (int) SWIG_AsInt(obj1
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19205 if (arg1
) (arg1
)->m_width
= arg2
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19214 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19215 PyObject
*resultobj
;
19216 wxListItem
*arg1
= (wxListItem
*) 0 ;
19218 PyObject
* obj0
= 0 ;
19219 char *kwnames
[] = {
19220 (char *) "self", NULL
19223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 result
= (int) ((arg1
)->m_width
);
19228 resultobj
= SWIG_FromInt((int)result
);
19235 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19238 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19240 return Py_BuildValue((char *)"");
19242 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19243 PyObject
*resultobj
;
19244 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19245 int arg2
= (int) 0 ;
19246 wxListEvent
*result
;
19247 PyObject
* obj0
= 0 ;
19248 PyObject
* obj1
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "commandType",(char *) "id", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 arg2
= (int) SWIG_AsInt(obj1
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19276 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "m_code", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 arg2
= (int) SWIG_AsInt(obj1
);
19290 if (PyErr_Occurred()) SWIG_fail
;
19291 if (arg1
) (arg1
)->m_code
= arg2
;
19293 Py_INCREF(Py_None
); resultobj
= Py_None
;
19300 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19312 result
= (int) ((arg1
)->m_code
);
19314 resultobj
= SWIG_FromInt((int)result
);
19321 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "m_oldItemIndex", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (long) SWIG_AsLong(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19336 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19338 Py_INCREF(Py_None
); resultobj
= Py_None
;
19345 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19349 PyObject
* obj0
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "self", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 result
= (long) ((arg1
)->m_oldItemIndex
);
19359 resultobj
= SWIG_FromLong((long)result
);
19366 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "m_itemIndex", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= (long) SWIG_AsLong(obj1
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19381 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19402 result
= (long) ((arg1
)->m_itemIndex
);
19404 resultobj
= SWIG_FromLong((long)result
);
19411 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 char *kwnames
[] = {
19418 (char *) "self",(char *) "m_col", NULL
19421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 arg2
= (int) SWIG_AsInt(obj1
);
19425 if (PyErr_Occurred()) SWIG_fail
;
19426 if (arg1
) (arg1
)->m_col
= arg2
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_ListEvent_m_col_get(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_m_col_get",kwnames
,&obj0
)) goto fail
;
19445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19447 result
= (int) ((arg1
)->m_col
);
19449 resultobj
= SWIG_FromInt((int)result
);
19456 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19459 wxPoint
*arg2
= (wxPoint
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "m_pointDrag", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19471 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19473 Py_INCREF(Py_None
); resultobj
= Py_None
;
19480 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19484 PyObject
* obj0
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19492 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19501 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19504 wxListItem
*result
;
19505 PyObject
* obj0
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 result
= (wxListItem
*)& ((arg1
)->m_item
);
19516 resultobj
= wxPyMake_wxObject(result
);
19524 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= (int)(arg1
)->GetKeyCode();
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_FromInt((int)result
);
19550 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19554 PyObject
* obj0
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (long)(arg1
)->GetIndex();
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= SWIG_FromLong((long)result
);
19576 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19580 PyObject
* obj0
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (int)(arg1
)->GetColumn();
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 resultobj
= SWIG_FromInt((int)result
);
19602 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19603 PyObject
*resultobj
;
19604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (arg1
)->GetPoint();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19622 wxPoint
* resultptr
;
19623 resultptr
= new wxPoint((wxPoint
&) result
);
19624 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19632 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19633 PyObject
*resultobj
;
19634 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19636 PyObject
* obj0
= 0 ;
19637 char *kwnames
[] = {
19638 (char *) "self", NULL
19641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 wxString
const &_result_ref
= (arg1
)->GetLabel();
19648 result
= (wxString
*) &_result_ref
;
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19658 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19667 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 wxString
const &_result_ref
= (arg1
)->GetText();
19683 result
= (wxString
*) &_result_ref
;
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19691 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19693 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19702 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
19712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (int)(arg1
)->GetImage();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= SWIG_FromInt((int)result
);
19728 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19729 PyObject
*resultobj
;
19730 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19742 result
= (long)(arg1
)->GetData();
19744 wxPyEndAllowThreads(__tstate
);
19745 if (PyErr_Occurred()) SWIG_fail
;
19747 resultobj
= SWIG_FromLong((long)result
);
19754 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 result
= (long)(arg1
)->GetMask();
19770 wxPyEndAllowThreads(__tstate
);
19771 if (PyErr_Occurred()) SWIG_fail
;
19773 resultobj
= SWIG_FromLong((long)result
);
19780 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
;
19782 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19783 wxListItem
*result
;
19784 PyObject
* obj0
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 wxListItem
const &_result_ref
= (arg1
)->GetItem();
19796 result
= (wxListItem
*) &_result_ref
;
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
19809 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19810 PyObject
*resultobj
;
19811 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19813 PyObject
* obj0
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (long)(arg1
)->GetCacheFrom();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 resultobj
= SWIG_FromLong((long)result
);
19835 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19849 result
= (long)(arg1
)->GetCacheTo();
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_FromLong((long)result
);
19861 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "editCancelled", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 arg2
= (bool) SWIG_AsBool(obj1
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 (arg1
)->SetEditCanceled(arg2
);
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19911 Py_INCREF(Py_None
); resultobj
= Py_None
;
19918 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19921 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
19923 return Py_BuildValue((char *)"");
19925 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxWindow
*arg1
= (wxWindow
*) 0 ;
19928 int arg2
= (int) -1 ;
19929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19933 long arg5
= (long) wxLC_ICON
;
19934 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
19935 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
19936 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
19937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19938 wxPyListCtrl
*result
;
19941 bool temp7
= False
;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 PyObject
* obj2
= 0 ;
19945 PyObject
* obj3
= 0 ;
19946 PyObject
* obj4
= 0 ;
19947 PyObject
* obj5
= 0 ;
19948 PyObject
* obj6
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 arg2
= (int) SWIG_AsInt(obj1
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19963 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19969 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19973 arg5
= (long) SWIG_AsLong(obj4
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19980 if (arg6
== NULL
) {
19981 PyErr_SetString(PyExc_TypeError
,"null reference");
19987 arg7
= wxString_in_helper(obj6
);
19988 if (arg7
== NULL
) SWIG_fail
;
19993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19994 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
19996 wxPyEndAllowThreads(__tstate
);
19997 if (PyErr_Occurred()) SWIG_fail
;
19999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20014 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxPyListCtrl
*result
;
20017 char *kwnames
[] = {
20021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20036 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20039 wxWindow
*arg2
= (wxWindow
*) 0 ;
20040 int arg3
= (int) -1 ;
20041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20045 long arg6
= (long) wxLC_ICON
;
20046 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20047 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20048 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20049 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20053 bool temp8
= False
;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 PyObject
* obj2
= 0 ;
20057 PyObject
* obj3
= 0 ;
20058 PyObject
* obj4
= 0 ;
20059 PyObject
* obj5
= 0 ;
20060 PyObject
* obj6
= 0 ;
20061 PyObject
* obj7
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 arg3
= (int) SWIG_AsInt(obj2
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20078 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20084 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20088 arg6
= (long) SWIG_AsLong(obj5
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20095 if (arg7
== NULL
) {
20096 PyErr_SetString(PyExc_TypeError
,"null reference");
20102 arg8
= wxString_in_helper(obj7
);
20103 if (arg8
== NULL
) SWIG_fail
;
20108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20111 wxPyEndAllowThreads(__tstate
);
20112 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20131 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20134 PyObject
*arg2
= (PyObject
*) 0 ;
20135 PyObject
*arg3
= (PyObject
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 PyObject
* obj2
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self",(char *) "self",(char *) "_class", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20165 wxColour
*arg2
= 0 ;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self",(char *) "col", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20197 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20200 wxColour
*arg2
= 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "col", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20232 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20236 wxListItem
*result
;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "col", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 arg2
= (int) SWIG_AsInt(obj1
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20252 wxPyEndAllowThreads(__tstate
);
20253 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= wxPyMake_wxObject(result
);
20264 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20268 wxListItem
*arg3
= 0 ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 PyObject
* obj2
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self",(char *) "col",(char *) "item", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20280 arg2
= (int) SWIG_AsInt(obj1
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20282 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20283 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20285 if (arg3
== NULL
) {
20286 PyErr_SetString(PyExc_TypeError
,"null reference");
20290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20305 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20306 PyObject
*resultobj
;
20307 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20312 char *kwnames
[] = {
20313 (char *) "self",(char *) "col", NULL
20316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20319 arg2
= (int) SWIG_AsInt(obj1
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20323 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_FromInt((int)result
);
20335 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 PyObject
* obj1
= 0 ;
20343 PyObject
* obj2
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self",(char *) "col",(char *) "width", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 arg2
= (int) SWIG_AsInt(obj1
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20353 arg3
= (int) SWIG_AsInt(obj2
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20371 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 resultobj
= SWIG_FromInt((int)result
);
20397 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 char *kwnames
[] = {
20403 (char *) "self", NULL
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20413 wxPyEndAllowThreads(__tstate
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20417 wxRect
* resultptr
;
20418 resultptr
= new wxRect((wxRect
&) result
);
20419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20427 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20431 int arg3
= (int) 0 ;
20432 wxListItem
*result
;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 PyObject
* obj2
= 0 ;
20436 char *kwnames
[] = {
20437 (char *) "self",(char *) "itemId",(char *) "col", NULL
20440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20443 arg2
= (long) SWIG_AsLong(obj1
);
20444 if (PyErr_Occurred()) SWIG_fail
;
20446 arg3
= (int) SWIG_AsInt(obj2
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20451 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= wxPyMake_wxObject(result
);
20465 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20468 wxListItem
*arg2
= 0 ;
20470 PyObject
* obj0
= 0 ;
20471 PyObject
* obj1
= 0 ;
20472 char *kwnames
[] = {
20473 (char *) "self",(char *) "info", NULL
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20482 if (arg2
== NULL
) {
20483 PyErr_SetString(PyExc_TypeError
,"null reference");
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= (bool)(arg1
)->SetItem(*arg2
);
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20502 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20507 wxString
*arg4
= 0 ;
20508 int arg5
= (int) -1 ;
20510 bool temp4
= False
;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 PyObject
* obj2
= 0 ;
20514 PyObject
* obj3
= 0 ;
20515 PyObject
* obj4
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20523 arg2
= (long) SWIG_AsLong(obj1
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20525 arg3
= (int) SWIG_AsInt(obj2
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 arg4
= wxString_in_helper(obj3
);
20529 if (arg4
== NULL
) SWIG_fail
;
20533 arg5
= (int) SWIG_AsInt(obj4
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 resultobj
= SWIG_FromLong((long)result
);
20558 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 PyObject
* obj1
= 0 ;
20566 PyObject
* obj2
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 arg2
= (long) SWIG_AsLong(obj1
);
20575 if (PyErr_Occurred()) SWIG_fail
;
20576 arg3
= (long) SWIG_AsLong(obj2
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_FromInt((int)result
);
20592 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 PyObject
* obj2
= 0 ;
20602 PyObject
* obj3
= 0 ;
20603 char *kwnames
[] = {
20604 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20610 arg2
= (long) SWIG_AsLong(obj1
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20612 arg3
= (long) SWIG_AsLong(obj2
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20614 arg4
= (long) SWIG_AsLong(obj3
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20618 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20632 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20639 PyObject
* obj0
= 0 ;
20640 PyObject
* obj1
= 0 ;
20641 PyObject
* obj2
= 0 ;
20642 PyObject
* obj3
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (long) SWIG_AsLong(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20652 arg3
= (int) SWIG_AsInt(obj2
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20654 arg4
= (int) SWIG_AsInt(obj3
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20672 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20673 PyObject
*resultobj
;
20674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 PyObject
* obj1
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "item", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20686 arg2
= (long) SWIG_AsLong(obj1
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20708 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20712 wxString
*arg3
= 0 ;
20713 bool temp3
= False
;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 PyObject
* obj2
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self",(char *) "item",(char *) "str", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 arg2
= (long) SWIG_AsLong(obj1
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 arg3
= wxString_in_helper(obj2
);
20728 if (arg3
== NULL
) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20738 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
;
20755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20758 PyObject
* obj0
= 0 ;
20759 PyObject
* obj1
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "item", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 arg2
= (long) SWIG_AsLong(obj1
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 resultobj
= SWIG_FromLong((long)result
);
20783 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 PyObject
* obj2
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self",(char *) "item",(char *) "data", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 arg2
= (long) SWIG_AsLong(obj1
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20801 arg3
= (long) SWIG_AsLong(obj2
);
20802 if (PyErr_Occurred()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20819 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self",(char *) "item", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 arg2
= (long) SWIG_AsLong(obj1
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20843 wxPoint
* resultptr
;
20844 resultptr
= new wxPoint((wxPoint
&) result
);
20845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20853 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20854 PyObject
*resultobj
;
20855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20857 int arg3
= (int) wxLIST_RECT_BOUNDS
;
20859 PyObject
* obj0
= 0 ;
20860 PyObject
* obj1
= 0 ;
20861 PyObject
* obj2
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self",(char *) "item",(char *) "code", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 arg2
= (long) SWIG_AsLong(obj1
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20872 arg3
= (int) SWIG_AsInt(obj2
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20883 wxRect
* resultptr
;
20884 resultptr
= new wxRect((wxRect
&) result
);
20885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20893 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20897 wxPoint
*arg3
= 0 ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 PyObject
* obj2
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self",(char *) "item",(char *) "pos", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20910 arg2
= (long) SWIG_AsLong(obj1
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20914 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20932 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20946 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
20948 wxPyEndAllowThreads(__tstate
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20951 resultobj
= SWIG_FromInt((int)result
);
20958 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20962 PyObject
* obj0
= 0 ;
20963 char *kwnames
[] = {
20964 (char *) "self", NULL
20967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
20968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_FromInt((int)result
);
20984 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20988 PyObject
* obj0
= 0 ;
20989 char *kwnames
[] = {
20990 (char *) "self", NULL
20993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
20994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20998 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 wxSize
* resultptr
;
21005 resultptr
= new wxSize((wxSize
&) result
);
21006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21014 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21018 bool arg3
= (bool) False
;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 PyObject
* obj2
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 arg2
= (int) SWIG_AsInt(obj1
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 arg3
= (bool) SWIG_AsBool(obj2
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 (arg1
)->SetItemSpacing(arg2
,arg3
);
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 Py_INCREF(Py_None
); resultobj
= Py_None
;
21049 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_FromInt((int)result
);
21075 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21095 wxColour
* resultptr
;
21096 resultptr
= new wxColour((wxColour
&) result
);
21097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21105 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21108 wxColour
*arg2
= 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "col", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_FromLong((long)result
);
21163 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21167 bool arg3
= (bool) True
;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 PyObject
* obj2
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self",(char *) "style",(char *) "add", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21178 arg2
= (long) SWIG_AsLong(obj1
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 arg3
= (bool) SWIG_AsBool(obj2
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->SetSingleStyle(arg2
,arg3
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char *kwnames
[] = {
21205 (char *) "self",(char *) "style", NULL
21208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21211 arg2
= (long) SWIG_AsLong(obj1
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 (arg1
)->SetWindowStyleFlag(arg2
);
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 Py_INCREF(Py_None
); resultobj
= Py_None
;
21227 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21231 int arg3
= (int) wxLIST_NEXT_ALL
;
21232 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 PyObject
* obj2
= 0 ;
21237 PyObject
* obj3
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 arg2
= (long) SWIG_AsLong(obj1
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 arg3
= (int) SWIG_AsInt(obj2
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21252 arg4
= (int) SWIG_AsInt(obj3
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_FromLong((long)result
);
21269 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21273 wxImageList
*result
;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "which", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21283 arg2
= (int) SWIG_AsInt(obj1
);
21284 if (PyErr_Occurred()) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= wxPyMake_wxObject(result
);
21301 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21304 wxImageList
*arg2
= (wxImageList
*) 0 ;
21306 PyObject
* obj0
= 0 ;
21307 PyObject
* obj1
= 0 ;
21308 PyObject
* obj2
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "imageList",(char *) "which", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 arg3
= (int) SWIG_AsInt(obj2
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetImageList(arg2
,arg3
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21337 wxImageList
*arg2
= (wxImageList
*) 0 ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 PyObject
* obj2
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "imageList",(char *) "which", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21350 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21351 arg3
= (int) SWIG_AsInt(obj2
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 (arg1
)->AssignImageList(arg2
,arg3
);
21357 wxPyEndAllowThreads(__tstate
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21360 Py_INCREF(Py_None
); resultobj
= Py_None
;
21367 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21409 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21411 wxPyEndAllowThreads(__tstate
);
21412 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21423 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "item", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 arg2
= (long) SWIG_AsLong(obj1
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 (arg1
)->RefreshItem(arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 Py_INCREF(Py_None
); resultobj
= Py_None
;
21452 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21457 PyObject
* obj0
= 0 ;
21458 PyObject
* obj1
= 0 ;
21459 PyObject
* obj2
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21467 arg2
= (long) SWIG_AsLong(obj1
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21469 arg3
= (long) SWIG_AsLong(obj2
);
21470 if (PyErr_Occurred()) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 (arg1
)->RefreshItems(arg2
,arg3
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 Py_INCREF(Py_None
); resultobj
= Py_None
;
21485 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21488 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21490 PyObject
* obj0
= 0 ;
21491 PyObject
* obj1
= 0 ;
21492 char *kwnames
[] = {
21493 (char *) "self",(char *) "flag", NULL
21496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 arg2
= (int) SWIG_AsInt(obj1
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (bool)(arg1
)->Arrange(arg2
);
21507 wxPyEndAllowThreads(__tstate
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21519 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21521 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self",(char *) "item", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 arg2
= (long) SWIG_AsLong(obj1
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (bool)(arg1
)->DeleteItem(arg2
);
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21551 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (bool)(arg1
)->DeleteAllItems();
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21579 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 PyObject
* obj1
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self",(char *) "col", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21593 arg2
= (int) SWIG_AsInt(obj1
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21611 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21612 PyObject
*resultobj
;
21613 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21615 PyObject
* obj0
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 result
= (bool)(arg1
)->DeleteAllColumns();
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21639 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 (arg1
)->ClearAll();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "item", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 arg2
= (long) SWIG_AsLong(obj1
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 (arg1
)->EditLabel(arg2
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 Py_INCREF(Py_None
); resultobj
= Py_None
;
21693 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 PyObject
* obj1
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self",(char *) "item", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 arg2
= (long) SWIG_AsLong(obj1
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 result
= (bool)(arg1
)->EnsureVisible(arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21725 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21729 wxString
*arg3
= 0 ;
21730 bool arg4
= (bool) False
;
21732 bool temp3
= False
;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 PyObject
* obj3
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 arg2
= (long) SWIG_AsLong(obj1
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 arg3
= wxString_in_helper(obj2
);
21748 if (arg3
== NULL
) SWIG_fail
;
21752 arg4
= (bool) SWIG_AsBool(obj3
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21757 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_FromLong((long)result
);
21777 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 PyObject
* obj2
= 0 ;
21786 char *kwnames
[] = {
21787 (char *) "self",(char *) "start",(char *) "data", NULL
21790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 arg2
= (long) SWIG_AsLong(obj1
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21795 arg3
= (long) SWIG_AsLong(obj2
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
21801 wxPyEndAllowThreads(__tstate
);
21802 if (PyErr_Occurred()) SWIG_fail
;
21804 resultobj
= SWIG_FromLong((long)result
);
21811 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21815 wxPoint
*arg3
= 0 ;
21819 PyObject
* obj0
= 0 ;
21820 PyObject
* obj1
= 0 ;
21821 PyObject
* obj2
= 0 ;
21822 PyObject
* obj3
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21830 arg2
= (long) SWIG_AsLong(obj1
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21834 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21836 arg4
= (int) SWIG_AsInt(obj3
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21845 resultobj
= SWIG_FromLong((long)result
);
21852 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21853 PyObject
*resultobj
;
21854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21855 wxPoint
*arg2
= 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "point", NULL
21867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
21868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= SWIG_FromLong((long)result
);
21883 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21884 resultobj
= t_output_helper(resultobj
,o
);
21892 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21895 wxListItem
*arg2
= 0 ;
21897 PyObject
* obj0
= 0 ;
21898 PyObject
* obj1
= 0 ;
21899 char *kwnames
[] = {
21900 (char *) "self",(char *) "info", NULL
21903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21909 if (arg2
== NULL
) {
21910 PyErr_SetString(PyExc_TypeError
,"null reference");
21914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21915 result
= (long)(arg1
)->InsertItem(*arg2
);
21917 wxPyEndAllowThreads(__tstate
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= SWIG_FromLong((long)result
);
21927 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21928 PyObject
*resultobj
;
21929 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21931 wxString
*arg3
= 0 ;
21933 bool temp3
= False
;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 char *kwnames
[] = {
21938 (char *) "self",(char *) "index",(char *) "label", NULL
21941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21944 arg2
= (long) SWIG_AsLong(obj1
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 arg3
= wxString_in_helper(obj2
);
21948 if (arg3
== NULL
) SWIG_fail
;
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
21955 wxPyEndAllowThreads(__tstate
);
21956 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= SWIG_FromLong((long)result
);
21973 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 PyObject
* obj2
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21989 arg2
= (long) SWIG_AsLong(obj1
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21991 arg3
= (int) SWIG_AsInt(obj2
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22000 resultobj
= SWIG_FromLong((long)result
);
22007 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22011 wxString
*arg3
= 0 ;
22014 bool temp3
= False
;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 PyObject
* obj3
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 arg2
= (long) SWIG_AsLong(obj1
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 arg3
= wxString_in_helper(obj2
);
22030 if (arg3
== NULL
) SWIG_fail
;
22033 arg4
= (int) SWIG_AsInt(obj3
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22037 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_FromLong((long)result
);
22057 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22058 PyObject
*resultobj
;
22059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22061 wxListItem
*arg3
= 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 PyObject
* obj2
= 0 ;
22066 char *kwnames
[] = {
22067 (char *) "self",(char *) "col",(char *) "info", NULL
22070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 arg2
= (long) SWIG_AsLong(obj1
);
22074 if (PyErr_Occurred()) SWIG_fail
;
22075 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22078 if (arg3
== NULL
) {
22079 PyErr_SetString(PyExc_TypeError
,"null reference");
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_FromLong((long)result
);
22096 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
;
22098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22100 wxString
*arg3
= 0 ;
22101 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22102 int arg5
= (int) -1 ;
22104 bool temp3
= False
;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 PyObject
* obj3
= 0 ;
22109 PyObject
* obj4
= 0 ;
22110 char *kwnames
[] = {
22111 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 arg2
= (long) SWIG_AsLong(obj1
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 arg3
= wxString_in_helper(obj2
);
22121 if (arg3
== NULL
) SWIG_fail
;
22125 arg4
= (int) SWIG_AsInt(obj3
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 arg5
= (int) SWIG_AsInt(obj4
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 resultobj
= SWIG_FromLong((long)result
);
22154 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "count", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22167 arg2
= (long) SWIG_AsLong(obj1
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 (arg1
)->SetItemCount(arg2
);
22173 wxPyEndAllowThreads(__tstate
);
22174 if (PyErr_Occurred()) SWIG_fail
;
22176 Py_INCREF(Py_None
); resultobj
= Py_None
;
22183 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22185 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22189 PyObject
* obj0
= 0 ;
22190 PyObject
* obj1
= 0 ;
22191 PyObject
* obj2
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "dx",(char *) "dy", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 arg2
= (int) SWIG_AsInt(obj1
);
22200 if (PyErr_Occurred()) SWIG_fail
;
22201 arg3
= (int) SWIG_AsInt(obj2
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22205 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22207 wxPyEndAllowThreads(__tstate
);
22208 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22219 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22223 wxColour
*arg3
= 0 ;
22225 PyObject
* obj0
= 0 ;
22226 PyObject
* obj1
= 0 ;
22227 PyObject
* obj2
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "item",(char *) "col", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 arg2
= (long) SWIG_AsLong(obj1
);
22236 if (PyErr_Occurred()) SWIG_fail
;
22239 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22243 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 Py_INCREF(Py_None
); resultobj
= Py_None
;
22255 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
;
22257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22260 PyObject
* obj0
= 0 ;
22261 PyObject
* obj1
= 0 ;
22262 char *kwnames
[] = {
22263 (char *) "self",(char *) "item", NULL
22266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22269 arg2
= (long) SWIG_AsLong(obj1
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22279 wxColour
* resultptr
;
22280 resultptr
= new wxColour((wxColour
&) result
);
22281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22289 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22290 PyObject
*resultobj
;
22291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22293 wxColour
*arg3
= 0 ;
22295 PyObject
* obj0
= 0 ;
22296 PyObject
* obj1
= 0 ;
22297 PyObject
* obj2
= 0 ;
22298 char *kwnames
[] = {
22299 (char *) "self",(char *) "item",(char *) "col", NULL
22302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22305 arg2
= (long) SWIG_AsLong(obj1
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22309 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 Py_INCREF(Py_None
); resultobj
= Py_None
;
22325 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22330 PyObject
* obj0
= 0 ;
22331 PyObject
* obj1
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "item", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 arg2
= (long) SWIG_AsLong(obj1
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 wxColour
* resultptr
;
22350 resultptr
= new wxColour((wxColour
&) result
);
22351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22359 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 PyObject
*arg2
= (PyObject
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "self",(char *) "func", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22390 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22410 resultobj
= wxPyMake_wxObject(result
);
22418 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22421 wxVisualAttributes result
;
22422 PyObject
* obj0
= 0 ;
22423 char *kwnames
[] = {
22424 (char *) "variant", NULL
22427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22429 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxVisualAttributes
* resultptr
;
22441 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22450 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22453 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22455 return Py_BuildValue((char *)"");
22457 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22458 PyObject
*resultobj
;
22459 wxWindow
*arg1
= (wxWindow
*) 0 ;
22460 int arg2
= (int) -1 ;
22461 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22462 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22463 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22464 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22465 long arg5
= (long) wxLC_REPORT
;
22466 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22467 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22468 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22469 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22470 wxListView
*result
;
22473 bool temp7
= False
;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 PyObject
* obj3
= 0 ;
22478 PyObject
* obj4
= 0 ;
22479 PyObject
* obj5
= 0 ;
22480 PyObject
* obj6
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 arg2
= (int) SWIG_AsInt(obj1
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22495 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22501 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22505 arg5
= (long) SWIG_AsLong(obj4
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22512 if (arg6
== NULL
) {
22513 PyErr_SetString(PyExc_TypeError
,"null reference");
22519 arg7
= wxString_in_helper(obj6
);
22520 if (arg7
== NULL
) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22546 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxListView
*result
;
22549 char *kwnames
[] = {
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 result
= (wxListView
*)new wxListView();
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22568 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxListView
*arg1
= (wxListView
*) 0 ;
22571 wxWindow
*arg2
= (wxWindow
*) 0 ;
22572 int arg3
= (int) -1 ;
22573 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22574 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22575 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22576 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22577 long arg6
= (long) wxLC_REPORT
;
22578 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22579 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22580 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22581 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22585 bool temp8
= False
;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 PyObject
* obj2
= 0 ;
22589 PyObject
* obj3
= 0 ;
22590 PyObject
* obj4
= 0 ;
22591 PyObject
* obj5
= 0 ;
22592 PyObject
* obj6
= 0 ;
22593 PyObject
* obj7
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22604 arg3
= (int) SWIG_AsInt(obj2
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22620 arg6
= (long) SWIG_AsLong(obj5
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22624 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22627 if (arg7
== NULL
) {
22628 PyErr_SetString(PyExc_TypeError
,"null reference");
22634 arg8
= wxString_in_helper(obj7
);
22635 if (arg8
== NULL
) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22663 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxListView
*arg1
= (wxListView
*) 0 ;
22667 bool arg3
= (bool) True
;
22668 PyObject
* obj0
= 0 ;
22669 PyObject
* obj1
= 0 ;
22670 PyObject
* obj2
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self",(char *) "n",(char *) "on", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22678 arg2
= (long) SWIG_AsLong(obj1
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22681 arg3
= (bool) SWIG_AsBool(obj2
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 (arg1
)->Select(arg2
,arg3
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22691 Py_INCREF(Py_None
); resultobj
= Py_None
;
22698 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxListView
*arg1
= (wxListView
*) 0 ;
22702 PyObject
* obj0
= 0 ;
22703 PyObject
* obj1
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self",(char *) "index", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22711 arg2
= (long) SWIG_AsLong(obj1
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 (arg1
)->Focus(arg2
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 Py_INCREF(Py_None
); resultobj
= Py_None
;
22727 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxListView
*arg1
= (wxListView
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 char *kwnames
[] = {
22733 (char *) "self", NULL
22736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
22737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_FromLong((long)result
);
22753 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxListView
*arg1
= (wxListView
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "item", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 arg2
= (long) SWIG_AsLong(obj1
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
22773 wxPyEndAllowThreads(__tstate
);
22774 if (PyErr_Occurred()) SWIG_fail
;
22776 resultobj
= SWIG_FromLong((long)result
);
22783 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22784 PyObject
*resultobj
;
22785 wxListView
*arg1
= (wxListView
*) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22797 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_FromLong((long)result
);
22809 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxListView
*arg1
= (wxListView
*) 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self",(char *) "index", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22823 arg2
= (long) SWIG_AsLong(obj1
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)(arg1
)->IsSelected(arg2
);
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22841 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxListView
*arg1
= (wxListView
*) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 PyObject
* obj1
= 0 ;
22848 PyObject
* obj2
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self",(char *) "col",(char *) "image", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 arg2
= (int) SWIG_AsInt(obj1
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22858 arg3
= (int) SWIG_AsInt(obj2
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 (arg1
)->SetColumnImage(arg2
,arg3
);
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 Py_INCREF(Py_None
); resultobj
= Py_None
;
22874 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxListView
*arg1
= (wxListView
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 PyObject
* obj1
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "col", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (int) SWIG_AsInt(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 (arg1
)->ClearColumnImage(arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
22905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22906 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
22908 return Py_BuildValue((char *)"");
22910 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
22911 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
22916 static PyObject
*_wrap_TreeCtrlNameStr_get() {
22921 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22923 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
22930 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxTreeItemId
*result
;
22933 char *kwnames
[] = {
22937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
22939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22940 result
= (wxTreeItemId
*)new wxTreeItemId();
22942 wxPyEndAllowThreads(__tstate
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
22952 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22954 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "self", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
22987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
22988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22991 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23005 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23006 PyObject
*resultobj
;
23007 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23008 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 PyObject
* obj1
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self",(char *) "other", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23037 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23040 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 PyObject
* obj1
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "self",(char *) "other", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23055 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23057 wxPyEndAllowThreads(__tstate
);
23058 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23069 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23072 void *arg2
= (void *) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 char *kwnames
[] = {
23076 (char *) "self",(char *) "m_pItem", NULL
23079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23082 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23083 if (arg1
) (arg1
)->m_pItem
= arg2
;
23085 Py_INCREF(Py_None
); resultobj
= Py_None
;
23092 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23096 PyObject
* obj0
= 0 ;
23097 char *kwnames
[] = {
23098 (char *) "self", NULL
23101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23104 result
= (void *) ((arg1
)->m_pItem
);
23106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23113 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23116 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23118 return Py_BuildValue((char *)"");
23120 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23121 PyObject
*resultobj
;
23122 PyObject
*arg1
= (PyObject
*) NULL
;
23123 wxPyTreeItemData
*result
;
23124 PyObject
* obj0
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "obj", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23135 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23137 wxPyEndAllowThreads(__tstate
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23147 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23151 PyObject
* obj0
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 result
= (PyObject
*)(arg1
)->GetData();
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= result
;
23173 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23176 PyObject
*arg2
= (PyObject
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self",(char *) "obj", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 (arg1
)->SetData(arg2
);
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 Py_INCREF(Py_None
); resultobj
= Py_None
;
23201 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23204 wxTreeItemId
*result
;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23217 result
= (wxTreeItemId
*) &_result_ref
;
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23230 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23233 wxTreeItemId
*arg2
= 0 ;
23234 PyObject
* obj0
= 0 ;
23235 PyObject
* obj1
= 0 ;
23236 char *kwnames
[] = {
23237 (char *) "self",(char *) "id", NULL
23240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23243 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23246 if (arg2
== NULL
) {
23247 PyErr_SetString(PyExc_TypeError
,"null reference");
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 Py_INCREF(Py_None
); resultobj
= Py_None
;
23264 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 wxPyTreeItemData_Destroy(arg1
);
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 Py_INCREF(Py_None
); resultobj
= Py_None
;
23289 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23292 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23294 return Py_BuildValue((char *)"");
23296 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23299 int arg2
= (int) 0 ;
23300 wxTreeEvent
*result
;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "commandType",(char *) "id", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23309 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 arg2
= (int) SWIG_AsInt(obj1
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23330 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23333 wxTreeItemId result
;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23350 wxTreeItemId
* resultptr
;
23351 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23360 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23363 wxTreeItemId
*arg2
= 0 ;
23364 PyObject
* obj0
= 0 ;
23365 PyObject
* obj1
= 0 ;
23366 char *kwnames
[] = {
23367 (char *) "self",(char *) "item", NULL
23370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23376 if (arg2
== NULL
) {
23377 PyErr_SetString(PyExc_TypeError
,"null reference");
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23397 wxTreeItemId result
;
23398 PyObject
* obj0
= 0 ;
23399 char *kwnames
[] = {
23400 (char *) "self", NULL
23403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 wxTreeItemId
* resultptr
;
23415 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23424 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23425 PyObject
*resultobj
;
23426 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23427 wxTreeItemId
*arg2
= 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self",(char *) "item", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23440 if (arg2
== NULL
) {
23441 PyErr_SetString(PyExc_TypeError
,"null reference");
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 Py_INCREF(Py_None
); resultobj
= Py_None
;
23458 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23462 PyObject
* obj0
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23478 wxPoint
* resultptr
;
23479 resultptr
= new wxPoint((wxPoint
&) result
);
23480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23488 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23491 wxPoint
*arg2
= 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "pt", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23504 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 Py_INCREF(Py_None
); resultobj
= Py_None
;
23520 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23523 wxKeyEvent
*result
;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23536 result
= (wxKeyEvent
*) &_result_ref
;
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23549 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23553 PyObject
* obj0
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_FromInt((int)result
);
23575 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23578 wxKeyEvent
*arg2
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "evt", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23591 if (arg2
== NULL
) {
23592 PyErr_SetString(PyExc_TypeError
,"null reference");
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23625 result
= (wxString
*) &_result_ref
;
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23644 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23647 wxString
*arg2
= 0 ;
23648 bool temp2
= False
;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "label", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23659 arg2
= wxString_in_helper(obj1
);
23660 if (arg2
== NULL
) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 (arg1
)->SetLabel((wxString
const &)*arg2
);
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23670 Py_INCREF(Py_None
); resultobj
= Py_None
;
23685 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23713 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23717 PyObject
* obj0
= 0 ;
23718 PyObject
* obj1
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self",(char *) "editCancelled", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23726 arg2
= (bool) SWIG_AsBool(obj1
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23730 (arg1
)->SetEditCanceled(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 Py_INCREF(Py_None
); resultobj
= Py_None
;
23742 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23745 wxString
*arg2
= 0 ;
23746 bool temp2
= False
;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "toolTip", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 arg2
= wxString_in_helper(obj1
);
23758 if (arg2
== NULL
) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 Py_INCREF(Py_None
); resultobj
= Py_None
;
23783 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
23785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23786 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
23788 return Py_BuildValue((char *)"");
23790 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23791 PyObject
*resultobj
;
23792 wxWindow
*arg1
= (wxWindow
*) 0 ;
23793 int arg2
= (int) -1 ;
23794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23798 long arg5
= (long) wxTR_DEFAULT_STYLE
;
23799 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23800 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23801 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
23802 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23803 wxPyTreeCtrl
*result
;
23806 bool temp7
= False
;
23807 PyObject
* obj0
= 0 ;
23808 PyObject
* obj1
= 0 ;
23809 PyObject
* obj2
= 0 ;
23810 PyObject
* obj3
= 0 ;
23811 PyObject
* obj4
= 0 ;
23812 PyObject
* obj5
= 0 ;
23813 PyObject
* obj6
= 0 ;
23814 char *kwnames
[] = {
23815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 arg2
= (int) SWIG_AsInt(obj1
);
23823 if (PyErr_Occurred()) SWIG_fail
;
23828 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23834 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23838 arg5
= (long) SWIG_AsLong(obj4
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23845 if (arg6
== NULL
) {
23846 PyErr_SetString(PyExc_TypeError
,"null reference");
23852 arg7
= wxString_in_helper(obj6
);
23853 if (arg7
== NULL
) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= wxPyMake_wxObject(result
);
23881 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxPyTreeCtrl
*result
;
23884 char *kwnames
[] = {
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= wxPyMake_wxObject(result
);
23905 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
23908 wxWindow
*arg2
= (wxWindow
*) 0 ;
23909 int arg3
= (int) -1 ;
23910 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23911 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23912 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23913 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23914 long arg6
= (long) wxTR_DEFAULT_STYLE
;
23915 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23916 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23917 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
23918 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23922 bool temp8
= False
;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 PyObject
* obj2
= 0 ;
23926 PyObject
* obj3
= 0 ;
23927 PyObject
* obj4
= 0 ;
23928 PyObject
* obj5
= 0 ;
23929 PyObject
* obj6
= 0 ;
23930 PyObject
* obj7
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23941 arg3
= (int) SWIG_AsInt(obj2
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23957 arg6
= (long) SWIG_AsLong(obj5
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23964 if (arg7
== NULL
) {
23965 PyErr_SetString(PyExc_TypeError
,"null reference");
23971 arg8
= wxString_in_helper(obj7
);
23972 if (arg8
== NULL
) SWIG_fail
;
23977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23978 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23980 wxPyEndAllowThreads(__tstate
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24000 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24003 PyObject
*arg2
= (PyObject
*) 0 ;
24004 PyObject
*arg3
= (PyObject
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 PyObject
* obj2
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self",(char *) "self",(char *) "_class", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 Py_INCREF(Py_None
); resultobj
= Py_None
;
24031 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24032 PyObject
*resultobj
;
24033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24035 PyObject
* obj0
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24057 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24060 unsigned int result
;
24061 PyObject
* obj0
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24083 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
;
24085 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24086 unsigned int arg2
;
24087 PyObject
* obj0
= 0 ;
24088 PyObject
* obj1
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self",(char *) "indent", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24096 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24100 (arg1
)->SetIndent(arg2
);
24102 wxPyEndAllowThreads(__tstate
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 Py_INCREF(Py_None
); resultobj
= Py_None
;
24112 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24113 PyObject
*resultobj
;
24114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24115 unsigned int result
;
24116 PyObject
* obj0
= 0 ;
24117 char *kwnames
[] = {
24118 (char *) "self", NULL
24121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24126 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24128 wxPyEndAllowThreads(__tstate
);
24129 if (PyErr_Occurred()) SWIG_fail
;
24131 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24138 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24139 PyObject
*resultobj
;
24140 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24141 unsigned int arg2
;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char *kwnames
[] = {
24145 (char *) "self",(char *) "spacing", NULL
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24155 (arg1
)->SetSpacing(arg2
);
24157 wxPyEndAllowThreads(__tstate
);
24158 if (PyErr_Occurred()) SWIG_fail
;
24160 Py_INCREF(Py_None
); resultobj
= Py_None
;
24167 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24170 wxImageList
*result
;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= wxPyMake_wxObject(result
);
24195 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24198 wxImageList
*result
;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= wxPyMake_wxObject(result
);
24223 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24226 wxImageList
*arg2
= (wxImageList
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self",(char *) "imageList", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 (arg1
)->SetImageList(arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 Py_INCREF(Py_None
); resultobj
= Py_None
;
24252 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24255 wxImageList
*arg2
= (wxImageList
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "imageList", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->SetStateImageList(arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24284 wxImageList
*arg2
= (wxImageList
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "imageList", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24295 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->AssignImageList(arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24313 wxImageList
*arg2
= (wxImageList
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 char *kwnames
[] = {
24317 (char *) "self",(char *) "imageList", NULL
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24324 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 (arg1
)->AssignStateImageList(arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 Py_INCREF(Py_None
); resultobj
= Py_None
;
24339 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24342 wxTreeItemId
*arg2
= 0 ;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "item", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24356 if (arg2
== NULL
) {
24357 PyErr_SetString(PyExc_TypeError
,"null reference");
24361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24362 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24364 wxPyEndAllowThreads(__tstate
);
24365 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24380 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24381 PyObject
*resultobj
;
24382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24383 wxTreeItemId
*arg2
= 0 ;
24384 int arg3
= (int) wxTreeItemIcon_Normal
;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "item",(char *) "which", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24399 if (arg2
== NULL
) {
24400 PyErr_SetString(PyExc_TypeError
,"null reference");
24404 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= SWIG_FromInt((int)result
);
24421 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24422 PyObject
*resultobj
;
24423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24424 wxTreeItemId
*arg2
= 0 ;
24425 wxPyTreeItemData
*result
;
24426 PyObject
* obj0
= 0 ;
24427 PyObject
* obj1
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "item", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24438 if (arg2
== NULL
) {
24439 PyErr_SetString(PyExc_TypeError
,"null reference");
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24456 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24459 wxTreeItemId
*arg2
= 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "item", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24471 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24473 if (arg2
== NULL
) {
24474 PyErr_SetString(PyExc_TypeError
,"null reference");
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= result
;
24491 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24494 wxTreeItemId
*arg2
= 0 ;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "item", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24508 if (arg2
== NULL
) {
24509 PyErr_SetString(PyExc_TypeError
,"null reference");
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24520 wxColour
* resultptr
;
24521 resultptr
= new wxColour((wxColour
&) result
);
24522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24530 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24533 wxTreeItemId
*arg2
= 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "item", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24547 if (arg2
== NULL
) {
24548 PyErr_SetString(PyExc_TypeError
,"null reference");
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24559 wxColour
* resultptr
;
24560 resultptr
= new wxColour((wxColour
&) result
);
24561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24569 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24572 wxTreeItemId
*arg2
= 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self",(char *) "item", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24586 if (arg2
== NULL
) {
24587 PyErr_SetString(PyExc_TypeError
,"null reference");
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 wxFont
* resultptr
;
24599 resultptr
= new wxFont((wxFont
&) result
);
24600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24608 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24609 PyObject
*resultobj
;
24610 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24611 wxTreeItemId
*arg2
= 0 ;
24612 wxString
*arg3
= 0 ;
24613 bool temp3
= False
;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 PyObject
* obj2
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "item",(char *) "text", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg2
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24632 arg3
= wxString_in_helper(obj2
);
24633 if (arg3
== NULL
) SWIG_fail
;
24637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24638 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24640 wxPyEndAllowThreads(__tstate
);
24641 if (PyErr_Occurred()) SWIG_fail
;
24643 Py_INCREF(Py_None
); resultobj
= Py_None
;
24658 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24659 PyObject
*resultobj
;
24660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24661 wxTreeItemId
*arg2
= 0 ;
24663 int arg4
= (int) wxTreeItemIcon_Normal
;
24664 PyObject
* obj0
= 0 ;
24665 PyObject
* obj1
= 0 ;
24666 PyObject
* obj2
= 0 ;
24667 PyObject
* obj3
= 0 ;
24668 char *kwnames
[] = {
24669 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24678 if (arg2
== NULL
) {
24679 PyErr_SetString(PyExc_TypeError
,"null reference");
24682 arg3
= (int) SWIG_AsInt(obj2
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
;
24704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24705 wxTreeItemId
*arg2
= 0 ;
24706 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj1
= 0 ;
24709 PyObject
* obj2
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "item",(char *) "data", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24720 if (arg2
== NULL
) {
24721 PyErr_SetString(PyExc_TypeError
,"null reference");
24724 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24728 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24743 wxTreeItemId
*arg2
= 0 ;
24744 PyObject
*arg3
= (PyObject
*) 0 ;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 PyObject
* obj2
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "item",(char *) "obj", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24758 if (arg2
== NULL
) {
24759 PyErr_SetString(PyExc_TypeError
,"null reference");
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24780 wxTreeItemId
*arg2
= 0 ;
24781 bool arg3
= (bool) True
;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 PyObject
* obj2
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self",(char *) "item",(char *) "has", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24795 if (arg2
== NULL
) {
24796 PyErr_SetString(PyExc_TypeError
,"null reference");
24800 arg3
= (bool) SWIG_AsBool(obj2
);
24801 if (PyErr_Occurred()) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24820 wxTreeItemId
*arg2
= 0 ;
24821 bool arg3
= (bool) True
;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 PyObject
* obj2
= 0 ;
24825 char *kwnames
[] = {
24826 (char *) "self",(char *) "item",(char *) "bold", NULL
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24832 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24835 if (arg2
== NULL
) {
24836 PyErr_SetString(PyExc_TypeError
,"null reference");
24840 arg3
= (bool) SWIG_AsBool(obj2
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24860 wxTreeItemId
*arg2
= 0 ;
24861 wxColour
*arg3
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 PyObject
* obj2
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "item",(char *) "col", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24876 if (arg2
== NULL
) {
24877 PyErr_SetString(PyExc_TypeError
,"null reference");
24882 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24891 Py_INCREF(Py_None
); resultobj
= Py_None
;
24898 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24899 PyObject
*resultobj
;
24900 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24901 wxTreeItemId
*arg2
= 0 ;
24902 wxColour
*arg3
= 0 ;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj1
= 0 ;
24906 PyObject
* obj2
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self",(char *) "item",(char *) "col", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24917 if (arg2
== NULL
) {
24918 PyErr_SetString(PyExc_TypeError
,"null reference");
24923 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 Py_INCREF(Py_None
); resultobj
= Py_None
;
24939 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
;
24941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24942 wxTreeItemId
*arg2
= 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 PyObject
* obj2
= 0 ;
24947 char *kwnames
[] = {
24948 (char *) "self",(char *) "item",(char *) "font", NULL
24951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24957 if (arg2
== NULL
) {
24958 PyErr_SetString(PyExc_TypeError
,"null reference");
24961 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24964 if (arg3
== NULL
) {
24965 PyErr_SetString(PyExc_TypeError
,"null reference");
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 Py_INCREF(Py_None
); resultobj
= Py_None
;
24982 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24985 wxTreeItemId
*arg2
= 0 ;
24987 PyObject
* obj0
= 0 ;
24988 PyObject
* obj1
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self",(char *) "item", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24999 if (arg2
== NULL
) {
25000 PyErr_SetString(PyExc_TypeError
,"null reference");
25004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25005 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25019 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25022 wxTreeItemId
*arg2
= 0 ;
25024 PyObject
* obj0
= 0 ;
25025 PyObject
* obj1
= 0 ;
25026 char *kwnames
[] = {
25027 (char *) "self",(char *) "item", NULL
25030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25033 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25034 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25036 if (arg2
== NULL
) {
25037 PyErr_SetString(PyExc_TypeError
,"null reference");
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25056 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25057 PyObject
*resultobj
;
25058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25059 wxTreeItemId
*arg2
= 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "item", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25073 if (arg2
== NULL
) {
25074 PyErr_SetString(PyExc_TypeError
,"null reference");
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25093 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25096 wxTreeItemId
*arg2
= 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "item", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25110 if (arg2
== NULL
) {
25111 PyErr_SetString(PyExc_TypeError
,"null reference");
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25130 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25131 PyObject
*resultobj
;
25132 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25133 wxTreeItemId
*arg2
= 0 ;
25135 PyObject
* obj0
= 0 ;
25136 PyObject
* obj1
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self",(char *) "item", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25147 if (arg2
== NULL
) {
25148 PyErr_SetString(PyExc_TypeError
,"null reference");
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25167 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25170 wxTreeItemId
*arg2
= 0 ;
25171 bool arg3
= (bool) True
;
25173 PyObject
* obj0
= 0 ;
25174 PyObject
* obj1
= 0 ;
25175 PyObject
* obj2
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "item",(char *) "recursively", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25186 if (arg2
== NULL
) {
25187 PyErr_SetString(PyExc_TypeError
,"null reference");
25191 arg3
= (bool) SWIG_AsBool(obj2
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25208 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25211 wxTreeItemId result
;
25212 PyObject
* obj0
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25228 wxTreeItemId
* resultptr
;
25229 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25238 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25239 PyObject
*resultobj
;
25240 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25241 wxTreeItemId result
;
25242 PyObject
* obj0
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25254 wxPyEndAllowThreads(__tstate
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25258 wxTreeItemId
* resultptr
;
25259 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25268 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25269 PyObject
*resultobj
;
25270 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25272 PyObject
* obj0
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 resultobj
= result
;
25294 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25297 wxTreeItemId
*arg2
= 0 ;
25298 wxTreeItemId result
;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 char *kwnames
[] = {
25302 (char *) "self",(char *) "item", NULL
25305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25311 if (arg2
== NULL
) {
25312 PyErr_SetString(PyExc_TypeError
,"null reference");
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 wxTreeItemId
* resultptr
;
25324 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25333 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25336 wxTreeItemId
*arg2
= 0 ;
25338 PyObject
* obj0
= 0 ;
25339 PyObject
* obj1
= 0 ;
25340 char *kwnames
[] = {
25341 (char *) "self",(char *) "item", NULL
25344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25350 if (arg2
== NULL
) {
25351 PyErr_SetString(PyExc_TypeError
,"null reference");
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= result
;
25368 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25371 wxTreeItemId
*arg2
= 0 ;
25372 void *arg3
= (void *) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 PyObject
* obj2
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "item",(char *) "cookie", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25387 if (arg2
== NULL
) {
25388 PyErr_SetString(PyExc_TypeError
,"null reference");
25391 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25396 wxPyEndAllowThreads(__tstate
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25399 resultobj
= result
;
25406 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25409 wxTreeItemId
*arg2
= 0 ;
25410 wxTreeItemId result
;
25411 PyObject
* obj0
= 0 ;
25412 PyObject
* obj1
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self",(char *) "item", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25423 if (arg2
== NULL
) {
25424 PyErr_SetString(PyExc_TypeError
,"null reference");
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25431 wxPyEndAllowThreads(__tstate
);
25432 if (PyErr_Occurred()) SWIG_fail
;
25435 wxTreeItemId
* resultptr
;
25436 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25445 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25446 PyObject
*resultobj
;
25447 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25448 wxTreeItemId
*arg2
= 0 ;
25449 wxTreeItemId result
;
25450 PyObject
* obj0
= 0 ;
25451 PyObject
* obj1
= 0 ;
25452 char *kwnames
[] = {
25453 (char *) "self",(char *) "item", NULL
25456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25462 if (arg2
== NULL
) {
25463 PyErr_SetString(PyExc_TypeError
,"null reference");
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25474 wxTreeItemId
* resultptr
;
25475 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25484 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25487 wxTreeItemId
*arg2
= 0 ;
25488 wxTreeItemId result
;
25489 PyObject
* obj0
= 0 ;
25490 PyObject
* obj1
= 0 ;
25491 char *kwnames
[] = {
25492 (char *) "self",(char *) "item", NULL
25495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25501 if (arg2
== NULL
) {
25502 PyErr_SetString(PyExc_TypeError
,"null reference");
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 wxTreeItemId
* resultptr
;
25514 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25523 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25526 wxTreeItemId result
;
25527 PyObject
* obj0
= 0 ;
25528 char *kwnames
[] = {
25529 (char *) "self", NULL
25532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25543 wxTreeItemId
* resultptr
;
25544 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25553 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25554 PyObject
*resultobj
;
25555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25556 wxTreeItemId
*arg2
= 0 ;
25557 wxTreeItemId result
;
25558 PyObject
* obj0
= 0 ;
25559 PyObject
* obj1
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "item", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25570 if (arg2
== NULL
) {
25571 PyErr_SetString(PyExc_TypeError
,"null reference");
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25582 wxTreeItemId
* resultptr
;
25583 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25584 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25592 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxTreeItemId
*arg2
= 0 ;
25596 wxTreeItemId result
;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self",(char *) "item", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25609 if (arg2
== NULL
) {
25610 PyErr_SetString(PyExc_TypeError
,"null reference");
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25621 wxTreeItemId
* resultptr
;
25622 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25623 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25631 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25634 wxString
*arg2
= 0 ;
25635 int arg3
= (int) -1 ;
25636 int arg4
= (int) -1 ;
25637 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
25638 wxTreeItemId result
;
25639 bool temp2
= False
;
25640 PyObject
* obj0
= 0 ;
25641 PyObject
* obj1
= 0 ;
25642 PyObject
* obj2
= 0 ;
25643 PyObject
* obj3
= 0 ;
25644 PyObject
* obj4
= 0 ;
25645 char *kwnames
[] = {
25646 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25653 arg2
= wxString_in_helper(obj1
);
25654 if (arg2
== NULL
) SWIG_fail
;
25658 arg3
= (int) SWIG_AsInt(obj2
);
25659 if (PyErr_Occurred()) SWIG_fail
;
25662 arg4
= (int) SWIG_AsInt(obj3
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 wxTreeItemId
* resultptr
;
25678 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25695 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25696 PyObject
*resultobj
;
25697 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25698 wxTreeItemId
*arg2
= 0 ;
25699 wxString
*arg3
= 0 ;
25700 int arg4
= (int) -1 ;
25701 int arg5
= (int) -1 ;
25702 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25703 wxTreeItemId result
;
25704 bool temp3
= False
;
25705 PyObject
* obj0
= 0 ;
25706 PyObject
* obj1
= 0 ;
25707 PyObject
* obj2
= 0 ;
25708 PyObject
* obj3
= 0 ;
25709 PyObject
* obj4
= 0 ;
25710 PyObject
* obj5
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 arg3
= wxString_in_helper(obj2
);
25727 if (arg3
== NULL
) SWIG_fail
;
25731 arg4
= (int) SWIG_AsInt(obj3
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 arg5
= (int) SWIG_AsInt(obj4
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25739 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25750 wxTreeItemId
* resultptr
;
25751 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25768 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25771 wxTreeItemId
*arg2
= 0 ;
25772 wxTreeItemId
*arg3
= 0 ;
25773 wxString
*arg4
= 0 ;
25774 int arg5
= (int) -1 ;
25775 int arg6
= (int) -1 ;
25776 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25777 wxTreeItemId result
;
25778 bool temp4
= False
;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 PyObject
* obj2
= 0 ;
25782 PyObject
* obj3
= 0 ;
25783 PyObject
* obj4
= 0 ;
25784 PyObject
* obj5
= 0 ;
25785 PyObject
* obj6
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25796 if (arg2
== NULL
) {
25797 PyErr_SetString(PyExc_TypeError
,"null reference");
25800 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
25801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25803 if (arg3
== NULL
) {
25804 PyErr_SetString(PyExc_TypeError
,"null reference");
25808 arg4
= wxString_in_helper(obj3
);
25809 if (arg4
== NULL
) SWIG_fail
;
25813 arg5
= (int) SWIG_AsInt(obj4
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25817 arg6
= (int) SWIG_AsInt(obj5
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25821 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 wxTreeItemId
* resultptr
;
25833 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25850 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25853 wxTreeItemId
*arg2
= 0 ;
25855 wxString
*arg4
= 0 ;
25856 int arg5
= (int) -1 ;
25857 int arg6
= (int) -1 ;
25858 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
25859 wxTreeItemId result
;
25860 bool temp4
= False
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 PyObject
* obj3
= 0 ;
25865 PyObject
* obj4
= 0 ;
25866 PyObject
* obj5
= 0 ;
25867 PyObject
* obj6
= 0 ;
25868 char *kwnames
[] = {
25869 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25878 if (arg2
== NULL
) {
25879 PyErr_SetString(PyExc_TypeError
,"null reference");
25882 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 arg4
= wxString_in_helper(obj3
);
25886 if (arg4
== NULL
) SWIG_fail
;
25890 arg5
= (int) SWIG_AsInt(obj4
);
25891 if (PyErr_Occurred()) SWIG_fail
;
25894 arg6
= (int) SWIG_AsInt(obj5
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
25899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25909 wxTreeItemId
* resultptr
;
25910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25927 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
;
25929 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25930 wxTreeItemId
*arg2
= 0 ;
25931 wxString
*arg3
= 0 ;
25932 int arg4
= (int) -1 ;
25933 int arg5
= (int) -1 ;
25934 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
25935 wxTreeItemId result
;
25936 bool temp3
= False
;
25937 PyObject
* obj0
= 0 ;
25938 PyObject
* obj1
= 0 ;
25939 PyObject
* obj2
= 0 ;
25940 PyObject
* obj3
= 0 ;
25941 PyObject
* obj4
= 0 ;
25942 PyObject
* obj5
= 0 ;
25943 char *kwnames
[] = {
25944 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25953 if (arg2
== NULL
) {
25954 PyErr_SetString(PyExc_TypeError
,"null reference");
25958 arg3
= wxString_in_helper(obj2
);
25959 if (arg3
== NULL
) SWIG_fail
;
25963 arg4
= (int) SWIG_AsInt(obj3
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25967 arg5
= (int) SWIG_AsInt(obj4
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 wxTreeItemId
* resultptr
;
25983 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26000 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26003 wxTreeItemId
*arg2
= 0 ;
26004 PyObject
* obj0
= 0 ;
26005 PyObject
* obj1
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self",(char *) "item", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26013 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26016 if (arg2
== NULL
) {
26017 PyErr_SetString(PyExc_TypeError
,"null reference");
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 Py_INCREF(Py_None
); resultobj
= Py_None
;
26034 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26035 PyObject
*resultobj
;
26036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26037 wxTreeItemId
*arg2
= 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 char *kwnames
[] = {
26041 (char *) "self",(char *) "item", NULL
26044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26050 if (arg2
== NULL
) {
26051 PyErr_SetString(PyExc_TypeError
,"null reference");
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 Py_INCREF(Py_None
); resultobj
= Py_None
;
26068 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26071 PyObject
* obj0
= 0 ;
26072 char *kwnames
[] = {
26073 (char *) "self", NULL
26076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 (arg1
)->DeleteAllItems();
26083 wxPyEndAllowThreads(__tstate
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26086 Py_INCREF(Py_None
); resultobj
= Py_None
;
26093 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26096 wxTreeItemId
*arg2
= 0 ;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "item", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26109 if (arg2
== NULL
) {
26110 PyErr_SetString(PyExc_TypeError
,"null reference");
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 Py_INCREF(Py_None
); resultobj
= Py_None
;
26127 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26130 wxTreeItemId
*arg2
= 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "item", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26143 if (arg2
== NULL
) {
26144 PyErr_SetString(PyExc_TypeError
,"null reference");
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 Py_INCREF(Py_None
); resultobj
= Py_None
;
26161 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26162 PyObject
*resultobj
;
26163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26164 wxTreeItemId
*arg2
= 0 ;
26165 PyObject
* obj0
= 0 ;
26166 PyObject
* obj1
= 0 ;
26167 char *kwnames
[] = {
26168 (char *) "self",(char *) "item", NULL
26171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26177 if (arg2
== NULL
) {
26178 PyErr_SetString(PyExc_TypeError
,"null reference");
26182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26183 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26185 wxPyEndAllowThreads(__tstate
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26188 Py_INCREF(Py_None
); resultobj
= Py_None
;
26195 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26196 PyObject
*resultobj
;
26197 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26198 wxTreeItemId
*arg2
= 0 ;
26199 PyObject
* obj0
= 0 ;
26200 PyObject
* obj1
= 0 ;
26201 char *kwnames
[] = {
26202 (char *) "self",(char *) "item", NULL
26205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26211 if (arg2
== NULL
) {
26212 PyErr_SetString(PyExc_TypeError
,"null reference");
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 Py_INCREF(Py_None
); resultobj
= Py_None
;
26229 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 char *kwnames
[] = {
26234 (char *) "self", NULL
26237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26242 (arg1
)->Unselect();
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 Py_INCREF(Py_None
); resultobj
= Py_None
;
26254 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
;
26256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26257 wxTreeItemId
*arg2
= 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self",(char *) "item", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26270 if (arg2
== NULL
) {
26271 PyErr_SetString(PyExc_TypeError
,"null reference");
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->UnselectAll();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26316 wxTreeItemId
*arg2
= 0 ;
26317 bool arg3
= (bool) True
;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 PyObject
* obj2
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self",(char *) "item",(char *) "select", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26331 if (arg2
== NULL
) {
26332 PyErr_SetString(PyExc_TypeError
,"null reference");
26336 arg3
= (bool) SWIG_AsBool(obj2
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 Py_INCREF(Py_None
); resultobj
= Py_None
;
26353 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26356 wxTreeItemId
*arg2
= 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "item", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26369 if (arg2
== NULL
) {
26370 PyErr_SetString(PyExc_TypeError
,"null reference");
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26380 Py_INCREF(Py_None
); resultobj
= Py_None
;
26387 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26390 wxTreeItemId
*arg2
= 0 ;
26391 PyObject
* obj0
= 0 ;
26392 PyObject
* obj1
= 0 ;
26393 char *kwnames
[] = {
26394 (char *) "self",(char *) "item", NULL
26397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26403 if (arg2
== NULL
) {
26404 PyErr_SetString(PyExc_TypeError
,"null reference");
26408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26409 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26411 wxPyEndAllowThreads(__tstate
);
26412 if (PyErr_Occurred()) SWIG_fail
;
26414 Py_INCREF(Py_None
); resultobj
= Py_None
;
26421 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26422 PyObject
*resultobj
;
26423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26424 wxTreeItemId
*arg2
= 0 ;
26425 PyObject
* obj0
= 0 ;
26426 PyObject
* obj1
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self",(char *) "item", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26437 if (arg2
== NULL
) {
26438 PyErr_SetString(PyExc_TypeError
,"null reference");
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26458 wxTreeItemId
*arg2
= 0 ;
26459 PyObject
* obj0
= 0 ;
26460 PyObject
* obj1
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "item", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26482 Py_INCREF(Py_None
); resultobj
= Py_None
;
26489 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26492 wxTextCtrl
*result
;
26493 PyObject
* obj0
= 0 ;
26494 char *kwnames
[] = {
26495 (char *) "self", NULL
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= wxPyMake_wxObject(result
);
26517 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26520 wxTreeItemId
*arg2
= 0 ;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 char *kwnames
[] = {
26524 (char *) "self",(char *) "item", NULL
26527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26533 if (arg2
== NULL
) {
26534 PyErr_SetString(PyExc_TypeError
,"null reference");
26538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26539 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26544 Py_INCREF(Py_None
); resultobj
= Py_None
;
26551 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
;
26553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26554 wxPoint
*arg2
= 0 ;
26556 wxTreeItemId result
;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "point", NULL
26566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26581 wxTreeItemId
* resultptr
;
26582 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26583 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26586 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26587 resultobj
= t_output_helper(resultobj
,o
);
26595 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
;
26597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26598 wxTreeItemId
*arg2
= 0 ;
26599 bool arg3
= (bool) False
;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 PyObject
* obj2
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26614 if (arg2
== NULL
) {
26615 PyErr_SetString(PyExc_TypeError
,"null reference");
26619 arg3
= (bool) SWIG_AsBool(obj2
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= result
;
26636 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
;
26638 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26639 wxVisualAttributes result
;
26640 PyObject
* obj0
= 0 ;
26641 char *kwnames
[] = {
26642 (char *) "variant", NULL
26645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26647 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26658 wxVisualAttributes
* resultptr
;
26659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26668 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
26670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26671 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
26673 return Py_BuildValue((char *)"");
26675 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
26676 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
26681 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
26686 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26688 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
26695 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26696 PyObject
*resultobj
;
26697 wxWindow
*arg1
= (wxWindow
*) 0 ;
26698 int arg2
= (int) (int)-1 ;
26699 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
26700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
26701 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26702 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26703 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26704 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26705 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26706 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26707 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26708 int arg8
= (int) 0 ;
26709 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
26710 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
26711 wxGenericDirCtrl
*result
;
26712 bool temp3
= False
;
26715 bool temp7
= False
;
26716 bool temp9
= False
;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 PyObject
* obj2
= 0 ;
26720 PyObject
* obj3
= 0 ;
26721 PyObject
* obj4
= 0 ;
26722 PyObject
* obj5
= 0 ;
26723 PyObject
* obj6
= 0 ;
26724 PyObject
* obj7
= 0 ;
26725 PyObject
* obj8
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
26731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26734 arg2
= (int const) SWIG_AsInt(obj1
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26739 arg3
= wxString_in_helper(obj2
);
26740 if (arg3
== NULL
) SWIG_fail
;
26747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26757 arg6
= (long) SWIG_AsLong(obj5
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26762 arg7
= wxString_in_helper(obj6
);
26763 if (arg7
== NULL
) SWIG_fail
;
26768 arg8
= (int) SWIG_AsInt(obj7
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26773 arg9
= wxString_in_helper(obj8
);
26774 if (arg9
== NULL
) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26816 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxGenericDirCtrl
*result
;
26819 char *kwnames
[] = {
26823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
26838 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26841 wxWindow
*arg2
= (wxWindow
*) 0 ;
26842 int arg3
= (int) (int)-1 ;
26843 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
26844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
26845 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
26846 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
26847 wxSize
const &arg6_defvalue
= wxDefaultSize
;
26848 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
26849 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
26850 wxString
const &arg8_defvalue
= wxPyEmptyString
;
26851 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
26852 int arg9
= (int) 0 ;
26853 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
26854 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
26856 bool temp4
= False
;
26859 bool temp8
= False
;
26860 bool temp10
= False
;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 PyObject
* obj2
= 0 ;
26864 PyObject
* obj3
= 0 ;
26865 PyObject
* obj4
= 0 ;
26866 PyObject
* obj5
= 0 ;
26867 PyObject
* obj6
= 0 ;
26868 PyObject
* obj7
= 0 ;
26869 PyObject
* obj8
= 0 ;
26870 PyObject
* obj9
= 0 ;
26871 char *kwnames
[] = {
26872 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
26876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26881 arg3
= (int const) SWIG_AsInt(obj2
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26886 arg4
= wxString_in_helper(obj3
);
26887 if (arg4
== NULL
) SWIG_fail
;
26894 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
26900 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
26904 arg7
= (long) SWIG_AsLong(obj6
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26909 arg8
= wxString_in_helper(obj7
);
26910 if (arg8
== NULL
) SWIG_fail
;
26915 arg9
= (int) SWIG_AsInt(obj8
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26920 arg10
= wxString_in_helper(obj9
);
26921 if (arg10
== NULL
) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26965 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
;
26967 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
26968 wxString
*arg2
= 0 ;
26970 bool temp2
= False
;
26971 PyObject
* obj0
= 0 ;
26972 PyObject
* obj1
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self",(char *) "path", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
26978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
26979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26981 arg2
= wxString_in_helper(obj1
);
26982 if (arg2
== NULL
) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27009 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27041 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27044 wxString
*arg2
= 0 ;
27045 bool temp2
= False
;
27046 PyObject
* obj0
= 0 ;
27047 PyObject
* obj1
= 0 ;
27048 char *kwnames
[] = {
27049 (char *) "self",(char *) "path", NULL
27052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27056 arg2
= wxString_in_helper(obj1
);
27057 if (arg2
== NULL
) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27082 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27086 PyObject
* obj0
= 0 ;
27087 char *kwnames
[] = {
27088 (char *) "self", NULL
27091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27098 wxPyEndAllowThreads(__tstate
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27114 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27118 PyObject
* obj0
= 0 ;
27119 char *kwnames
[] = {
27120 (char *) "self", NULL
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27146 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27147 PyObject
*resultobj
;
27148 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27149 wxString
*arg2
= 0 ;
27150 bool temp2
= False
;
27151 PyObject
* obj0
= 0 ;
27152 PyObject
* obj1
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "path", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 arg2
= wxString_in_helper(obj1
);
27162 if (arg2
== NULL
) SWIG_fail
;
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27167 (arg1
)->SetPath((wxString
const &)*arg2
);
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 Py_INCREF(Py_None
); resultobj
= Py_None
;
27187 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27188 PyObject
*resultobj
;
27189 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "show", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 arg2
= (bool) SWIG_AsBool(obj1
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 (arg1
)->ShowHidden(arg2
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 Py_INCREF(Py_None
); resultobj
= Py_None
;
27216 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27220 PyObject
* obj0
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (bool)(arg1
)->GetShowHidden();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27244 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 char *kwnames
[] = {
27250 (char *) "self", NULL
27253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27276 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27277 PyObject
*resultobj
;
27278 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27279 wxString
*arg2
= 0 ;
27280 bool temp2
= False
;
27281 PyObject
* obj0
= 0 ;
27282 PyObject
* obj1
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self",(char *) "filter", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27291 arg2
= wxString_in_helper(obj1
);
27292 if (arg2
== NULL
) SWIG_fail
;
27296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27297 (arg1
)->SetFilter((wxString
const &)*arg2
);
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 resultobj
= SWIG_FromInt((int)result
);
27343 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self",(char *) "n", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 arg2
= (int) SWIG_AsInt(obj1
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 (arg1
)->SetFilterIndex(arg2
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 Py_INCREF(Py_None
); resultobj
= Py_None
;
27372 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27373 PyObject
*resultobj
;
27374 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27375 wxTreeItemId result
;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= (arg1
)->GetRootId();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27392 wxTreeItemId
* resultptr
;
27393 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27402 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27405 wxPyTreeCtrl
*result
;
27406 PyObject
* obj0
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= wxPyMake_wxObject(result
);
27430 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27433 wxDirFilterListCtrl
*result
;
27434 PyObject
* obj0
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27444 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27446 wxPyEndAllowThreads(__tstate
);
27447 if (PyErr_Occurred()) SWIG_fail
;
27449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27456 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27459 wxTreeItemId arg2
;
27460 wxString
*arg3
= 0 ;
27462 wxTreeItemId result
;
27463 wxTreeItemId
*argp2
;
27464 bool temp3
= False
;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 PyObject
* obj2
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self",(char *) "parentId",(char *) "path", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27478 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27481 arg3
= wxString_in_helper(obj2
);
27482 if (arg3
== NULL
) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 wxTreeItemId
* resultptr
;
27494 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27498 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27499 resultobj
= t_output_helper(resultobj
,o
);
27515 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27516 PyObject
*resultobj
;
27517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27518 PyObject
* obj0
= 0 ;
27519 char *kwnames
[] = {
27520 (char *) "self", NULL
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 (arg1
)->DoResize();
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27533 Py_INCREF(Py_None
); resultobj
= Py_None
;
27540 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
;
27542 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 (arg1
)->ReCreateTree();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27568 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
27570 return Py_BuildValue((char *)"");
27572 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27573 PyObject
*resultobj
;
27574 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27575 int arg2
= (int) (int)-1 ;
27576 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27577 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27578 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27579 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27580 long arg5
= (long) 0 ;
27581 wxDirFilterListCtrl
*result
;
27584 PyObject
* obj0
= 0 ;
27585 PyObject
* obj1
= 0 ;
27586 PyObject
* obj2
= 0 ;
27587 PyObject
* obj3
= 0 ;
27588 PyObject
* obj4
= 0 ;
27589 char *kwnames
[] = {
27590 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27597 arg2
= (int const) SWIG_AsInt(obj1
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27613 arg5
= (long) SWIG_AsLong(obj4
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27630 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxDirFilterListCtrl
*result
;
27633 char *kwnames
[] = {
27637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
27639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27640 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
27642 wxPyEndAllowThreads(__tstate
);
27643 if (PyErr_Occurred()) SWIG_fail
;
27645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
27652 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27653 PyObject
*resultobj
;
27654 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27655 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
27656 int arg3
= (int) (int)-1 ;
27657 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27658 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27659 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27660 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27661 long arg6
= (long) 0 ;
27665 PyObject
* obj0
= 0 ;
27666 PyObject
* obj1
= 0 ;
27667 PyObject
* obj2
= 0 ;
27668 PyObject
* obj3
= 0 ;
27669 PyObject
* obj4
= 0 ;
27670 PyObject
* obj5
= 0 ;
27671 char *kwnames
[] = {
27672 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27681 arg3
= (int const) SWIG_AsInt(obj2
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27697 arg6
= (long) SWIG_AsLong(obj5
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
27704 wxPyEndAllowThreads(__tstate
);
27705 if (PyErr_Occurred()) SWIG_fail
;
27708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27716 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
27719 wxString
*arg2
= 0 ;
27721 bool temp2
= False
;
27722 PyObject
* obj0
= 0 ;
27723 PyObject
* obj1
= 0 ;
27724 PyObject
* obj2
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
27731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27733 arg2
= wxString_in_helper(obj1
);
27734 if (arg2
== NULL
) SWIG_fail
;
27737 arg3
= (int) SWIG_AsInt(obj2
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27741 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 Py_INCREF(Py_None
); resultobj
= Py_None
;
27761 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27764 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
27766 return Py_BuildValue((char *)"");
27768 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27769 PyObject
*resultobj
;
27770 wxWindow
*arg1
= (wxWindow
*) 0 ;
27772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
27775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
27776 long arg5
= (long) 0 ;
27777 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
27778 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
27779 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
27780 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27781 wxPyControl
*result
;
27784 bool temp7
= False
;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 PyObject
* obj2
= 0 ;
27788 PyObject
* obj3
= 0 ;
27789 PyObject
* obj4
= 0 ;
27790 PyObject
* obj5
= 0 ;
27791 PyObject
* obj6
= 0 ;
27792 char *kwnames
[] = {
27793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27799 arg2
= (int const) SWIG_AsInt(obj1
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27804 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27810 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27814 arg5
= (long) SWIG_AsLong(obj4
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27818 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27821 if (arg6
== NULL
) {
27822 PyErr_SetString(PyExc_TypeError
,"null reference");
27828 arg7
= wxString_in_helper(obj6
);
27829 if (arg7
== NULL
) SWIG_fail
;
27834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27835 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
27837 wxPyEndAllowThreads(__tstate
);
27838 if (PyErr_Occurred()) SWIG_fail
;
27840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27855 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27856 PyObject
*resultobj
;
27857 wxPyControl
*result
;
27858 char *kwnames
[] = {
27862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (wxPyControl
*)new wxPyControl();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
27877 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27880 PyObject
*arg2
= (PyObject
*) 0 ;
27881 PyObject
*arg3
= (PyObject
*) 0 ;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self",(char *) "self",(char *) "_class", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 Py_INCREF(Py_None
); resultobj
= Py_None
;
27908 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 PyObject
* obj2
= 0 ;
27918 PyObject
* obj3
= 0 ;
27919 PyObject
* obj4
= 0 ;
27920 char *kwnames
[] = {
27921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27927 arg2
= (int) SWIG_AsInt(obj1
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27929 arg3
= (int) SWIG_AsInt(obj2
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27931 arg4
= (int) SWIG_AsInt(obj3
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27933 arg5
= (int) SWIG_AsInt(obj4
);
27934 if (PyErr_Occurred()) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 Py_INCREF(Py_None
); resultobj
= Py_None
;
27949 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
;
27951 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
27956 int arg6
= (int) wxSIZE_AUTO
;
27957 PyObject
* obj0
= 0 ;
27958 PyObject
* obj1
= 0 ;
27959 PyObject
* obj2
= 0 ;
27960 PyObject
* obj3
= 0 ;
27961 PyObject
* obj4
= 0 ;
27962 PyObject
* obj5
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
27969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27970 arg2
= (int) SWIG_AsInt(obj1
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27972 arg3
= (int) SWIG_AsInt(obj2
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27974 arg4
= (int) SWIG_AsInt(obj3
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27976 arg5
= (int) SWIG_AsInt(obj4
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 arg6
= (int) SWIG_AsInt(obj5
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27984 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 Py_INCREF(Py_None
); resultobj
= Py_None
;
27996 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27997 PyObject
*resultobj
;
27998 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 PyObject
* obj2
= 0 ;
28004 char *kwnames
[] = {
28005 (char *) "self",(char *) "width",(char *) "height", NULL
28008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 arg2
= (int) SWIG_AsInt(obj1
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28013 arg3
= (int) SWIG_AsInt(obj2
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28017 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28019 wxPyEndAllowThreads(__tstate
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28022 Py_INCREF(Py_None
); resultobj
= Py_None
;
28029 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28030 PyObject
*resultobj
;
28031 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 char *kwnames
[] = {
28038 (char *) "self",(char *) "x",(char *) "y", NULL
28041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28044 arg2
= (int) SWIG_AsInt(obj1
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28046 arg3
= (int) SWIG_AsInt(obj2
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28050 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28052 wxPyEndAllowThreads(__tstate
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28055 Py_INCREF(Py_None
); resultobj
= Py_None
;
28062 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28063 PyObject
*resultobj
;
28064 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28065 int *arg2
= (int *) 0 ;
28066 int *arg3
= (int *) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28081 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28083 wxPyEndAllowThreads(__tstate
);
28084 if (PyErr_Occurred()) SWIG_fail
;
28086 Py_INCREF(Py_None
); resultobj
= Py_None
;
28088 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28089 resultobj
= t_output_helper(resultobj
,o
);
28092 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28093 resultobj
= t_output_helper(resultobj
,o
);
28101 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28102 PyObject
*resultobj
;
28103 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28104 int *arg2
= (int *) 0 ;
28105 int *arg3
= (int *) 0 ;
28108 PyObject
* obj0
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28128 resultobj
= t_output_helper(resultobj
,o
);
28131 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28132 resultobj
= t_output_helper(resultobj
,o
);
28140 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28143 int *arg2
= (int *) 0 ;
28144 int *arg3
= (int *) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 Py_INCREF(Py_None
); resultobj
= Py_None
;
28166 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28167 resultobj
= t_output_helper(resultobj
,o
);
28170 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28171 resultobj
= t_output_helper(resultobj
,o
);
28179 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28180 PyObject
*resultobj
;
28181 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28183 PyObject
* obj0
= 0 ;
28184 char *kwnames
[] = {
28185 (char *) "self", NULL
28188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28199 wxSize
* resultptr
;
28200 resultptr
= new wxSize((wxSize
&) result
);
28201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28209 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 char *kwnames
[] = {
28215 (char *) "self", NULL
28218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28229 wxSize
* resultptr
;
28230 resultptr
= new wxSize((wxSize
&) result
);
28231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28239 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 (arg1
)->base_InitDialog();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 Py_INCREF(Py_None
); resultobj
= Py_None
;
28264 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
;
28266 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28268 PyObject
* obj0
= 0 ;
28269 char *kwnames
[] = {
28270 (char *) "self", NULL
28273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 result
= (bool)(arg1
)->base_TransferDataToWindow();
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28292 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28320 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28324 PyObject
* obj0
= 0 ;
28325 char *kwnames
[] = {
28326 (char *) "self", NULL
28329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (bool)(arg1
)->base_Validate();
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28348 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28352 PyObject
* obj0
= 0 ;
28353 char *kwnames
[] = {
28354 (char *) "self", NULL
28357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28364 wxPyEndAllowThreads(__tstate
);
28365 if (PyErr_Occurred()) SWIG_fail
;
28368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28376 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28377 PyObject
*resultobj
;
28378 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28380 PyObject
* obj0
= 0 ;
28381 char *kwnames
[] = {
28382 (char *) "self", NULL
28385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28404 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28405 PyObject
*resultobj
;
28406 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28408 PyObject
* obj0
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self", NULL
28413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28424 wxSize
* resultptr
;
28425 resultptr
= new wxSize((wxSize
&) result
);
28426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28434 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
;
28436 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28437 wxWindow
*arg2
= (wxWindow
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "child", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->base_AddChild(arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 Py_INCREF(Py_None
); resultobj
= Py_None
;
28463 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28466 wxWindow
*arg2
= (wxWindow
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 char *kwnames
[] = {
28470 (char *) "self",(char *) "child", NULL
28473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 (arg1
)->base_RemoveChild(arg2
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 Py_INCREF(Py_None
); resultobj
= Py_None
;
28492 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28496 PyObject
* obj0
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "self", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 result
= (bool)(arg1
)->base_ShouldInheritColours();
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28520 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28523 wxColour
*arg2
= 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "c", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28545 Py_INCREF(Py_None
); resultobj
= Py_None
;
28552 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28555 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28557 return Py_BuildValue((char *)"");
28559 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28562 int arg2
= (int) 0 ;
28563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28565 wxHelpEvent
*result
;
28567 PyObject
* obj0
= 0 ;
28568 PyObject
* obj1
= 0 ;
28569 PyObject
* obj2
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "type",(char *) "winid",(char *) "pt", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28576 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28580 arg2
= (int) SWIG_AsInt(obj1
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28586 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28591 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
28593 wxPyEndAllowThreads(__tstate
);
28594 if (PyErr_Occurred()) SWIG_fail
;
28596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
28603 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 char *kwnames
[] = {
28609 (char *) "self", NULL
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
28613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28617 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
28619 wxPyEndAllowThreads(__tstate
);
28620 if (PyErr_Occurred()) SWIG_fail
;
28623 wxPoint
* resultptr
;
28624 resultptr
= new wxPoint((wxPoint
&) result
);
28625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
28633 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28634 PyObject
*resultobj
;
28635 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28636 wxPoint
*arg2
= 0 ;
28638 PyObject
* obj0
= 0 ;
28639 PyObject
* obj1
= 0 ;
28640 char *kwnames
[] = {
28641 (char *) "self",(char *) "pos", NULL
28644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28649 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
28655 wxPyEndAllowThreads(__tstate
);
28656 if (PyErr_Occurred()) SWIG_fail
;
28658 Py_INCREF(Py_None
); resultobj
= Py_None
;
28665 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28666 PyObject
*resultobj
;
28667 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28669 PyObject
* obj0
= 0 ;
28670 char *kwnames
[] = {
28671 (char *) "self", NULL
28674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
28675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
28681 result
= (wxString
*) &_result_ref
;
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28689 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28691 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28700 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28701 PyObject
*resultobj
;
28702 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28703 wxString
*arg2
= 0 ;
28704 bool temp2
= False
;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self",(char *) "link", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
28712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 arg2
= wxString_in_helper(obj1
);
28716 if (arg2
== NULL
) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->SetLink((wxString
const &)*arg2
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28741 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28745 PyObject
* obj0
= 0 ;
28746 char *kwnames
[] = {
28747 (char *) "self", NULL
28750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
28751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28756 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
28757 result
= (wxString
*) &_result_ref
;
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28765 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28767 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28776 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28777 PyObject
*resultobj
;
28778 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
28779 wxString
*arg2
= 0 ;
28780 bool temp2
= False
;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "target", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28791 arg2
= wxString_in_helper(obj1
);
28792 if (arg2
== NULL
) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 (arg1
)->SetTarget((wxString
const &)*arg2
);
28799 wxPyEndAllowThreads(__tstate
);
28800 if (PyErr_Occurred()) SWIG_fail
;
28802 Py_INCREF(Py_None
); resultobj
= Py_None
;
28817 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
28819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28820 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
28822 return Py_BuildValue((char *)"");
28824 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxWindow
*arg1
= (wxWindow
*) NULL
;
28827 bool arg2
= (bool) True
;
28828 wxContextHelp
*result
;
28829 PyObject
* obj0
= 0 ;
28830 PyObject
* obj1
= 0 ;
28831 char *kwnames
[] = {
28832 (char *) "window",(char *) "doNow", NULL
28835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 arg2
= (bool) SWIG_AsBool(obj1
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
28858 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28861 PyObject
* obj0
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
28867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28886 wxWindow
*arg2
= (wxWindow
*) NULL
;
28888 PyObject
* obj0
= 0 ;
28889 PyObject
* obj1
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "window", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28917 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
;
28919 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
28921 PyObject
* obj0
= 0 ;
28922 char *kwnames
[] = {
28923 (char *) "self", NULL
28926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
28927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
28928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28931 result
= (bool)(arg1
)->EndContextHelp();
28933 wxPyEndAllowThreads(__tstate
);
28934 if (PyErr_Occurred()) SWIG_fail
;
28937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28945 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
28947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28948 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
28950 return Py_BuildValue((char *)"");
28952 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28953 PyObject
*resultobj
;
28954 wxWindow
*arg1
= (wxWindow
*) 0 ;
28955 int arg2
= (int) wxID_CONTEXT_HELP
;
28956 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28957 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28958 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28959 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28960 long arg5
= (long) wxBU_AUTODRAW
;
28961 wxContextHelpButton
*result
;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 PyObject
* obj3
= 0 ;
28968 PyObject
* obj4
= 0 ;
28969 char *kwnames
[] = {
28970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 arg2
= (int) SWIG_AsInt(obj1
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28993 arg5
= (long) SWIG_AsLong(obj4
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28998 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29010 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29013 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29015 return Py_BuildValue((char *)"");
29017 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29020 wxHelpProvider
*result
;
29021 PyObject
* obj0
= 0 ;
29022 char *kwnames
[] = {
29023 (char *) "helpProvider", NULL
29026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29043 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
;
29045 wxHelpProvider
*result
;
29046 char *kwnames
[] = {
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29055 wxPyEndAllowThreads(__tstate
);
29056 if (PyErr_Occurred()) SWIG_fail
;
29058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29065 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29066 PyObject
*resultobj
;
29067 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29068 wxWindow
*arg2
= (wxWindow
*) 0 ;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 char *kwnames
[] = {
29073 (char *) "self",(char *) "window", NULL
29076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29083 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29101 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29102 PyObject
*resultobj
;
29103 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29104 wxWindow
*arg2
= (wxWindow
*) 0 ;
29106 PyObject
* obj0
= 0 ;
29107 PyObject
* obj1
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self",(char *) "window", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->ShowHelp(arg2
);
29121 wxPyEndAllowThreads(__tstate
);
29122 if (PyErr_Occurred()) SWIG_fail
;
29125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29133 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29134 PyObject
*resultobj
;
29135 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29136 wxWindow
*arg2
= (wxWindow
*) 0 ;
29137 wxString
*arg3
= 0 ;
29138 bool temp3
= False
;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 PyObject
* obj2
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "window",(char *) "text", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29152 arg3
= wxString_in_helper(obj2
);
29153 if (arg3
== NULL
) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 Py_INCREF(Py_None
); resultobj
= Py_None
;
29178 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29182 wxString
*arg3
= 0 ;
29183 bool temp3
= False
;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self",(char *) "id",(char *) "text", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29194 arg2
= (int) SWIG_AsInt(obj1
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29197 arg3
= wxString_in_helper(obj2
);
29198 if (arg3
== NULL
) SWIG_fail
;
29202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29203 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29205 wxPyEndAllowThreads(__tstate
);
29206 if (PyErr_Occurred()) SWIG_fail
;
29208 Py_INCREF(Py_None
); resultobj
= Py_None
;
29223 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29224 PyObject
*resultobj
;
29225 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29226 wxWindow
*arg2
= (wxWindow
*) 0 ;
29227 PyObject
* obj0
= 0 ;
29228 PyObject
* obj1
= 0 ;
29229 char *kwnames
[] = {
29230 (char *) "self",(char *) "window", NULL
29233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 (arg1
)->RemoveHelp(arg2
);
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 Py_INCREF(Py_None
); resultobj
= Py_None
;
29252 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29255 PyObject
* obj0
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 wxHelpProvider_Destroy(arg1
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 Py_INCREF(Py_None
); resultobj
= Py_None
;
29277 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29280 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29282 return Py_BuildValue((char *)"");
29284 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
;
29286 wxSimpleHelpProvider
*result
;
29287 char *kwnames
[] = {
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29306 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29308 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29309 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29311 return Py_BuildValue((char *)"");
29313 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxBitmap
*arg1
= 0 ;
29316 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29317 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29318 wxGenericDragImage
*result
;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 char *kwnames
[] = {
29322 (char *) "image",(char *) "cursor", NULL
29325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29329 if (arg1
== NULL
) {
29330 PyErr_SetString(PyExc_TypeError
,"null reference");
29334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29337 if (arg2
== NULL
) {
29338 PyErr_SetString(PyExc_TypeError
,"null reference");
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29356 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29359 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29360 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29361 wxGenericDragImage
*result
;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char *kwnames
[] = {
29365 (char *) "image",(char *) "cursor", NULL
29368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29370 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29372 if (arg1
== NULL
) {
29373 PyErr_SetString(PyExc_TypeError
,"null reference");
29377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29380 if (arg2
== NULL
) {
29381 PyErr_SetString(PyExc_TypeError
,"null reference");
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29399 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxString
*arg1
= 0 ;
29402 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29403 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29404 wxGenericDragImage
*result
;
29405 bool temp1
= False
;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj1
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "str",(char *) "cursor", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29414 arg1
= wxString_in_helper(obj0
);
29415 if (arg1
== NULL
) SWIG_fail
;
29419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29422 if (arg2
== NULL
) {
29423 PyErr_SetString(PyExc_TypeError
,"null reference");
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29449 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
;
29451 wxPyTreeCtrl
*arg1
= 0 ;
29452 wxTreeItemId
*arg2
= 0 ;
29453 wxGenericDragImage
*result
;
29454 PyObject
* obj0
= 0 ;
29455 PyObject
* obj1
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "treeCtrl",(char *) "id", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29464 if (arg1
== NULL
) {
29465 PyErr_SetString(PyExc_TypeError
,"null reference");
29468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29471 if (arg2
== NULL
) {
29472 PyErr_SetString(PyExc_TypeError
,"null reference");
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29489 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
;
29491 wxPyListCtrl
*arg1
= 0 ;
29493 wxGenericDragImage
*result
;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 char *kwnames
[] = {
29497 (char *) "listCtrl",(char *) "id", NULL
29500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29504 if (arg1
== NULL
) {
29505 PyErr_SetString(PyExc_TypeError
,"null reference");
29508 arg2
= (long) SWIG_AsLong(obj1
);
29509 if (PyErr_Occurred()) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29524 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29527 PyObject
* obj0
= 0 ;
29528 char *kwnames
[] = {
29529 (char *) "self", NULL
29532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 wxPyEndAllowThreads(__tstate
);
29540 if (PyErr_Occurred()) SWIG_fail
;
29542 Py_INCREF(Py_None
); resultobj
= Py_None
;
29549 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29550 PyObject
*resultobj
;
29551 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29552 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char *kwnames
[] = {
29556 (char *) "self",(char *) "bitmap", NULL
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
29563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 (arg1
)->SetBackingBitmap(arg2
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 Py_INCREF(Py_None
); resultobj
= Py_None
;
29578 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29579 PyObject
*resultobj
;
29580 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29581 wxPoint
*arg2
= 0 ;
29582 wxWindow
*arg3
= (wxWindow
*) 0 ;
29583 bool arg4
= (bool) False
;
29584 wxRect
*arg5
= (wxRect
*) NULL
;
29587 PyObject
* obj0
= 0 ;
29588 PyObject
* obj1
= 0 ;
29589 PyObject
* obj2
= 0 ;
29590 PyObject
* obj3
= 0 ;
29591 PyObject
* obj4
= 0 ;
29592 char *kwnames
[] = {
29593 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29603 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29606 arg4
= (bool) SWIG_AsBool(obj3
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
29611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29615 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29629 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29632 wxPoint
*arg2
= 0 ;
29633 wxWindow
*arg3
= (wxWindow
*) 0 ;
29634 wxWindow
*arg4
= (wxWindow
*) 0 ;
29637 PyObject
* obj0
= 0 ;
29638 PyObject
* obj1
= 0 ;
29639 PyObject
* obj2
= 0 ;
29640 PyObject
* obj3
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29652 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
29653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29654 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
29655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29672 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29673 PyObject
*resultobj
;
29674 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29676 PyObject
* obj0
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
29682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 result
= (bool)(arg1
)->EndDrag();
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29700 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29701 PyObject
*resultobj
;
29702 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29703 wxPoint
*arg2
= 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "pt", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29735 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
;
29737 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29739 PyObject
* obj0
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
29745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= (bool)(arg1
)->Show();
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29763 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29767 PyObject
* obj0
= 0 ;
29768 char *kwnames
[] = {
29769 (char *) "self", NULL
29772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
29773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29777 result
= (bool)(arg1
)->Hide();
29779 wxPyEndAllowThreads(__tstate
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29791 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29794 wxPoint
*arg2
= 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self",(char *) "pos", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
29804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29808 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29818 wxRect
* resultptr
;
29819 resultptr
= new wxRect((wxRect
&) result
);
29820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
29828 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29832 wxPoint
*arg3
= 0 ;
29835 PyObject
* obj0
= 0 ;
29836 PyObject
* obj1
= 0 ;
29837 PyObject
* obj2
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "dc",(char *) "pos", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29848 if (arg2
== NULL
) {
29849 PyErr_SetString(PyExc_TypeError
,"null reference");
29854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29872 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29876 wxMemoryDC
*arg3
= 0 ;
29882 PyObject
* obj0
= 0 ;
29883 PyObject
* obj1
= 0 ;
29884 PyObject
* obj2
= 0 ;
29885 PyObject
* obj3
= 0 ;
29886 PyObject
* obj4
= 0 ;
29887 char *kwnames
[] = {
29888 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
29895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29897 if (arg2
== NULL
) {
29898 PyErr_SetString(PyExc_TypeError
,"null reference");
29901 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
29902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29904 if (arg3
== NULL
) {
29905 PyErr_SetString(PyExc_TypeError
,"null reference");
29910 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29914 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29932 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29935 wxPoint
*arg2
= 0 ;
29936 wxPoint
*arg3
= 0 ;
29942 PyObject
* obj0
= 0 ;
29943 PyObject
* obj1
= 0 ;
29944 PyObject
* obj2
= 0 ;
29945 PyObject
* obj3
= 0 ;
29946 PyObject
* obj4
= 0 ;
29947 char *kwnames
[] = {
29948 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29962 arg4
= (bool) SWIG_AsBool(obj3
);
29963 if (PyErr_Occurred()) SWIG_fail
;
29964 arg5
= (bool) SWIG_AsBool(obj4
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
29984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29985 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
29987 return Py_BuildValue((char *)"");
29989 static PyMethodDef SwigMethods
[] = {
29990 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
29991 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
29992 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
29993 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
29994 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
29995 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
29996 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29997 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
29998 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
29999 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30000 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30001 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30002 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30003 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30004 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30005 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30006 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30007 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30008 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30009 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30010 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30011 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30012 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30013 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30014 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30015 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30016 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30017 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30018 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30019 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30020 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30021 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30022 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30023 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30024 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30025 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30026 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30027 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30028 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30029 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30030 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30031 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30032 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30033 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30034 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30035 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30036 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30037 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30038 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30039 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30040 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30041 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30042 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30043 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30044 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30045 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30046 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30047 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30048 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30049 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30050 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30051 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30052 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30053 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30054 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30055 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30056 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30057 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30058 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30059 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30060 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30061 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30062 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30063 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30064 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30065 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30066 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30067 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30068 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30069 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30070 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30071 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30072 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30073 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30074 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30075 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30076 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30077 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30078 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30079 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30080 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30081 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30082 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30083 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30084 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30085 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30086 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30087 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30088 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30089 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30090 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30091 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30092 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30093 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30094 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30095 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30096 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30097 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30098 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30099 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30100 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30101 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30102 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30103 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30104 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30105 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30106 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30107 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30108 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30109 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30110 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30111 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30112 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30113 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30114 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30115 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30116 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30117 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30118 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30119 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30120 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30121 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30122 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30123 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30124 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30125 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30126 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30127 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30128 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30129 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30130 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30131 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30132 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30133 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30134 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30135 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30136 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30137 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30138 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30139 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30140 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30141 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30142 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30143 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30144 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30145 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30146 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30147 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30148 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30149 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30150 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30151 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30152 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30153 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30154 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30155 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30156 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30157 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30158 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30159 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30160 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30161 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30162 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30163 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30164 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30165 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30166 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30167 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30168 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30169 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30170 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30171 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30172 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30173 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30174 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30175 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30176 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30177 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30178 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30179 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30180 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30181 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30182 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30183 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30184 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30185 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30186 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30187 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30188 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30189 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30190 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30191 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30192 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30193 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30194 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30195 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30196 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30197 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30198 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30199 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30200 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30201 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30202 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30203 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30204 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30205 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30206 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30207 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30208 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30209 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30210 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30211 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30212 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30213 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30214 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30215 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30216 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30217 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30218 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30219 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30220 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30221 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30222 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30223 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30224 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30225 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30226 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30227 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30228 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30229 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30230 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30231 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30232 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30233 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30234 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30235 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30236 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30237 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30238 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30239 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30240 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30241 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30242 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30243 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30244 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30245 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30246 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30247 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30248 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30249 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30250 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30251 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30252 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30253 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30254 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30255 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30256 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30257 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30258 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30259 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30260 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30261 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30262 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30263 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30264 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30265 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30266 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30267 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30268 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30269 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30270 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30271 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30272 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30273 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30274 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30275 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30276 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30277 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30278 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30279 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30280 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30281 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30282 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30283 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30284 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30285 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30286 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30287 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30288 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30289 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30290 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30291 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30292 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30293 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30294 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30295 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30296 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30297 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30298 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30299 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30300 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30301 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30302 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30303 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30304 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30305 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30306 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30307 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30308 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30309 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30310 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30311 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30312 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30313 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30314 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30315 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30316 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30317 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30318 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30319 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30320 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30321 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30322 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30323 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30324 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30325 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30326 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30327 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30328 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30329 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30330 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30331 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30332 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30333 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30334 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30335 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30336 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30337 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30338 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30339 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30340 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30341 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30342 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30343 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30344 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30345 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30346 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30347 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30348 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30349 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30350 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30351 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30352 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30353 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30354 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30355 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30356 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30357 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30358 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30359 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30360 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30361 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30362 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30363 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30364 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30365 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30366 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30367 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30368 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30369 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30370 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30371 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30372 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30373 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30374 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30375 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30376 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30377 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30378 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30379 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30380 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30381 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30382 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30383 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30384 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30385 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30386 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30387 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30388 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30389 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30390 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30391 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30392 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30393 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30394 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30395 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30396 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30397 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30398 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30399 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30400 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30401 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30402 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30403 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30404 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30405 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30406 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30407 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30408 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30409 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30410 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30411 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30412 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30413 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30414 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30415 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30416 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30417 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30418 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30419 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30420 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30421 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30422 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30423 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30424 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30425 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30426 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30427 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30428 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30429 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30435 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30436 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30450 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30461 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30468 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30486 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30488 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30499 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30503 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30509 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30513 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30515 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30520 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30543 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30552 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30553 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30582 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
30586 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
30598 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
30606 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
30613 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
30629 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30638 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30643 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30654 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
30666 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
30677 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
30681 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
30698 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
30704 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
30726 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30729 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
30731 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
30736 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
30755 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
30756 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
30762 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
30763 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
30768 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
30770 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
30772 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
30774 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
30779 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
30781 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
30786 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
30791 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
30803 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30805 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
30806 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30808 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
30809 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30811 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
30812 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
30814 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
30815 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
30817 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
30818 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
30820 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
30821 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
30823 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
30824 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
30826 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
30827 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
30829 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
30830 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
30832 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
30833 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
30835 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
30836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
30838 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
30839 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
30841 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
30842 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
30844 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
30845 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
30847 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
30848 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
30850 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
30851 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
30853 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
30854 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
30856 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
30857 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
30859 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
30860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
30862 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
30863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
30865 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
30866 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
30868 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
30869 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
30871 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
30872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
30874 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
30875 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
30877 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
30878 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
30880 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
30881 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
30883 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
30884 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
30886 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
30887 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
30889 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
30890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
30892 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
30893 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
30895 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
30896 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
30898 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
30899 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
30901 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
30902 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
30904 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
30905 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
30907 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
30908 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
30910 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
30911 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
30913 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
30914 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
30916 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
30917 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
30919 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
30920 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
30922 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
30923 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
30925 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
30926 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
30928 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
30929 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
30931 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
30932 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
30934 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
30935 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
30937 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
30938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
30940 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
30941 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
30943 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
30944 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
30946 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
30947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
30949 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
30950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
30952 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
30953 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
30955 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
30956 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
30958 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
30959 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
30961 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
30962 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
30964 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
30965 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
30967 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
30968 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
30970 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
30971 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30973 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
30974 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
30976 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
30977 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30979 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
30980 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30982 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
30983 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
30985 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
30986 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
30988 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
30989 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
30991 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
30992 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
30994 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
30995 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
30997 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
30998 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31000 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31001 return (void *)((wxControl
*) ((wxComboBox
*) x
));
31003 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31004 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31006 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31007 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31009 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31010 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31012 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31013 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31015 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31016 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31018 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31019 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31021 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31022 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31024 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31025 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31027 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31028 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31030 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31031 return (void *)((wxControl
*) ((wxGauge
*) x
));
31033 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31034 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31036 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31037 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31039 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31040 return (void *)((wxControl
*) ((wxButton
*) x
));
31042 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31043 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31045 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31046 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31048 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31049 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31051 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31052 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31054 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31055 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31057 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31058 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31060 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31061 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31063 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31064 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31066 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31067 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31069 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31070 return (void *)((wxControl
*) ((wxSlider
*) x
));
31072 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31073 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31075 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31076 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31078 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31079 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31081 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31082 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31084 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31085 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31087 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31088 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31090 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31091 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31093 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31094 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31096 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31097 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31099 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31100 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31102 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31103 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31105 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31106 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31108 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31111 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31112 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31114 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31115 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31117 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31118 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31120 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31123 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31124 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31126 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31129 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31132 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31133 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31135 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31136 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31138 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31141 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31144 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31147 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31150 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31153 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31154 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31156 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31159 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31162 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31165 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31168 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31171 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31174 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31177 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31180 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31183 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31186 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31189 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31192 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31195 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31198 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31201 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31204 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31207 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31210 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31213 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31216 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31219 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31222 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31225 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31228 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31229 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31231 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31232 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31234 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31235 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31237 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31238 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31240 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31241 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31243 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31244 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31246 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31247 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31249 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31250 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31252 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31253 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31255 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31256 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31258 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31259 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31261 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31262 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31264 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31267 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31268 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31270 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31271 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31273 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31274 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31276 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31277 return (void *)((wxObject
*) ((wxSizer
*) x
));
31279 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31280 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31282 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31283 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31285 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31288 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31291 static void *_p_wxEventTo_p_wxObject(void *x
) {
31292 return (void *)((wxObject
*) ((wxEvent
*) x
));
31294 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31295 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31297 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31298 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31300 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31301 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31303 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31306 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31309 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31312 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31313 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31315 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31316 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31318 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31319 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31321 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31322 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31324 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31325 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31327 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31328 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31330 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31333 static void *_p_wxControlTo_p_wxObject(void *x
) {
31334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31336 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31339 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31342 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31345 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31348 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31351 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31352 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31354 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31357 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31358 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31360 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31361 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31363 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31366 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31367 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31369 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31372 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31373 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31375 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31378 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31381 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31382 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31384 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31387 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31390 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31393 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31396 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31399 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31402 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31405 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31408 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31411 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31414 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31417 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31420 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31423 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31426 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31429 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31432 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31435 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31438 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31441 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31444 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31447 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31450 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31453 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31456 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31459 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31462 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31465 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31468 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31471 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31474 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31477 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31480 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31483 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31486 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31489 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31492 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31495 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
31498 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31501 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) ((wxListItem
*) x
));
31504 static void *_p_wxImageTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) ((wxImage
*) x
));
31507 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31510 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31513 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31516 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31519 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31522 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31525 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31528 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31531 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31534 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31537 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31540 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31543 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31546 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31549 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31552 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31555 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31558 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31561 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31564 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31567 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31570 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31573 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31576 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31579 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31582 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31585 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31588 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31591 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
31594 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31597 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31600 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31603 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
31606 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
31607 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
31609 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31610 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31612 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
31613 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31615 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
31616 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
31618 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
31619 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
31621 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
31622 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
31624 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31625 return (void *)((wxWindow
*) ((wxControl
*) x
));
31627 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
31628 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
31630 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
31631 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31633 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
31634 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
31636 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
31637 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
31639 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
31640 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
31642 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
31643 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
31645 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31646 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31648 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
31649 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
31651 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
31652 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
31654 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
31655 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31657 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
31658 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
31660 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
31661 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
31663 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
31664 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
31666 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
31667 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31669 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
31670 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31672 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
31673 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31675 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
31676 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31678 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
31679 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31681 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
31682 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
31684 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
31685 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
31687 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
31688 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
31690 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
31691 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
31693 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
31694 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
31696 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
31697 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
31699 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
31700 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
31702 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
31703 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31705 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
31706 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31708 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
31709 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
31711 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
31712 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31714 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
31715 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31717 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
31718 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31720 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
31721 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
31723 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
31724 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31726 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
31727 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31729 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
31730 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31732 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
31733 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31735 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
31736 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31738 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
31739 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
31741 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
31742 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31744 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
31745 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31747 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
31748 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31750 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
31751 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
31753 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
31754 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31756 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
31757 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31759 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
31760 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31762 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
31763 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
31765 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
31766 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
31768 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
31769 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
31771 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
31772 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
31774 static swig_type_info _swigt__p_wxTextUrlEvent
[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31775 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31776 static swig_type_info _swigt__p_wxSizer
[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31777 static swig_type_info _swigt__p_wxCheckBox
[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31778 static swig_type_info _swigt__p_wxPyTreeCtrl
[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31779 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31780 static swig_type_info _swigt__p_wxGenericDirCtrl
[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31781 static swig_type_info _swigt__p_bool
[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31782 static swig_type_info _swigt__p_wxPyTreeItemData
[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31783 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer
, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31784 static swig_type_info _swigt__p_wxPyListCtrl
[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31785 static swig_type_info _swigt__p_wxDirFilterListCtrl
[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31786 static swig_type_info _swigt__p_wxStaticLine
[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31787 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31788 static swig_type_info _swigt__p_wxPyControl
[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31789 static swig_type_info _swigt__p_wxGauge
[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31790 static swig_type_info _swigt__p_wxToolBarBase
[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31791 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31792 static swig_type_info _swigt__p_wxToggleButton
[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31793 static swig_type_info _swigt__p_wxRadioButton
[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31794 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31795 static swig_type_info _swigt__p_wxMemoryDC
[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31796 static swig_type_info _swigt__p_wxListItemAttr
[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31797 static swig_type_info _swigt__p_void
[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31798 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31799 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31800 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31801 static swig_type_info _swigt__p_wxListView
[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31802 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31803 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31804 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31805 static swig_type_info _swigt__p_wxNotebook
[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31806 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31807 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31808 static swig_type_info _swigt__p_wxListbook
[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31809 static swig_type_info _swigt__p_wxStaticBitmap
[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31810 static swig_type_info _swigt__p_wxSlider
[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31811 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31812 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31813 static swig_type_info _swigt__p_wxContextHelp
[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31814 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31815 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31816 static swig_type_info _swigt__p_wxListEvent
[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31817 static swig_type_info _swigt__p_wxCheckListBox
[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31818 static swig_type_info _swigt__p_wxListBox
[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31819 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31820 static swig_type_info _swigt__p_wxSpinButton
[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31821 static swig_type_info _swigt__p_wxButton
[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31822 static swig_type_info _swigt__p_wxBitmapButton
[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31823 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31824 static swig_type_info _swigt__p_wxContextHelpButton
[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31825 static swig_type_info _swigt__p_wxRadioBox
[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31826 static swig_type_info _swigt__p_wxScrollBar
[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31827 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31828 static swig_type_info _swigt__p_wxTreeItemId
[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31829 static swig_type_info _swigt__p_wxComboBox
[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31830 static swig_type_info _swigt__p_wxHelpEvent
[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31831 static swig_type_info _swigt__p_wxListItem
[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31832 static swig_type_info _swigt__p_wxNotebookSizer
[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31833 static swig_type_info _swigt__p_wxSpinEvent
[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31834 static swig_type_info _swigt__p_wxGenericDragImage
[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31835 static swig_type_info _swigt__p_wxSpinCtrl
[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31836 static swig_type_info _swigt__p_wxImageList
[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31837 static swig_type_info _swigt__p_wxHelpProvider
[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31838 static swig_type_info _swigt__p_wxTextAttr
[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31839 static swig_type_info _swigt__p_wxSimpleHelpProvider
[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31840 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31841 static swig_type_info _swigt__p_wxListbookEvent
[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31842 static swig_type_info _swigt__p_wxNotebookEvent
[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31843 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31844 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31845 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31846 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31847 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31848 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31849 static swig_type_info _swigt__p_wxTreeEvent
[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31850 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31851 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31852 static swig_type_info _swigt__p_wxStaticText
[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31853 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31854 static swig_type_info _swigt__p_wxToolBarToolBase
[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31855 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31856 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31857 static swig_type_info _swigt__p_wxBookCtrlSizer
[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31858 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
31860 static swig_type_info
*swig_types_initial
[] = {
31861 _swigt__p_wxTextUrlEvent
,
31862 _swigt__p_wxBookCtrlEvent
,
31864 _swigt__p_wxCheckBox
,
31865 _swigt__p_wxPyTreeCtrl
,
31867 _swigt__p_wxGenericDirCtrl
,
31869 _swigt__p_wxPyTreeItemData
,
31870 _swigt__p_wxItemContainer
,
31871 _swigt__p_wxPyListCtrl
,
31872 _swigt__p_wxDirFilterListCtrl
,
31873 _swigt__p_wxStaticLine
,
31874 _swigt__p_wxControl
,
31875 _swigt__p_wxPyControl
,
31877 _swigt__p_wxToolBarBase
,
31879 _swigt__p_wxToggleButton
,
31880 _swigt__p_wxRadioButton
,
31881 _swigt__p_wxChoice
,
31882 _swigt__p_wxMemoryDC
,
31883 _swigt__p_wxListItemAttr
,
31888 _swigt__p_wxListView
,
31890 _swigt__p_wxVisualAttributes
,
31891 _swigt__p_wxTextCtrl
,
31892 _swigt__p_wxNotebook
,
31893 _swigt__p_wxNotifyEvent
,
31894 _swigt__p_wxArrayString
,
31895 _swigt__p_wxListbook
,
31896 _swigt__p_wxStaticBitmap
,
31897 _swigt__p_wxSlider
,
31898 _swigt__p_wxStaticBox
,
31899 _swigt__p_wxArrayInt
,
31900 _swigt__p_wxContextHelp
,
31902 _swigt__p_wxEvtHandler
,
31903 _swigt__p_wxListEvent
,
31904 _swigt__p_wxCheckListBox
,
31905 _swigt__p_wxListBox
,
31906 _swigt__p_wxBookCtrl
,
31907 _swigt__p_wxSpinButton
,
31908 _swigt__p_wxButton
,
31909 _swigt__p_wxBitmapButton
,
31911 _swigt__p_wxContextHelpButton
,
31912 _swigt__p_wxRadioBox
,
31913 _swigt__p_wxScrollBar
,
31915 _swigt__p_wxTreeItemId
,
31916 _swigt__p_wxComboBox
,
31917 _swigt__p_wxHelpEvent
,
31918 _swigt__p_wxListItem
,
31919 _swigt__p_wxNotebookSizer
,
31920 _swigt__p_wxSpinEvent
,
31921 _swigt__p_wxGenericDragImage
,
31922 _swigt__p_wxSpinCtrl
,
31923 _swigt__p_wxImageList
,
31924 _swigt__p_wxHelpProvider
,
31925 _swigt__p_wxTextAttr
,
31926 _swigt__p_wxSimpleHelpProvider
,
31928 _swigt__p_wxListbookEvent
,
31929 _swigt__p_wxNotebookEvent
,
31930 _swigt__p_wxObject
,
31931 _swigt__p_wxCursor
,
31932 _swigt__p_wxKeyEvent
,
31933 _swigt__p_wxWindow
,
31934 _swigt__p_wxString
,
31935 _swigt__p_wxBitmap
,
31936 _swigt__p_wxTreeEvent
,
31937 _swigt__p_wxMouseEvent
,
31938 _swigt__p_wxCommandEvent
,
31939 _swigt__p_wxStaticText
,
31940 _swigt__p_wxControlWithItems
,
31941 _swigt__p_wxToolBarToolBase
,
31942 _swigt__p_wxColour
,
31943 _swigt__p_wxToolBar
,
31944 _swigt__p_wxBookCtrlSizer
,
31945 _swigt__p_wxValidator
,
31950 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31952 static swig_const_info swig_const_table
[] = {
31962 SWIGEXPORT(void) SWIG_init(void) {
31963 static PyObject
*SWIG_globals
= 0;
31964 static int typeinit
= 0;
31967 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
31968 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
31969 d
= PyModule_GetDict(m
);
31972 for (i
= 0; swig_types_initial
[i
]; i
++) {
31973 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
31977 SWIG_InstallConstants(d
,swig_const_table
);
31979 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
31980 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
31981 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
31982 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
31983 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
31984 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
31985 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
31986 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
31987 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
31988 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
31989 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
31990 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
31991 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
31992 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
31993 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
31994 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
31995 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
31996 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
31997 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
31998 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
31999 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32000 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32001 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32002 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32003 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32004 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32005 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32006 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32007 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32008 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32009 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32010 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32011 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32012 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32013 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32014 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32015 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32016 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32017 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32018 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32019 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32020 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32021 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32022 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32023 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32024 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32025 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32026 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32027 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32028 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32029 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32030 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32031 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32032 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32033 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32034 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32035 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32036 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32037 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32038 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32039 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32040 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32041 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32042 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32043 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32044 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32045 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32046 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32047 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32048 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32049 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32050 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32051 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32052 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32053 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32054 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32055 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32056 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32057 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32058 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32059 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32060 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32061 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32062 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32063 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32064 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32065 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32066 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32067 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32068 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32069 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32070 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32071 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32072 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32073 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32074 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32075 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32076 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32077 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32078 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32079 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32080 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32081 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32082 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32083 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32084 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32085 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32086 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32087 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32088 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32089 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32090 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32091 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32092 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32093 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32094 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32095 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32096 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32097 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32098 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32099 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32100 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32101 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32102 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32103 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32104 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32105 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32106 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32107 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32108 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32109 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32110 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32111 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32112 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32113 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32114 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32115 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32116 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32117 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32118 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32119 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32120 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32121 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32122 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32123 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32124 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32125 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32126 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32127 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32128 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32129 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32130 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32131 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32132 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32133 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32134 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32135 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32136 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32137 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32138 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32139 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32140 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32141 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32142 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32143 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32144 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32145 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32146 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32147 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32148 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32149 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32150 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32151 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32152 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32153 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32154 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32155 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32156 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32157 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32158 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32159 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32160 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32161 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32162 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32163 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32164 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32165 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32166 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32167 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32168 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32171 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32172 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32173 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32174 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32175 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32176 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32177 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32178 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32179 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32182 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32183 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32184 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32185 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32186 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32188 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32189 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32191 // Map renamed classes back to their common name for OOR
32192 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32194 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32195 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32196 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32197 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32198 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32199 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32200 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32201 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32202 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32203 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32204 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32205 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32206 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32207 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32208 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32209 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32210 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32211 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32212 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32213 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32214 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32215 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32216 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32217 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32218 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32219 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32220 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32221 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32222 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32223 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32224 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32225 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32226 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32227 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32228 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32229 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32230 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32231 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32232 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32233 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32234 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32235 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32236 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32237 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32238 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32239 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32240 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32241 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32242 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32243 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32244 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32245 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32246 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32247 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32248 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32249 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32251 // Map renamed classes back to their common name for OOR
32252 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32253 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32255 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32256 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32257 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32258 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32259 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32260 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32261 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32262 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32263 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32264 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32266 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");