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
);
900 wxPyEndBlockThreads(blocked
);
903 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
905 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
906 bool blocked
= wxPyBeginBlockThreads();
907 PyObject
* tup
= PyTuple_New(2);
908 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
909 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
910 wxPyEndBlockThreads(blocked
);
913 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
914 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
915 bool blocked
= wxPyBeginBlockThreads();
916 PyObject
* tup
= PyTuple_New(2);
917 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
918 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
919 wxPyEndBlockThreads(blocked
);
922 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
924 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
925 bool blocked
= wxPyBeginBlockThreads();
926 wxRect
* r
= new wxRect(rect
);
927 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
928 wxPyEndBlockThreads(blocked
);
934 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
935 // C++ version of Python aware wxControl
936 class wxPyControl
: public wxControl
938 DECLARE_DYNAMIC_CLASS(wxPyControl
)
940 wxPyControl() : wxControl() {}
941 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
942 const wxPoint
& pos
= wxDefaultPosition
,
943 const wxSize
& size
= wxDefaultSize
,
945 const wxValidator
& validator
=wxDefaultValidator
,
946 const wxString
& name
= wxPyControlNameStr
)
947 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
949 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
951 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
952 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
960 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
961 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
963 DEC_PYCALLBACK__(InitDialog
);
964 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
965 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
966 DEC_PYCALLBACK_BOOL_(Validate
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
970 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
973 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
975 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
976 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
977 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
996 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
999 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1008 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1014 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1016 #include <wx/generic/dragimgg.h>
1021 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1022 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1027 static PyObject
*_wrap_ButtonNameStr_get() {
1032 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1034 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1041 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
*resultobj
;
1043 wxWindow
*arg1
= (wxWindow
*) 0 ;
1045 wxString
*arg3
= 0 ;
1046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1050 long arg6
= (long) 0 ;
1051 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1052 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1053 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1056 bool temp3
= False
;
1059 bool temp8
= False
;
1060 PyObject
* obj0
= 0 ;
1061 PyObject
* obj1
= 0 ;
1062 PyObject
* obj2
= 0 ;
1063 PyObject
* obj3
= 0 ;
1064 PyObject
* obj4
= 0 ;
1065 PyObject
* obj5
= 0 ;
1066 PyObject
* obj6
= 0 ;
1067 PyObject
* obj7
= 0 ;
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1075 arg2
= (int) SWIG_AsInt(obj1
);
1076 if (PyErr_Occurred()) SWIG_fail
;
1078 arg3
= wxString_in_helper(obj2
);
1079 if (arg3
== NULL
) SWIG_fail
;
1085 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1091 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1095 arg6
= (long) SWIG_AsLong(obj5
);
1096 if (PyErr_Occurred()) SWIG_fail
;
1099 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1103 PyErr_SetString(PyExc_TypeError
,"null reference");
1109 arg8
= wxString_in_helper(obj7
);
1110 if (arg8
== NULL
) SWIG_fail
;
1115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1116 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1118 wxPyEndAllowThreads(__tstate
);
1119 if (PyErr_Occurred()) SWIG_fail
;
1122 resultobj
= wxPyMake_wxObject(result
);
1146 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1147 PyObject
*resultobj
;
1153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1156 result
= (wxButton
*)new wxButton();
1158 wxPyEndAllowThreads(__tstate
);
1159 if (PyErr_Occurred()) SWIG_fail
;
1162 resultobj
= wxPyMake_wxObject(result
);
1170 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
*resultobj
;
1172 wxButton
*arg1
= (wxButton
*) 0 ;
1173 wxWindow
*arg2
= (wxWindow
*) 0 ;
1175 wxString
*arg4
= 0 ;
1176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1180 long arg7
= (long) 0 ;
1181 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1182 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1183 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1184 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1186 bool temp4
= False
;
1189 bool temp9
= False
;
1190 PyObject
* obj0
= 0 ;
1191 PyObject
* obj1
= 0 ;
1192 PyObject
* obj2
= 0 ;
1193 PyObject
* obj3
= 0 ;
1194 PyObject
* obj4
= 0 ;
1195 PyObject
* obj5
= 0 ;
1196 PyObject
* obj6
= 0 ;
1197 PyObject
* obj7
= 0 ;
1198 PyObject
* obj8
= 0 ;
1200 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1208 arg3
= (int) SWIG_AsInt(obj2
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 arg4
= wxString_in_helper(obj3
);
1212 if (arg4
== NULL
) SWIG_fail
;
1218 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1224 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1228 arg7
= (long) SWIG_AsLong(obj6
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1232 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1236 PyErr_SetString(PyExc_TypeError
,"null reference");
1242 arg9
= wxString_in_helper(obj8
);
1243 if (arg9
== NULL
) SWIG_fail
;
1248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1251 wxPyEndAllowThreads(__tstate
);
1252 if (PyErr_Occurred()) SWIG_fail
;
1255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1279 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
*resultobj
;
1281 wxButton
*arg1
= (wxButton
*) 0 ;
1282 PyObject
* obj0
= 0 ;
1284 (char *) "self", NULL
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 (arg1
)->SetDefault();
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) SWIG_fail
;
1297 Py_INCREF(Py_None
); resultobj
= Py_None
;
1304 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
*resultobj
;
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1314 result
= wxButton::GetDefaultSize();
1316 wxPyEndAllowThreads(__tstate
);
1317 if (PyErr_Occurred()) SWIG_fail
;
1321 resultptr
= new wxSize((wxSize
&) result
);
1322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1330 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1331 PyObject
*resultobj
;
1332 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1333 wxVisualAttributes result
;
1334 PyObject
* obj0
= 0 ;
1336 (char *) "variant", NULL
1339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1341 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1342 if (PyErr_Occurred()) SWIG_fail
;
1345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1346 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1348 wxPyEndAllowThreads(__tstate
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1352 wxVisualAttributes
* resultptr
;
1353 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1362 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1365 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1367 return Py_BuildValue((char *)"");
1369 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
*resultobj
;
1371 wxWindow
*arg1
= (wxWindow
*) 0 ;
1373 wxBitmap
*arg3
= 0 ;
1374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1378 long arg6
= (long) wxBU_AUTODRAW
;
1379 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1380 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1381 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1382 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1383 wxBitmapButton
*result
;
1386 bool temp8
= False
;
1387 PyObject
* obj0
= 0 ;
1388 PyObject
* obj1
= 0 ;
1389 PyObject
* obj2
= 0 ;
1390 PyObject
* obj3
= 0 ;
1391 PyObject
* obj4
= 0 ;
1392 PyObject
* obj5
= 0 ;
1393 PyObject
* obj6
= 0 ;
1394 PyObject
* obj7
= 0 ;
1396 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1402 arg2
= (int) SWIG_AsInt(obj1
);
1403 if (PyErr_Occurred()) SWIG_fail
;
1404 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1405 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1408 PyErr_SetString(PyExc_TypeError
,"null reference");
1414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1424 arg6
= (long) SWIG_AsLong(obj5
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1428 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1432 PyErr_SetString(PyExc_TypeError
,"null reference");
1438 arg8
= wxString_in_helper(obj7
);
1439 if (arg8
== NULL
) SWIG_fail
;
1444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1445 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1447 wxPyEndAllowThreads(__tstate
);
1448 if (PyErr_Occurred()) SWIG_fail
;
1451 resultobj
= wxPyMake_wxObject(result
);
1467 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 wxBitmapButton
*result
;
1474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= (wxBitmapButton
*)new wxBitmapButton();
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= wxPyMake_wxObject(result
);
1491 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1494 wxWindow
*arg2
= (wxWindow
*) 0 ;
1496 wxBitmap
*arg4
= 0 ;
1497 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1498 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1499 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1500 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1501 long arg7
= (long) wxBU_AUTODRAW
;
1502 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1503 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1504 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1505 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1509 bool temp9
= False
;
1510 PyObject
* obj0
= 0 ;
1511 PyObject
* obj1
= 0 ;
1512 PyObject
* obj2
= 0 ;
1513 PyObject
* obj3
= 0 ;
1514 PyObject
* obj4
= 0 ;
1515 PyObject
* obj5
= 0 ;
1516 PyObject
* obj6
= 0 ;
1517 PyObject
* obj7
= 0 ;
1518 PyObject
* obj8
= 0 ;
1520 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1528 arg3
= (int) SWIG_AsInt(obj2
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1530 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1534 PyErr_SetString(PyExc_TypeError
,"null reference");
1540 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1546 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1550 arg7
= (long) SWIG_AsLong(obj6
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1558 PyErr_SetString(PyExc_TypeError
,"null reference");
1564 arg9
= wxString_in_helper(obj8
);
1565 if (arg9
== NULL
) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1593 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1594 PyObject
*resultobj
;
1595 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1597 PyObject
* obj0
= 0 ;
1599 (char *) "self", NULL
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 result
= (arg1
)->GetBitmapLabel();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1613 wxBitmap
* resultptr
;
1614 resultptr
= new wxBitmap((wxBitmap
&) result
);
1615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1623 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1625 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1627 PyObject
* obj0
= 0 ;
1629 (char *) "self", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1637 result
= (arg1
)->GetBitmapDisabled();
1639 wxPyEndAllowThreads(__tstate
);
1640 if (PyErr_Occurred()) SWIG_fail
;
1643 wxBitmap
* resultptr
;
1644 resultptr
= new wxBitmap((wxBitmap
&) result
);
1645 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1653 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
*resultobj
;
1655 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1659 (char *) "self", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 result
= (arg1
)->GetBitmapFocus();
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1673 wxBitmap
* resultptr
;
1674 resultptr
= new wxBitmap((wxBitmap
&) result
);
1675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1683 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "self", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 result
= (arg1
)->GetBitmapSelected();
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1703 wxBitmap
* resultptr
;
1704 resultptr
= new wxBitmap((wxBitmap
&) result
);
1705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1713 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1716 wxBitmap
*arg2
= 0 ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1720 (char *) "self",(char *) "bitmap", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1730 PyErr_SetString(PyExc_TypeError
,"null reference");
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1740 Py_INCREF(Py_None
); resultobj
= Py_None
;
1747 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1750 wxBitmap
*arg2
= 0 ;
1751 PyObject
* obj0
= 0 ;
1752 PyObject
* obj1
= 0 ;
1754 (char *) "self",(char *) "bitmap", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1764 PyErr_SetString(PyExc_TypeError
,"null reference");
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 wxBitmap
*arg2
= 0 ;
1785 PyObject
* obj0
= 0 ;
1786 PyObject
* obj1
= 0 ;
1788 (char *) "self",(char *) "bitmap", NULL
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1798 PyErr_SetString(PyExc_TypeError
,"null reference");
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 Py_INCREF(Py_None
); resultobj
= Py_None
;
1815 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1818 wxBitmap
*arg2
= 0 ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1822 (char *) "self",(char *) "bitmap", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1832 PyErr_SetString(PyExc_TypeError
,"null reference");
1836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1837 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1839 wxPyEndAllowThreads(__tstate
);
1840 if (PyErr_Occurred()) SWIG_fail
;
1842 Py_INCREF(Py_None
); resultobj
= Py_None
;
1849 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
*resultobj
;
1851 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1854 PyObject
* obj0
= 0 ;
1855 PyObject
* obj1
= 0 ;
1856 PyObject
* obj2
= 0 ;
1858 (char *) "self",(char *) "x",(char *) "y", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 arg2
= (int) SWIG_AsInt(obj1
);
1865 if (PyErr_Occurred()) SWIG_fail
;
1866 arg3
= (int) SWIG_AsInt(obj2
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1870 (arg1
)->SetMargins(arg2
,arg3
);
1872 wxPyEndAllowThreads(__tstate
);
1873 if (PyErr_Occurred()) SWIG_fail
;
1875 Py_INCREF(Py_None
); resultobj
= Py_None
;
1882 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromInt((int)result
);
1934 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1937 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1939 return Py_BuildValue((char *)"");
1941 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1942 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1947 static PyObject
*_wrap_CheckBoxNameStr_get() {
1952 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1954 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1961 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxWindow
*arg1
= (wxWindow
*) 0 ;
1965 wxString
*arg3
= 0 ;
1966 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1967 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1968 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1969 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1970 long arg6
= (long) 0 ;
1971 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1972 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1973 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1974 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1976 bool temp3
= False
;
1979 bool temp8
= False
;
1980 PyObject
* obj0
= 0 ;
1981 PyObject
* obj1
= 0 ;
1982 PyObject
* obj2
= 0 ;
1983 PyObject
* obj3
= 0 ;
1984 PyObject
* obj4
= 0 ;
1985 PyObject
* obj5
= 0 ;
1986 PyObject
* obj6
= 0 ;
1987 PyObject
* obj7
= 0 ;
1989 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1995 arg2
= (int) SWIG_AsInt(obj1
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 arg3
= wxString_in_helper(obj2
);
1999 if (arg3
== NULL
) SWIG_fail
;
2005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2015 arg6
= (long) SWIG_AsLong(obj5
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2023 PyErr_SetString(PyExc_TypeError
,"null reference");
2029 arg8
= wxString_in_helper(obj7
);
2030 if (arg8
== NULL
) SWIG_fail
;
2035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2036 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2038 wxPyEndAllowThreads(__tstate
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2064 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (wxCheckBox
*)new wxCheckBox();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2086 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2088 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2089 wxWindow
*arg2
= (wxWindow
*) 0 ;
2091 wxString
*arg4
= 0 ;
2092 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2093 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2094 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2095 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2096 long arg7
= (long) 0 ;
2097 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2098 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2099 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2100 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2102 bool temp4
= False
;
2105 bool temp9
= False
;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2108 PyObject
* obj2
= 0 ;
2109 PyObject
* obj3
= 0 ;
2110 PyObject
* obj4
= 0 ;
2111 PyObject
* obj5
= 0 ;
2112 PyObject
* obj6
= 0 ;
2113 PyObject
* obj7
= 0 ;
2114 PyObject
* obj8
= 0 ;
2116 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2124 arg3
= (int) SWIG_AsInt(obj2
);
2125 if (PyErr_Occurred()) SWIG_fail
;
2127 arg4
= wxString_in_helper(obj3
);
2128 if (arg4
== NULL
) SWIG_fail
;
2134 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2140 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2144 arg7
= (long) SWIG_AsLong(obj6
);
2145 if (PyErr_Occurred()) SWIG_fail
;
2148 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2152 PyErr_SetString(PyExc_TypeError
,"null reference");
2158 arg9
= wxString_in_helper(obj8
);
2159 if (arg9
== NULL
) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2195 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2197 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2199 PyObject
* obj0
= 0 ;
2201 (char *) "self", NULL
2204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2209 result
= (bool)(arg1
)->GetValue();
2211 wxPyEndAllowThreads(__tstate
);
2212 if (PyErr_Occurred()) SWIG_fail
;
2215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2223 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2225 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2227 PyObject
* obj0
= 0 ;
2229 (char *) "self", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2237 result
= (bool)(arg1
)->IsChecked();
2239 wxPyEndAllowThreads(__tstate
);
2240 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2251 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "state", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 arg2
= (bool const) SWIG_AsBool(obj1
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 (arg1
)->SetValue(arg2
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 Py_INCREF(Py_None
); resultobj
= Py_None
;
2280 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2286 (char *) "self", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= SWIG_FromInt((int)result
);
2306 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2308 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2311 PyObject
* obj1
= 0 ;
2313 (char *) "self",(char *) "state", NULL
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2335 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2336 PyObject
*resultobj
;
2337 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2339 PyObject
* obj0
= 0 ;
2341 (char *) "self", NULL
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2363 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2364 PyObject
*resultobj
;
2365 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2367 PyObject
* obj0
= 0 ;
2369 (char *) "self", NULL
2372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2377 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2379 wxPyEndAllowThreads(__tstate
);
2380 if (PyErr_Occurred()) SWIG_fail
;
2383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2391 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2394 wxVisualAttributes result
;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "variant", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2402 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2407 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2409 wxPyEndAllowThreads(__tstate
);
2410 if (PyErr_Occurred()) SWIG_fail
;
2413 wxVisualAttributes
* resultptr
;
2414 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2423 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2426 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2428 return Py_BuildValue((char *)"");
2430 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2431 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2436 static PyObject
*_wrap_ChoiceNameStr_get() {
2441 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2443 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2450 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2451 PyObject
*resultobj
;
2452 wxWindow
*arg1
= (wxWindow
*) 0 ;
2453 int arg2
= (int) -1 ;
2454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2458 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2459 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2460 long arg6
= (long) 0 ;
2461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2463 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2468 bool temp5
= False
;
2469 bool temp8
= False
;
2470 PyObject
* obj0
= 0 ;
2471 PyObject
* obj1
= 0 ;
2472 PyObject
* obj2
= 0 ;
2473 PyObject
* obj3
= 0 ;
2474 PyObject
* obj4
= 0 ;
2475 PyObject
* obj5
= 0 ;
2476 PyObject
* obj6
= 0 ;
2477 PyObject
* obj7
= 0 ;
2479 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2486 arg2
= (int) SWIG_AsInt(obj1
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2492 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2498 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2503 if (! PySequence_Check(obj4
)) {
2504 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2507 arg5
= new wxArrayString
;
2509 int i
, len
=PySequence_Length(obj4
);
2510 for (i
=0; i
<len
; i
++) {
2511 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2513 PyObject
* str
= PyObject_Unicode(item
);
2515 PyObject
* str
= PyObject_Str(item
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2518 arg5
->Add(Py2wxString(str
));
2525 arg6
= (long) SWIG_AsLong(obj5
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2529 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2533 PyErr_SetString(PyExc_TypeError
,"null reference");
2539 arg8
= wxString_in_helper(obj7
);
2540 if (arg8
== NULL
) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2553 if (temp5
) delete arg5
;
2562 if (temp5
) delete arg5
;
2572 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2582 result
= (wxChoice
*)new wxChoice();
2584 wxPyEndAllowThreads(__tstate
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2594 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2595 PyObject
*resultobj
;
2596 wxChoice
*arg1
= (wxChoice
*) 0 ;
2597 wxWindow
*arg2
= (wxWindow
*) 0 ;
2598 int arg3
= (int) -1 ;
2599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2603 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2604 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2605 long arg7
= (long) 0 ;
2606 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2607 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2608 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2609 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2613 bool temp6
= False
;
2614 bool temp9
= False
;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2617 PyObject
* obj2
= 0 ;
2618 PyObject
* obj3
= 0 ;
2619 PyObject
* obj4
= 0 ;
2620 PyObject
* obj5
= 0 ;
2621 PyObject
* obj6
= 0 ;
2622 PyObject
* obj7
= 0 ;
2623 PyObject
* obj8
= 0 ;
2625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 arg3
= (int) SWIG_AsInt(obj2
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2651 if (! PySequence_Check(obj5
)) {
2652 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2655 arg6
= new wxArrayString
;
2657 int i
, len
=PySequence_Length(obj5
);
2658 for (i
=0; i
<len
; i
++) {
2659 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2661 PyObject
* str
= PyObject_Unicode(item
);
2663 PyObject
* str
= PyObject_Str(item
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2666 arg6
->Add(Py2wxString(str
));
2673 arg7
= (long) SWIG_AsLong(obj6
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2677 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2681 PyErr_SetString(PyExc_TypeError
,"null reference");
2687 arg9
= wxString_in_helper(obj8
);
2688 if (arg9
== NULL
) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2703 if (temp6
) delete arg6
;
2712 if (temp6
) delete arg6
;
2722 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxChoice
*arg1
= (wxChoice
*) 0 ;
2726 PyObject
* obj0
= 0 ;
2727 PyObject
* obj1
= 0 ;
2729 (char *) "self",(char *) "n", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2735 arg2
= (int const) SWIG_AsInt(obj1
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 (arg1
)->SetSelection(arg2
);
2741 wxPyEndAllowThreads(__tstate
);
2742 if (PyErr_Occurred()) SWIG_fail
;
2744 Py_INCREF(Py_None
); resultobj
= Py_None
;
2751 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
*resultobj
;
2753 wxChoice
*arg1
= (wxChoice
*) 0 ;
2754 wxString
*arg2
= 0 ;
2756 bool temp2
= False
;
2757 PyObject
* obj0
= 0 ;
2758 PyObject
* obj1
= 0 ;
2760 (char *) "self",(char *) "string", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2767 arg2
= wxString_in_helper(obj1
);
2768 if (arg2
== NULL
) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2795 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxChoice
*arg1
= (wxChoice
*) 0 ;
2799 wxString
*arg3
= 0 ;
2800 bool temp3
= False
;
2801 PyObject
* obj0
= 0 ;
2802 PyObject
* obj1
= 0 ;
2803 PyObject
* obj2
= 0 ;
2805 (char *) "self",(char *) "n",(char *) "string", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2811 arg2
= (int) SWIG_AsInt(obj1
);
2812 if (PyErr_Occurred()) SWIG_fail
;
2814 arg3
= wxString_in_helper(obj2
);
2815 if (arg3
== NULL
) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2840 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2843 wxVisualAttributes result
;
2844 PyObject
* obj0
= 0 ;
2846 (char *) "variant", NULL
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2851 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2856 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2858 wxPyEndAllowThreads(__tstate
);
2859 if (PyErr_Occurred()) SWIG_fail
;
2862 wxVisualAttributes
* resultptr
;
2863 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2872 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2875 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2877 return Py_BuildValue((char *)"");
2879 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2880 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2885 static PyObject
*_wrap_ComboBoxNameStr_get() {
2890 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2892 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2899 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxWindow
*arg1
= (wxWindow
*) 0 ;
2902 int arg2
= (int) -1 ;
2903 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2904 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2905 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2906 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2907 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2908 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2909 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2910 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2911 long arg7
= (long) 0 ;
2912 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2913 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2914 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2915 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2917 bool temp3
= False
;
2920 bool temp6
= False
;
2921 bool temp9
= False
;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2924 PyObject
* obj2
= 0 ;
2925 PyObject
* obj3
= 0 ;
2926 PyObject
* obj4
= 0 ;
2927 PyObject
* obj5
= 0 ;
2928 PyObject
* obj6
= 0 ;
2929 PyObject
* obj7
= 0 ;
2930 PyObject
* obj8
= 0 ;
2932 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= (int) SWIG_AsInt(obj1
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2944 arg3
= wxString_in_helper(obj2
);
2945 if (arg3
== NULL
) SWIG_fail
;
2952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2963 if (! PySequence_Check(obj5
)) {
2964 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2967 arg6
= new wxArrayString
;
2969 int i
, len
=PySequence_Length(obj5
);
2970 for (i
=0; i
<len
; i
++) {
2971 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2973 PyObject
* str
= PyObject_Unicode(item
);
2975 PyObject
* str
= PyObject_Str(item
);
2977 if (PyErr_Occurred()) SWIG_fail
;
2978 arg6
->Add(Py2wxString(str
));
2985 arg7
= (long) SWIG_AsLong(obj6
);
2986 if (PyErr_Occurred()) SWIG_fail
;
2989 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2993 PyErr_SetString(PyExc_TypeError
,"null reference");
2999 arg9
= wxString_in_helper(obj8
);
3000 if (arg9
== NULL
) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 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
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3017 if (temp6
) delete arg6
;
3030 if (temp6
) delete arg6
;
3040 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
*resultobj
;
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3050 result
= (wxComboBox
*)new wxComboBox();
3052 wxPyEndAllowThreads(__tstate
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3062 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
*resultobj
;
3064 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3065 wxWindow
*arg2
= (wxWindow
*) 0 ;
3066 int arg3
= (int) -1 ;
3067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3069 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3070 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3071 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3072 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3073 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3074 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3075 long arg8
= (long) 0 ;
3076 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3077 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3078 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3079 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3081 bool temp4
= False
;
3084 bool temp7
= False
;
3085 bool temp10
= False
;
3086 PyObject
* obj0
= 0 ;
3087 PyObject
* obj1
= 0 ;
3088 PyObject
* obj2
= 0 ;
3089 PyObject
* obj3
= 0 ;
3090 PyObject
* obj4
= 0 ;
3091 PyObject
* obj5
= 0 ;
3092 PyObject
* obj6
= 0 ;
3093 PyObject
* obj7
= 0 ;
3094 PyObject
* obj8
= 0 ;
3095 PyObject
* obj9
= 0 ;
3097 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg3
= (int) SWIG_AsInt(obj2
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 arg4
= wxString_in_helper(obj3
);
3112 if (arg4
== NULL
) SWIG_fail
;
3119 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3125 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3130 if (! PySequence_Check(obj6
)) {
3131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3134 arg7
= new wxArrayString
;
3136 int i
, len
=PySequence_Length(obj6
);
3137 for (i
=0; i
<len
; i
++) {
3138 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3140 PyObject
* str
= PyObject_Unicode(item
);
3142 PyObject
* str
= PyObject_Str(item
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3145 arg7
->Add(Py2wxString(str
));
3152 arg8
= (long) SWIG_AsLong(obj7
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3160 PyErr_SetString(PyExc_TypeError
,"null reference");
3166 arg10
= wxString_in_helper(obj9
);
3167 if (arg10
== NULL
) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 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
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3186 if (temp7
) delete arg7
;
3199 if (temp7
) delete arg7
;
3209 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3211 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3213 PyObject
* obj0
= 0 ;
3215 (char *) "self", NULL
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3223 result
= ((wxComboBox
const *)arg1
)->GetValue();
3225 wxPyEndAllowThreads(__tstate
);
3226 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3232 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3241 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
*resultobj
;
3243 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3244 wxString
*arg2
= 0 ;
3245 bool temp2
= False
;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "self",(char *) "value", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3256 arg2
= wxString_in_helper(obj1
);
3257 if (arg2
== NULL
) SWIG_fail
;
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 (arg1
)->SetValue((wxString
const &)*arg2
);
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) SWIG_fail
;
3267 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 Py_INCREF(Py_None
); resultobj
= Py_None
;
3307 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 Py_INCREF(Py_None
); resultobj
= Py_None
;
3332 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3335 PyObject
* obj0
= 0 ;
3337 (char *) "self", NULL
3340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3350 Py_INCREF(Py_None
); resultobj
= Py_None
;
3357 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3358 PyObject
*resultobj
;
3359 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3364 (char *) "self",(char *) "pos", NULL
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3370 arg2
= (long) SWIG_AsLong(obj1
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3374 (arg1
)->SetInsertionPoint(arg2
);
3376 wxPyEndAllowThreads(__tstate
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 Py_INCREF(Py_None
); resultobj
= Py_None
;
3386 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3387 PyObject
*resultobj
;
3388 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3390 PyObject
* obj0
= 0 ;
3392 (char *) "self", NULL
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= SWIG_FromLong((long)result
);
3412 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3416 PyObject
* obj0
= 0 ;
3418 (char *) "self", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3431 resultobj
= SWIG_FromLong((long)result
);
3438 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
*resultobj
;
3440 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3443 wxString
*arg4
= 0 ;
3444 bool temp4
= False
;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3447 PyObject
* obj2
= 0 ;
3448 PyObject
* obj3
= 0 ;
3450 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3456 arg2
= (long) SWIG_AsLong(obj1
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3458 arg3
= (long) SWIG_AsLong(obj2
);
3459 if (PyErr_Occurred()) SWIG_fail
;
3461 arg4
= wxString_in_helper(obj3
);
3462 if (arg4
== NULL
) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3487 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
*resultobj
;
3489 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3491 PyObject
* obj0
= 0 ;
3492 PyObject
* obj1
= 0 ;
3494 (char *) "self",(char *) "n", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg2
= (int) SWIG_AsInt(obj1
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 (arg1
)->SetSelection(arg2
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 Py_INCREF(Py_None
); resultobj
= Py_None
;
3516 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
;
3518 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3522 PyObject
* obj1
= 0 ;
3523 PyObject
* obj2
= 0 ;
3525 (char *) "self",(char *) "from",(char *) "to", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 arg2
= (long) SWIG_AsLong(obj1
);
3532 if (PyErr_Occurred()) SWIG_fail
;
3533 arg3
= (long) SWIG_AsLong(obj2
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3537 (arg1
)->SetSelection(arg2
,arg3
);
3539 wxPyEndAllowThreads(__tstate
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 Py_INCREF(Py_None
); resultobj
= Py_None
;
3549 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3550 PyObject
*resultobj
;
3551 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3552 wxString
*arg2
= 0 ;
3554 bool temp2
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "string", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 arg2
= wxString_in_helper(obj1
);
3566 if (arg2
== NULL
) SWIG_fail
;
3570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3571 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3593 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3597 wxString
*arg3
= 0 ;
3598 bool temp3
= False
;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3601 PyObject
* obj2
= 0 ;
3603 (char *) "self",(char *) "n",(char *) "string", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3609 arg2
= (int) SWIG_AsInt(obj1
);
3610 if (PyErr_Occurred()) SWIG_fail
;
3612 arg3
= wxString_in_helper(obj2
);
3613 if (arg3
== NULL
) SWIG_fail
;
3617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3618 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3620 wxPyEndAllowThreads(__tstate
);
3621 if (PyErr_Occurred()) SWIG_fail
;
3623 Py_INCREF(Py_None
); resultobj
= Py_None
;
3638 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3643 PyObject
* obj1
= 0 ;
3645 (char *) "self",(char *) "editable", NULL
3648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3651 arg2
= (bool) SWIG_AsBool(obj1
);
3652 if (PyErr_Occurred()) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 (arg1
)->SetEditable(arg2
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3667 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3668 PyObject
*resultobj
;
3669 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3680 (arg1
)->SetInsertionPointEnd();
3682 wxPyEndAllowThreads(__tstate
);
3683 if (PyErr_Occurred()) SWIG_fail
;
3685 Py_INCREF(Py_None
); resultobj
= Py_None
;
3692 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3693 PyObject
*resultobj
;
3694 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3697 PyObject
* obj0
= 0 ;
3698 PyObject
* obj1
= 0 ;
3699 PyObject
* obj2
= 0 ;
3701 (char *) "self",(char *) "from",(char *) "to", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3707 arg2
= (long) SWIG_AsLong(obj1
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3709 arg3
= (long) SWIG_AsLong(obj2
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 (arg1
)->Remove(arg2
,arg3
);
3715 wxPyEndAllowThreads(__tstate
);
3716 if (PyErr_Occurred()) SWIG_fail
;
3718 Py_INCREF(Py_None
); resultobj
= Py_None
;
3725 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3728 wxVisualAttributes result
;
3729 PyObject
* obj0
= 0 ;
3731 (char *) "variant", NULL
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3736 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 wxVisualAttributes
* resultptr
;
3748 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3757 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3760 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3762 return Py_BuildValue((char *)"");
3764 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3765 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3770 static PyObject
*_wrap_GaugeNameStr_get() {
3775 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3777 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3784 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3785 PyObject
*resultobj
;
3786 wxWindow
*arg1
= (wxWindow
*) 0 ;
3789 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3790 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3791 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3792 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3793 long arg6
= (long) wxGA_HORIZONTAL
;
3794 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3795 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3796 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3797 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3801 bool temp8
= False
;
3802 PyObject
* obj0
= 0 ;
3803 PyObject
* obj1
= 0 ;
3804 PyObject
* obj2
= 0 ;
3805 PyObject
* obj3
= 0 ;
3806 PyObject
* obj4
= 0 ;
3807 PyObject
* obj5
= 0 ;
3808 PyObject
* obj6
= 0 ;
3809 PyObject
* obj7
= 0 ;
3811 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= (int) SWIG_AsInt(obj1
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3819 arg3
= (int) SWIG_AsInt(obj2
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3824 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3830 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3834 arg6
= (long) SWIG_AsLong(obj5
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3838 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3842 PyErr_SetString(PyExc_TypeError
,"null reference");
3848 arg8
= wxString_in_helper(obj7
);
3849 if (arg8
== NULL
) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3875 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 result
= (wxGauge
*)new wxGauge();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3897 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxGauge
*arg1
= (wxGauge
*) 0 ;
3900 wxWindow
*arg2
= (wxWindow
*) 0 ;
3903 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3904 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3905 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3906 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3907 long arg7
= (long) wxGA_HORIZONTAL
;
3908 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3909 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3910 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3911 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3915 bool temp9
= False
;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3918 PyObject
* obj2
= 0 ;
3919 PyObject
* obj3
= 0 ;
3920 PyObject
* obj4
= 0 ;
3921 PyObject
* obj5
= 0 ;
3922 PyObject
* obj6
= 0 ;
3923 PyObject
* obj7
= 0 ;
3924 PyObject
* obj8
= 0 ;
3926 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg3
= (int) SWIG_AsInt(obj2
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3936 arg4
= (int) SWIG_AsInt(obj3
);
3937 if (PyErr_Occurred()) SWIG_fail
;
3941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3951 arg7
= (long) SWIG_AsLong(obj6
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3955 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3959 PyErr_SetString(PyExc_TypeError
,"null reference");
3965 arg9
= wxString_in_helper(obj8
);
3966 if (arg9
== NULL
) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3994 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxGauge
*arg1
= (wxGauge
*) 0 ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4001 (char *) "self",(char *) "range", NULL
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4007 arg2
= (int) SWIG_AsInt(obj1
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->SetRange(arg2
);
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 Py_INCREF(Py_None
); resultobj
= Py_None
;
4023 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxGauge
*arg1
= (wxGauge
*) 0 ;
4027 PyObject
* obj0
= 0 ;
4029 (char *) "self", NULL
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4037 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4039 wxPyEndAllowThreads(__tstate
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 resultobj
= SWIG_FromInt((int)result
);
4049 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
;
4051 wxGauge
*arg1
= (wxGauge
*) 0 ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4056 (char *) "self",(char *) "pos", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4062 arg2
= (int) SWIG_AsInt(obj1
);
4063 if (PyErr_Occurred()) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetValue(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxGauge
*arg1
= (wxGauge
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 resultobj
= SWIG_FromInt((int)result
);
4104 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
*resultobj
;
4106 wxGauge
*arg1
= (wxGauge
*) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
;
4134 wxGauge
*arg1
= (wxGauge
*) 0 ;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4139 (char *) "self",(char *) "w", NULL
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4145 arg2
= (int) SWIG_AsInt(obj1
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 (arg1
)->SetShadowWidth(arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxGauge
*arg1
= (wxGauge
*) 0 ;
4165 PyObject
* obj0
= 0 ;
4167 (char *) "self", NULL
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_FromInt((int)result
);
4187 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxGauge
*arg1
= (wxGauge
*) 0 ;
4191 PyObject
* obj0
= 0 ;
4192 PyObject
* obj1
= 0 ;
4194 (char *) "self",(char *) "w", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 arg2
= (int) SWIG_AsInt(obj1
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 (arg1
)->SetBezelFace(arg2
);
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxGauge
*arg1
= (wxGauge
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_FromInt((int)result
);
4242 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4245 wxVisualAttributes result
;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "variant", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4253 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4264 wxVisualAttributes
* resultptr
;
4265 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4274 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4277 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4279 return Py_BuildValue((char *)"");
4281 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4282 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4287 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4292 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4294 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4301 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4302 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4307 static PyObject
*_wrap_StaticBoxNameStr_get() {
4312 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4314 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4321 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4322 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4327 static PyObject
*_wrap_StaticTextNameStr_get() {
4332 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4334 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4341 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxWindow
*arg1
= (wxWindow
*) 0 ;
4345 wxString
*arg3
= 0 ;
4346 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4347 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4348 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4349 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4350 long arg6
= (long) 0 ;
4351 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4352 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4353 wxStaticBox
*result
;
4354 bool temp3
= False
;
4357 bool temp7
= False
;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 PyObject
* obj3
= 0 ;
4362 PyObject
* obj4
= 0 ;
4363 PyObject
* obj5
= 0 ;
4364 PyObject
* obj6
= 0 ;
4366 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4372 arg2
= (int) SWIG_AsInt(obj1
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4375 arg3
= wxString_in_helper(obj2
);
4376 if (arg3
== NULL
) SWIG_fail
;
4382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4392 arg6
= (long) SWIG_AsLong(obj5
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4397 arg7
= wxString_in_helper(obj6
);
4398 if (arg7
== NULL
) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= wxPyMake_wxObject(result
);
4434 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxStaticBox
*result
;
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 result
= (wxStaticBox
*)new wxStaticBox();
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4450 resultobj
= wxPyMake_wxObject(result
);
4458 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4461 wxWindow
*arg2
= (wxWindow
*) 0 ;
4463 wxString
*arg4
= 0 ;
4464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4468 long arg7
= (long) 0 ;
4469 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4470 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4472 bool temp4
= False
;
4475 bool temp8
= False
;
4476 PyObject
* obj0
= 0 ;
4477 PyObject
* obj1
= 0 ;
4478 PyObject
* obj2
= 0 ;
4479 PyObject
* obj3
= 0 ;
4480 PyObject
* obj4
= 0 ;
4481 PyObject
* obj5
= 0 ;
4482 PyObject
* obj6
= 0 ;
4483 PyObject
* obj7
= 0 ;
4485 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 arg3
= (int) SWIG_AsInt(obj2
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 arg4
= wxString_in_helper(obj3
);
4497 if (arg4
== NULL
) SWIG_fail
;
4503 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4509 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4513 arg7
= (long) SWIG_AsLong(obj6
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4518 arg8
= wxString_in_helper(obj7
);
4519 if (arg8
== NULL
) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4555 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4558 wxVisualAttributes result
;
4559 PyObject
* obj0
= 0 ;
4561 (char *) "variant", NULL
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4566 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4577 wxVisualAttributes
* resultptr
;
4578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4587 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4590 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4592 return Py_BuildValue((char *)"");
4594 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4595 PyObject
*resultobj
;
4596 wxWindow
*arg1
= (wxWindow
*) 0 ;
4598 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4599 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4600 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4601 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4602 long arg5
= (long) wxLI_HORIZONTAL
;
4603 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4604 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4605 wxStaticLine
*result
;
4608 bool temp6
= False
;
4609 PyObject
* obj0
= 0 ;
4610 PyObject
* obj1
= 0 ;
4611 PyObject
* obj2
= 0 ;
4612 PyObject
* obj3
= 0 ;
4613 PyObject
* obj4
= 0 ;
4614 PyObject
* obj5
= 0 ;
4616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4622 arg2
= (int) SWIG_AsInt(obj1
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4627 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4633 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4637 arg5
= (long) SWIG_AsLong(obj4
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4642 arg6
= wxString_in_helper(obj5
);
4643 if (arg6
== NULL
) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4669 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
;
4671 wxStaticLine
*result
;
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (wxStaticLine
*)new wxStaticLine();
4681 wxPyEndAllowThreads(__tstate
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4691 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4694 wxWindow
*arg2
= (wxWindow
*) 0 ;
4696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4700 long arg6
= (long) wxLI_HORIZONTAL
;
4701 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4706 bool temp7
= False
;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4709 PyObject
* obj2
= 0 ;
4710 PyObject
* obj3
= 0 ;
4711 PyObject
* obj4
= 0 ;
4712 PyObject
* obj5
= 0 ;
4713 PyObject
* obj6
= 0 ;
4715 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 arg3
= (int) SWIG_AsInt(obj2
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4738 arg6
= (long) SWIG_AsLong(obj5
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4743 arg7
= wxString_in_helper(obj6
);
4744 if (arg7
== NULL
) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4772 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4800 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (int)wxStaticLine::GetDefaultSize();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 resultobj
= SWIG_FromInt((int)result
);
4822 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4825 wxVisualAttributes result
;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "variant", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 wxVisualAttributes
* resultptr
;
4845 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4854 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4857 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4859 return Py_BuildValue((char *)"");
4861 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
*resultobj
;
4863 wxWindow
*arg1
= (wxWindow
*) 0 ;
4865 wxString
*arg3
= 0 ;
4866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4870 long arg6
= (long) 0 ;
4871 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4873 wxStaticText
*result
;
4874 bool temp3
= False
;
4877 bool temp7
= False
;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4880 PyObject
* obj2
= 0 ;
4881 PyObject
* obj3
= 0 ;
4882 PyObject
* obj4
= 0 ;
4883 PyObject
* obj5
= 0 ;
4884 PyObject
* obj6
= 0 ;
4886 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4892 arg2
= (int) SWIG_AsInt(obj1
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 arg3
= wxString_in_helper(obj2
);
4896 if (arg3
== NULL
) SWIG_fail
;
4902 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4908 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4912 arg6
= (long) SWIG_AsLong(obj5
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4917 arg7
= wxString_in_helper(obj6
);
4918 if (arg7
== NULL
) SWIG_fail
;
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) SWIG_fail
;
4929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4952 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxStaticText
*result
;
4959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (wxStaticText
*)new wxStaticText();
4964 wxPyEndAllowThreads(__tstate
);
4965 if (PyErr_Occurred()) SWIG_fail
;
4967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4974 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4977 wxWindow
*arg2
= (wxWindow
*) 0 ;
4979 wxString
*arg4
= 0 ;
4980 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4981 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4982 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4983 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4984 long arg7
= (long) 0 ;
4985 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4986 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4988 bool temp4
= False
;
4991 bool temp8
= False
;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 PyObject
* obj2
= 0 ;
4995 PyObject
* obj3
= 0 ;
4996 PyObject
* obj4
= 0 ;
4997 PyObject
* obj5
= 0 ;
4998 PyObject
* obj6
= 0 ;
4999 PyObject
* obj7
= 0 ;
5001 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5009 arg3
= (int) SWIG_AsInt(obj2
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 arg4
= wxString_in_helper(obj3
);
5013 if (arg4
== NULL
) SWIG_fail
;
5019 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5025 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5029 arg7
= (long) SWIG_AsLong(obj6
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5034 arg8
= wxString_in_helper(obj7
);
5035 if (arg8
== NULL
) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5071 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5074 wxVisualAttributes result
;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "variant", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5082 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5093 wxVisualAttributes
* resultptr
;
5094 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5095 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5103 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxWindow
*arg1
= (wxWindow
*) 0 ;
5114 wxBitmap
*arg3
= 0 ;
5115 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5116 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5117 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5118 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5119 long arg6
= (long) 0 ;
5120 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5121 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5122 wxStaticBitmap
*result
;
5125 bool temp7
= False
;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5128 PyObject
* obj2
= 0 ;
5129 PyObject
* obj3
= 0 ;
5130 PyObject
* obj4
= 0 ;
5131 PyObject
* obj5
= 0 ;
5132 PyObject
* obj6
= 0 ;
5134 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5140 arg2
= (int) SWIG_AsInt(obj1
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5142 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5146 PyErr_SetString(PyExc_TypeError
,"null reference");
5152 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5158 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5162 arg6
= (long) SWIG_AsLong(obj5
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5167 arg7
= wxString_in_helper(obj6
);
5168 if (arg7
== NULL
) SWIG_fail
;
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5176 wxPyEndAllowThreads(__tstate
);
5177 if (PyErr_Occurred()) SWIG_fail
;
5179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5194 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxStaticBitmap
*result
;
5201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5216 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5219 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 wxBitmap
*arg4
= 0 ;
5222 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5224 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5225 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5226 long arg7
= (long) 0 ;
5227 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5228 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5232 bool temp8
= False
;
5233 PyObject
* obj0
= 0 ;
5234 PyObject
* obj1
= 0 ;
5235 PyObject
* obj2
= 0 ;
5236 PyObject
* obj3
= 0 ;
5237 PyObject
* obj4
= 0 ;
5238 PyObject
* obj5
= 0 ;
5239 PyObject
* obj6
= 0 ;
5240 PyObject
* obj7
= 0 ;
5242 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 arg3
= (int) SWIG_AsInt(obj2
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5252 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5256 PyErr_SetString(PyExc_TypeError
,"null reference");
5262 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5268 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5272 arg7
= (long) SWIG_AsLong(obj6
);
5273 if (PyErr_Occurred()) SWIG_fail
;
5277 arg8
= wxString_in_helper(obj7
);
5278 if (arg8
== NULL
) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5306 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5310 PyObject
* obj0
= 0 ;
5312 (char *) "self", NULL
5315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5320 result
= (arg1
)->GetBitmap();
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 wxBitmap
* resultptr
;
5327 resultptr
= new wxBitmap((wxBitmap
&) result
);
5328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5336 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
;
5338 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5339 wxBitmap
*arg2
= 0 ;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5343 (char *) "self",(char *) "bitmap", NULL
5346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5353 PyErr_SetString(PyExc_TypeError
,"null reference");
5357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5358 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5360 wxPyEndAllowThreads(__tstate
);
5361 if (PyErr_Occurred()) SWIG_fail
;
5363 Py_INCREF(Py_None
); resultobj
= Py_None
;
5370 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5371 PyObject
*resultobj
;
5372 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5374 PyObject
* obj0
= 0 ;
5375 PyObject
* obj1
= 0 ;
5377 (char *) "self",(char *) "icon", NULL
5380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5387 PyErr_SetString(PyExc_TypeError
,"null reference");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5407 wxVisualAttributes result
;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "variant", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5415 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5422 wxPyEndAllowThreads(__tstate
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 wxVisualAttributes
* resultptr
;
5427 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5436 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5439 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5441 return Py_BuildValue((char *)"");
5443 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5444 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5449 static PyObject
*_wrap_ListBoxNameStr_get() {
5454 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5456 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5463 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5465 wxWindow
*arg1
= (wxWindow
*) 0 ;
5467 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5468 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5469 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5470 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5471 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5472 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5473 long arg6
= (long) 0 ;
5474 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5475 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5476 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5477 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5481 bool temp5
= False
;
5482 bool temp8
= False
;
5483 PyObject
* obj0
= 0 ;
5484 PyObject
* obj1
= 0 ;
5485 PyObject
* obj2
= 0 ;
5486 PyObject
* obj3
= 0 ;
5487 PyObject
* obj4
= 0 ;
5488 PyObject
* obj5
= 0 ;
5489 PyObject
* obj6
= 0 ;
5490 PyObject
* obj7
= 0 ;
5492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 arg2
= (int) SWIG_AsInt(obj1
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5503 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5509 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5514 if (! PySequence_Check(obj4
)) {
5515 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5518 arg5
= new wxArrayString
;
5520 int i
, len
=PySequence_Length(obj4
);
5521 for (i
=0; i
<len
; i
++) {
5522 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5524 PyObject
* str
= PyObject_Unicode(item
);
5526 PyObject
* str
= PyObject_Str(item
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5529 arg5
->Add(Py2wxString(str
));
5536 arg6
= (long) SWIG_AsLong(obj5
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5544 PyErr_SetString(PyExc_TypeError
,"null reference");
5550 arg8
= wxString_in_helper(obj7
);
5551 if (arg8
== NULL
) SWIG_fail
;
5556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5557 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5564 if (temp5
) delete arg5
;
5573 if (temp5
) delete arg5
;
5583 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
*resultobj
;
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (wxListBox
*)new wxListBox();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5605 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxListBox
*arg1
= (wxListBox
*) 0 ;
5608 wxWindow
*arg2
= (wxWindow
*) 0 ;
5610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5614 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5615 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5616 long arg7
= (long) 0 ;
5617 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5618 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5619 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5620 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5624 bool temp6
= False
;
5625 bool temp9
= False
;
5626 PyObject
* obj0
= 0 ;
5627 PyObject
* obj1
= 0 ;
5628 PyObject
* obj2
= 0 ;
5629 PyObject
* obj3
= 0 ;
5630 PyObject
* obj4
= 0 ;
5631 PyObject
* obj5
= 0 ;
5632 PyObject
* obj6
= 0 ;
5633 PyObject
* obj7
= 0 ;
5634 PyObject
* obj8
= 0 ;
5636 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5644 arg3
= (int) SWIG_AsInt(obj2
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5649 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5655 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5660 if (! PySequence_Check(obj5
)) {
5661 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5664 arg6
= new wxArrayString
;
5666 int i
, len
=PySequence_Length(obj5
);
5667 for (i
=0; i
<len
; i
++) {
5668 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5670 PyObject
* str
= PyObject_Unicode(item
);
5672 PyObject
* str
= PyObject_Str(item
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5675 arg6
->Add(Py2wxString(str
));
5682 arg7
= (long) SWIG_AsLong(obj6
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5686 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5690 PyErr_SetString(PyExc_TypeError
,"null reference");
5696 arg9
= wxString_in_helper(obj8
);
5697 if (arg9
== NULL
) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5712 if (temp6
) delete arg6
;
5721 if (temp6
) delete arg6
;
5731 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxListBox
*arg1
= (wxListBox
*) 0 ;
5734 wxString
*arg2
= 0 ;
5736 PyObject
*arg4
= (PyObject
*) NULL
;
5737 bool temp2
= False
;
5738 PyObject
* obj0
= 0 ;
5739 PyObject
* obj1
= 0 ;
5740 PyObject
* obj2
= 0 ;
5741 PyObject
* obj3
= 0 ;
5743 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5750 arg2
= wxString_in_helper(obj1
);
5751 if (arg2
== NULL
) SWIG_fail
;
5754 arg3
= (int) SWIG_AsInt(obj2
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5761 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5763 wxPyEndAllowThreads(__tstate
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5766 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxListBox
*arg1
= (wxListBox
*) 0 ;
5784 wxArrayString
*arg2
= 0 ;
5786 bool temp2
= False
;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5789 PyObject
* obj2
= 0 ;
5791 (char *) "self",(char *) "items",(char *) "pos", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5798 if (! PySequence_Check(obj1
)) {
5799 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5802 arg2
= new wxArrayString
;
5804 int i
, len
=PySequence_Length(obj1
);
5805 for (i
=0; i
<len
; i
++) {
5806 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5808 PyObject
* str
= PyObject_Unicode(item
);
5810 PyObject
* str
= PyObject_Str(item
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5813 arg2
->Add(Py2wxString(str
));
5818 arg3
= (int) SWIG_AsInt(obj2
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5829 if (temp2
) delete arg2
;
5834 if (temp2
) delete arg2
;
5840 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxListBox
*arg1
= (wxListBox
*) 0 ;
5843 wxArrayString
*arg2
= 0 ;
5844 bool temp2
= False
;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5848 (char *) "self",(char *) "items", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 if (! PySequence_Check(obj1
)) {
5856 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5859 arg2
= new wxArrayString
;
5861 int i
, len
=PySequence_Length(obj1
);
5862 for (i
=0; i
<len
; i
++) {
5863 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5865 PyObject
* str
= PyObject_Unicode(item
);
5867 PyObject
* str
= PyObject_Str(item
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5870 arg2
->Add(Py2wxString(str
));
5876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 (arg1
)->Set((wxArrayString
const &)*arg2
);
5879 wxPyEndAllowThreads(__tstate
);
5880 if (PyErr_Occurred()) SWIG_fail
;
5882 Py_INCREF(Py_None
); resultobj
= Py_None
;
5884 if (temp2
) delete arg2
;
5889 if (temp2
) delete arg2
;
5895 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 wxListBox
*arg1
= (wxListBox
*) 0 ;
5900 PyObject
* obj0
= 0 ;
5901 PyObject
* obj1
= 0 ;
5903 (char *) "self",(char *) "n", NULL
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 arg2
= (int) SWIG_AsInt(obj1
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5913 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5915 wxPyEndAllowThreads(__tstate
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5927 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxListBox
*arg1
= (wxListBox
*) 0 ;
5931 bool arg3
= (bool) True
;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5934 PyObject
* obj2
= 0 ;
5936 (char *) "self",(char *) "n",(char *) "select", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 arg2
= (int) SWIG_AsInt(obj1
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5945 arg3
= (bool) SWIG_AsBool(obj2
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 (arg1
)->SetSelection(arg2
,arg3
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5967 PyObject
* obj1
= 0 ;
5969 (char *) "self",(char *) "n", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5975 arg2
= (int) SWIG_AsInt(obj1
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 (arg1
)->Select(arg2
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 Py_INCREF(Py_None
); resultobj
= Py_None
;
5991 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxListBox
*arg1
= (wxListBox
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "self",(char *) "n", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6004 arg2
= (int) SWIG_AsInt(obj1
);
6005 if (PyErr_Occurred()) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 (arg1
)->Deselect(arg2
);
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 Py_INCREF(Py_None
); resultobj
= Py_None
;
6020 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxListBox
*arg1
= (wxListBox
*) 0 ;
6023 int arg2
= (int) -1 ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6027 (char *) "self",(char *) "itemToLeaveSelected", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6034 arg2
= (int) SWIG_AsInt(obj1
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6039 (arg1
)->DeselectAll(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 Py_INCREF(Py_None
); resultobj
= Py_None
;
6051 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxListBox
*arg1
= (wxListBox
*) 0 ;
6054 wxString
*arg2
= 0 ;
6055 bool arg3
= (bool) True
;
6057 bool temp2
= False
;
6058 PyObject
* obj0
= 0 ;
6059 PyObject
* obj1
= 0 ;
6060 PyObject
* obj2
= 0 ;
6062 (char *) "self",(char *) "s",(char *) "select", NULL
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6069 arg2
= wxString_in_helper(obj1
);
6070 if (arg2
== NULL
) SWIG_fail
;
6074 arg3
= (bool) SWIG_AsBool(obj2
);
6075 if (PyErr_Occurred()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6081 wxPyEndAllowThreads(__tstate
);
6082 if (PyErr_Occurred()) SWIG_fail
;
6085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6101 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6102 PyObject
*resultobj
;
6103 wxListBox
*arg1
= (wxListBox
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "self", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6127 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxListBox
*arg1
= (wxListBox
*) 0 ;
6131 PyObject
* obj0
= 0 ;
6132 PyObject
* obj1
= 0 ;
6134 (char *) "self",(char *) "n", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6140 arg2
= (int) SWIG_AsInt(obj1
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 (arg1
)->SetFirstItem(arg2
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxListBox
*arg1
= (wxListBox
*) 0 ;
6159 wxString
*arg2
= 0 ;
6160 bool temp2
= False
;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6164 (char *) "self",(char *) "s", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 arg2
= wxString_in_helper(obj1
);
6172 if (arg2
== NULL
) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxListBox
*arg1
= (wxListBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "n", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 arg2
= (int) SWIG_AsInt(obj1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 (arg1
)->EnsureVisible(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxListBox
*arg1
= (wxListBox
*) 0 ;
6229 wxString
*arg2
= 0 ;
6230 bool temp2
= False
;
6231 PyObject
* obj0
= 0 ;
6232 PyObject
* obj1
= 0 ;
6234 (char *) "self",(char *) "s", NULL
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg2
= wxString_in_helper(obj1
);
6242 if (arg2
== NULL
) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6267 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
;
6269 wxListBox
*arg1
= (wxListBox
*) 0 ;
6271 PyObject
* obj0
= 0 ;
6273 (char *) "self", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6295 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxListBox
*arg1
= (wxListBox
*) 0 ;
6299 wxColour
*arg3
= 0 ;
6301 PyObject
* obj0
= 0 ;
6302 PyObject
* obj1
= 0 ;
6303 PyObject
* obj2
= 0 ;
6305 (char *) "self",(char *) "item",(char *) "c", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 arg2
= (int) SWIG_AsInt(obj1
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6315 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 wxColour
*arg3
= 0 ;
6337 PyObject
* obj0
= 0 ;
6338 PyObject
* obj1
= 0 ;
6339 PyObject
* obj2
= 0 ;
6341 (char *) "self",(char *) "item",(char *) "c", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 arg2
= (int) SWIG_AsInt(obj1
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxListBox
*arg1
= (wxListBox
*) 0 ;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6374 PyObject
* obj2
= 0 ;
6376 (char *) "self",(char *) "item",(char *) "f", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6382 arg2
= (int) SWIG_AsInt(obj1
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6388 PyErr_SetString(PyExc_TypeError
,"null reference");
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6405 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6408 wxVisualAttributes result
;
6409 PyObject
* obj0
= 0 ;
6411 (char *) "variant", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6416 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 wxVisualAttributes
* resultptr
;
6428 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6437 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6440 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6442 return Py_BuildValue((char *)"");
6444 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxWindow
*arg1
= (wxWindow
*) 0 ;
6448 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6449 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6450 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6451 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6452 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6453 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6454 long arg6
= (long) 0 ;
6455 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6456 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6457 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6459 wxCheckListBox
*result
;
6462 bool temp5
= False
;
6463 bool temp8
= False
;
6464 PyObject
* obj0
= 0 ;
6465 PyObject
* obj1
= 0 ;
6466 PyObject
* obj2
= 0 ;
6467 PyObject
* obj3
= 0 ;
6468 PyObject
* obj4
= 0 ;
6469 PyObject
* obj5
= 0 ;
6470 PyObject
* obj6
= 0 ;
6471 PyObject
* obj7
= 0 ;
6473 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6479 arg2
= (int) SWIG_AsInt(obj1
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6495 if (! PySequence_Check(obj4
)) {
6496 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6499 arg5
= new wxArrayString
;
6501 int i
, len
=PySequence_Length(obj4
);
6502 for (i
=0; i
<len
; i
++) {
6503 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6505 PyObject
* str
= PyObject_Unicode(item
);
6507 PyObject
* str
= PyObject_Str(item
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6510 arg5
->Add(Py2wxString(str
));
6517 arg6
= (long) SWIG_AsLong(obj5
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6522 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6525 PyErr_SetString(PyExc_TypeError
,"null reference");
6531 arg8
= wxString_in_helper(obj7
);
6532 if (arg8
== NULL
) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6545 if (temp5
) delete arg5
;
6554 if (temp5
) delete arg5
;
6564 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6565 PyObject
*resultobj
;
6566 wxCheckListBox
*result
;
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 result
= (wxCheckListBox
*)new wxCheckListBox();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6586 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6589 wxWindow
*arg2
= (wxWindow
*) 0 ;
6591 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6592 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6593 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6594 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6595 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6596 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6597 long arg7
= (long) 0 ;
6598 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6599 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6600 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6601 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6605 bool temp6
= False
;
6606 bool temp9
= False
;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6610 PyObject
* obj3
= 0 ;
6611 PyObject
* obj4
= 0 ;
6612 PyObject
* obj5
= 0 ;
6613 PyObject
* obj6
= 0 ;
6614 PyObject
* obj7
= 0 ;
6615 PyObject
* obj8
= 0 ;
6617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6625 arg3
= (int) SWIG_AsInt(obj2
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6641 if (! PySequence_Check(obj5
)) {
6642 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6645 arg6
= new wxArrayString
;
6647 int i
, len
=PySequence_Length(obj5
);
6648 for (i
=0; i
<len
; i
++) {
6649 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6651 PyObject
* str
= PyObject_Unicode(item
);
6653 PyObject
* str
= PyObject_Str(item
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6656 arg6
->Add(Py2wxString(str
));
6663 arg7
= (long) SWIG_AsLong(obj6
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6671 PyErr_SetString(PyExc_TypeError
,"null reference");
6677 arg9
= wxString_in_helper(obj8
);
6678 if (arg9
== NULL
) SWIG_fail
;
6683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6684 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6686 wxPyEndAllowThreads(__tstate
);
6687 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6693 if (temp6
) delete arg6
;
6702 if (temp6
) delete arg6
;
6712 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6713 PyObject
*resultobj
;
6714 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6720 (char *) "self",(char *) "index", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6726 arg2
= (int) SWIG_AsInt(obj1
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (bool)(arg1
)->IsChecked(arg2
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6744 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
*resultobj
;
6746 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6748 int arg3
= (int) True
;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 PyObject
* obj2
= 0 ;
6753 (char *) "self",(char *) "index",(char *) "check", NULL
6756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6759 arg2
= (int) SWIG_AsInt(obj1
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 arg3
= (int) SWIG_AsInt(obj2
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 (arg1
)->Check(arg2
,arg3
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6788 (char *) "self",(char *) "pt", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 resultobj
= SWIG_FromInt((int)result
);
6812 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6819 PyObject
* obj1
= 0 ;
6820 PyObject
* obj2
= 0 ;
6822 (char *) "self",(char *) "x",(char *) "y", NULL
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6828 arg2
= (int) SWIG_AsInt(obj1
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6830 arg3
= (int) SWIG_AsInt(obj2
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6836 wxPyEndAllowThreads(__tstate
);
6837 if (PyErr_Occurred()) SWIG_fail
;
6839 resultobj
= SWIG_FromInt((int)result
);
6846 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6849 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6851 return Py_BuildValue((char *)"");
6853 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6854 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6859 static PyObject
*_wrap_TextCtrlNameStr_get() {
6864 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6866 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6873 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6874 PyObject
*resultobj
;
6877 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxTextAttr
*)new wxTextAttr();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6892 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6893 PyObject
*resultobj
;
6894 wxColour
*arg1
= 0 ;
6895 wxColour
const &arg2_defvalue
= wxNullColour
;
6896 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6897 wxFont
const &arg3_defvalue
= wxNullFont
;
6898 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6899 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6905 PyObject
* obj2
= 0 ;
6906 PyObject
* obj3
= 0 ;
6908 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6911 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6920 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6924 PyErr_SetString(PyExc_TypeError
,"null reference");
6929 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6946 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6951 argc
= PyObject_Length(args
);
6952 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6953 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6956 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6958 if ((argc
>= 1) && (argc
<= 4)) {
6961 _v
= wxColour_typecheck(argv
[0]);
6965 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6968 _v
= wxColour_typecheck(argv
[1]);
6972 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6976 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6985 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6987 _v
= SWIG_CheckInt(argv
[3]);
6989 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6996 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7001 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
*resultobj
;
7003 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "self", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 Py_INCREF(Py_None
); resultobj
= Py_None
;
7026 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7031 (char *) "self", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 Py_INCREF(Py_None
); resultobj
= Py_None
;
7051 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7054 wxColour
*arg2
= 0 ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7059 (char *) "self",(char *) "colText", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 Py_INCREF(Py_None
); resultobj
= Py_None
;
7083 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7086 wxColour
*arg2
= 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "colBack", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7099 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7119 long arg3
= (long) wxTEXT_ATTR_FONT
;
7120 PyObject
* obj0
= 0 ;
7121 PyObject
* obj1
= 0 ;
7122 PyObject
* obj2
= 0 ;
7124 (char *) "self",(char *) "font",(char *) "flags", NULL
7127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7134 PyErr_SetString(PyExc_TypeError
,"null reference");
7138 arg3
= (long) SWIG_AsLong(obj2
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7157 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7159 PyObject
* obj0
= 0 ;
7160 PyObject
* obj1
= 0 ;
7162 (char *) "self",(char *) "alignment", NULL
7165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7168 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 Py_INCREF(Py_None
); resultobj
= Py_None
;
7184 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
;
7186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7187 wxArrayInt
*arg2
= 0 ;
7188 bool temp2
= False
;
7189 PyObject
* obj0
= 0 ;
7190 PyObject
* obj1
= 0 ;
7192 (char *) "self",(char *) "tabs", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7199 if (! PySequence_Check(obj1
)) {
7200 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7203 arg2
= new wxArrayInt
;
7205 int i
, len
=PySequence_Length(obj1
);
7206 for (i
=0; i
<len
; i
++) {
7207 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7208 PyObject
* number
= PyNumber_Int(item
);
7209 arg2
->Add(PyInt_AS_LONG(number
));
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 if (temp2
) delete arg2
;
7228 if (temp2
) delete arg2
;
7234 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7238 int arg3
= (int) 0 ;
7239 PyObject
* obj0
= 0 ;
7240 PyObject
* obj1
= 0 ;
7241 PyObject
* obj2
= 0 ;
7243 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7249 arg2
= (int) SWIG_AsInt(obj1
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 arg3
= (int) SWIG_AsInt(obj2
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7257 (arg1
)->SetLeftIndent(arg2
,arg3
);
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 Py_INCREF(Py_None
); resultobj
= Py_None
;
7269 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7276 (char *) "self",(char *) "indent", NULL
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7282 arg2
= (int) SWIG_AsInt(obj1
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7286 (arg1
)->SetRightIndent(arg2
);
7288 wxPyEndAllowThreads(__tstate
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7291 Py_INCREF(Py_None
); resultobj
= Py_None
;
7298 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
*resultobj
;
7300 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7305 (char *) "self",(char *) "flags", NULL
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7311 arg2
= (long) SWIG_AsLong(obj1
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 (arg1
)->SetFlags(arg2
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7320 Py_INCREF(Py_None
); resultobj
= Py_None
;
7327 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7333 (char *) "self", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7355 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7383 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7411 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
*resultobj
;
7413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7415 PyObject
* obj0
= 0 ;
7417 (char *) "self", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7439 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
;
7441 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7443 PyObject
* obj0
= 0 ;
7445 (char *) "self", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7467 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7473 (char *) "self", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "flag", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 arg2
= (long) SWIG_AsLong(obj1
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7555 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7559 PyObject
* obj0
= 0 ;
7561 (char *) "self", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7571 result
= (wxColour
*) &_result_ref
;
7574 wxPyEndAllowThreads(__tstate
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7584 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7585 PyObject
*resultobj
;
7586 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7588 PyObject
* obj0
= 0 ;
7590 (char *) "self", NULL
7593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7600 result
= (wxColour
*) &_result_ref
;
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7613 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7629 result
= (wxFont
*) &_result_ref
;
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7636 wxFont
* resultptr
= new wxFont(*result
);
7637 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7645 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7646 PyObject
*resultobj
;
7647 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7649 PyObject
* obj0
= 0 ;
7651 (char *) "self", NULL
7654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7659 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7661 wxPyEndAllowThreads(__tstate
);
7662 if (PyErr_Occurred()) SWIG_fail
;
7664 resultobj
= SWIG_FromInt((int)result
);
7671 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7675 PyObject
* obj0
= 0 ;
7677 (char *) "self", NULL
7680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7687 result
= (wxArrayInt
*) &_result_ref
;
7690 wxPyEndAllowThreads(__tstate
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7694 resultobj
= PyList_New(0);
7696 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7697 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7698 PyList_Append(resultobj
, val
);
7708 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
;
7710 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7722 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7724 wxPyEndAllowThreads(__tstate
);
7725 if (PyErr_Occurred()) SWIG_fail
;
7727 resultobj
= SWIG_FromLong((long)result
);
7734 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
;
7736 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7738 PyObject
* obj0
= 0 ;
7740 (char *) "self", NULL
7743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 resultobj
= SWIG_FromLong((long)result
);
7760 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7764 PyObject
* obj0
= 0 ;
7766 (char *) "self", NULL
7769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_FromLong((long)result
);
7786 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
;
7788 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7790 PyObject
* obj0
= 0 ;
7792 (char *) "self", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_FromLong((long)result
);
7812 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7840 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxTextAttr
*arg1
= 0 ;
7843 wxTextAttr
*arg2
= 0 ;
7844 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7848 PyObject
* obj2
= 0 ;
7850 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7858 PyErr_SetString(PyExc_TypeError
,"null reference");
7861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7865 PyErr_SetString(PyExc_TypeError
,"null reference");
7868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7878 wxTextAttr
* resultptr
;
7879 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7880 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7888 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7891 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7893 return Py_BuildValue((char *)"");
7895 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
*resultobj
;
7897 wxWindow
*arg1
= (wxWindow
*) 0 ;
7899 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7900 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7901 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7902 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7903 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7904 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7905 long arg6
= (long) 0 ;
7906 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7907 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7908 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7909 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7911 bool temp3
= False
;
7914 bool temp8
= False
;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7917 PyObject
* obj2
= 0 ;
7918 PyObject
* obj3
= 0 ;
7919 PyObject
* obj4
= 0 ;
7920 PyObject
* obj5
= 0 ;
7921 PyObject
* obj6
= 0 ;
7922 PyObject
* obj7
= 0 ;
7924 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7930 arg2
= (int) SWIG_AsInt(obj1
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7934 arg3
= wxString_in_helper(obj2
);
7935 if (arg3
== NULL
) SWIG_fail
;
7942 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7948 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7952 arg6
= (long) SWIG_AsLong(obj5
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7960 PyErr_SetString(PyExc_TypeError
,"null reference");
7966 arg8
= wxString_in_helper(obj7
);
7967 if (arg8
== NULL
) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= wxPyMake_wxObject(result
);
8003 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= (wxTextCtrl
*)new wxTextCtrl();
8015 wxPyEndAllowThreads(__tstate
);
8016 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= wxPyMake_wxObject(result
);
8027 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8028 PyObject
*resultobj
;
8029 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8030 wxWindow
*arg2
= (wxWindow
*) 0 ;
8032 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8033 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8034 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8035 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8036 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8037 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8038 long arg7
= (long) 0 ;
8039 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8040 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8041 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8042 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8044 bool temp4
= False
;
8047 bool temp9
= False
;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 PyObject
* obj2
= 0 ;
8051 PyObject
* obj3
= 0 ;
8052 PyObject
* obj4
= 0 ;
8053 PyObject
* obj5
= 0 ;
8054 PyObject
* obj6
= 0 ;
8055 PyObject
* obj7
= 0 ;
8056 PyObject
* obj8
= 0 ;
8058 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 arg3
= (int) SWIG_AsInt(obj2
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 arg4
= wxString_in_helper(obj3
);
8071 if (arg4
== NULL
) SWIG_fail
;
8078 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8084 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8088 arg7
= (long) SWIG_AsLong(obj6
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8096 PyErr_SetString(PyExc_TypeError
,"null reference");
8102 arg9
= wxString_in_helper(obj8
);
8103 if (arg9
== NULL
) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8139 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8171 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8174 wxString
*arg2
= 0 ;
8175 bool temp2
= False
;
8176 PyObject
* obj0
= 0 ;
8177 PyObject
* obj1
= 0 ;
8179 (char *) "self",(char *) "value", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 arg2
= wxString_in_helper(obj1
);
8187 if (arg2
== NULL
) SWIG_fail
;
8191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8192 (arg1
)->SetValue((wxString
const &)*arg2
);
8194 wxPyEndAllowThreads(__tstate
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 Py_INCREF(Py_None
); resultobj
= Py_None
;
8212 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
;
8214 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 PyObject
* obj2
= 0 ;
8222 (char *) "self",(char *) "from",(char *) "to", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 arg2
= (long) SWIG_AsLong(obj1
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8230 arg3
= (long) SWIG_AsLong(obj2
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8243 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8252 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8257 PyObject
* obj0
= 0 ;
8258 PyObject
* obj1
= 0 ;
8260 (char *) "self",(char *) "lineNo", NULL
8263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 arg2
= (long) SWIG_AsLong(obj1
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8270 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_FromInt((int)result
);
8282 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "self",(char *) "lineNo", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= (long) SWIG_AsLong(obj1
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8318 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8334 wxPyEndAllowThreads(__tstate
);
8335 if (PyErr_Occurred()) SWIG_fail
;
8337 resultobj
= SWIG_FromInt((int)result
);
8344 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8345 PyObject
*resultobj
;
8346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8348 PyObject
* obj0
= 0 ;
8350 (char *) "self", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8372 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8400 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8404 PyObject
* obj0
= 0 ;
8406 (char *) "self", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8414 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8416 wxPyEndAllowThreads(__tstate
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8428 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8432 PyObject
* obj0
= 0 ;
8434 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8456 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8459 long *arg2
= (long *) 0 ;
8460 long *arg3
= (long *) 0 ;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "self", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 Py_INCREF(Py_None
); resultobj
= Py_None
;
8482 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8483 resultobj
= t_output_helper(resultobj
,o
);
8486 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8487 resultobj
= t_output_helper(resultobj
,o
);
8495 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8527 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
*resultobj
;
8529 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8530 PyObject
* obj0
= 0 ;
8532 (char *) "self", NULL
8535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 Py_INCREF(Py_None
); resultobj
= Py_None
;
8552 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8557 wxString
*arg4
= 0 ;
8558 bool temp4
= False
;
8559 PyObject
* obj0
= 0 ;
8560 PyObject
* obj1
= 0 ;
8561 PyObject
* obj2
= 0 ;
8562 PyObject
* obj3
= 0 ;
8564 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 arg2
= (long) SWIG_AsLong(obj1
);
8571 if (PyErr_Occurred()) SWIG_fail
;
8572 arg3
= (long) SWIG_AsLong(obj2
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8575 arg4
= wxString_in_helper(obj3
);
8576 if (arg4
== NULL
) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8583 wxPyEndAllowThreads(__tstate
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8586 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8607 PyObject
* obj1
= 0 ;
8608 PyObject
* obj2
= 0 ;
8610 (char *) "self",(char *) "from",(char *) "to", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8616 arg2
= (long) SWIG_AsLong(obj1
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8618 arg3
= (long) SWIG_AsLong(obj2
);
8619 if (PyErr_Occurred()) SWIG_fail
;
8621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8622 (arg1
)->Remove(arg2
,arg3
);
8624 wxPyEndAllowThreads(__tstate
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8627 Py_INCREF(Py_None
); resultobj
= Py_None
;
8634 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8635 PyObject
*resultobj
;
8636 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8637 wxString
*arg2
= 0 ;
8639 bool temp2
= False
;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj1
= 0 ;
8643 (char *) "self",(char *) "file", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8678 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8681 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8682 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8684 bool temp2
= False
;
8685 PyObject
* obj0
= 0 ;
8686 PyObject
* obj1
= 0 ;
8688 (char *) "self",(char *) "file", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8696 arg2
= wxString_in_helper(obj1
);
8697 if (arg2
== NULL
) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8725 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 (arg1
)->MarkDirty();
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 Py_INCREF(Py_None
); resultobj
= Py_None
;
8750 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8751 PyObject
*resultobj
;
8752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8755 (char *) "self", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8763 (arg1
)->DiscardEdits();
8765 wxPyEndAllowThreads(__tstate
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8768 Py_INCREF(Py_None
); resultobj
= Py_None
;
8775 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8778 unsigned long arg2
;
8779 PyObject
* obj0
= 0 ;
8780 PyObject
* obj1
= 0 ;
8782 (char *) "self",(char *) "len", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->SetMaxLength(arg2
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8807 wxString
*arg2
= 0 ;
8808 bool temp2
= False
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 (char *) "self",(char *) "text", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 arg2
= wxString_in_helper(obj1
);
8820 if (arg2
== NULL
) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 (arg1
)->WriteText((wxString
const &)*arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 Py_INCREF(Py_None
); resultobj
= Py_None
;
8845 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8848 wxString
*arg2
= 0 ;
8849 bool temp2
= False
;
8850 PyObject
* obj0
= 0 ;
8851 PyObject
* obj1
= 0 ;
8853 (char *) "self",(char *) "text", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 arg2
= wxString_in_helper(obj1
);
8861 if (arg2
== NULL
) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->AppendText((wxString
const &)*arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8886 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8887 PyObject
*resultobj
;
8888 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8889 wxKeyEvent
*arg2
= 0 ;
8891 PyObject
* obj0
= 0 ;
8892 PyObject
* obj1
= 0 ;
8894 (char *) "self",(char *) "event", NULL
8897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8904 PyErr_SetString(PyExc_TypeError
,"null reference");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8923 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8928 wxTextAttr
*arg4
= 0 ;
8930 PyObject
* obj0
= 0 ;
8931 PyObject
* obj1
= 0 ;
8932 PyObject
* obj2
= 0 ;
8933 PyObject
* obj3
= 0 ;
8935 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 arg2
= (long) SWIG_AsLong(obj1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8943 arg3
= (long) SWIG_AsLong(obj2
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8945 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8949 PyErr_SetString(PyExc_TypeError
,"null reference");
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8968 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8972 wxTextAttr
*arg3
= 0 ;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8978 (char *) "self",(char *) "position",(char *) "style", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= (long) SWIG_AsLong(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8986 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8990 PyErr_SetString(PyExc_TypeError
,"null reference");
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9009 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9012 wxTextAttr
*arg2
= 0 ;
9014 PyObject
* obj0
= 0 ;
9015 PyObject
* obj1
= 0 ;
9017 (char *) "self",(char *) "style", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9027 PyErr_SetString(PyExc_TypeError
,"null reference");
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9046 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
*resultobj
;
9048 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9050 PyObject
* obj0
= 0 ;
9052 (char *) "self", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9062 result
= (wxTextAttr
*) &_result_ref
;
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9075 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9081 PyObject
* obj0
= 0 ;
9082 PyObject
* obj1
= 0 ;
9083 PyObject
* obj2
= 0 ;
9085 (char *) "self",(char *) "x",(char *) "y", NULL
9088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 arg2
= (long) SWIG_AsLong(obj1
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9093 arg3
= (long) SWIG_AsLong(obj2
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= SWIG_FromLong((long)result
);
9109 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9113 long *arg3
= (long *) 0 ;
9114 long *arg4
= (long *) 0 ;
9117 PyObject
* obj0
= 0 ;
9118 PyObject
* obj1
= 0 ;
9120 (char *) "self",(char *) "pos", NULL
9125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 arg2
= (long) SWIG_AsLong(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 Py_INCREF(Py_None
); resultobj
= Py_None
;
9139 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9140 resultobj
= t_output_helper(resultobj
,o
);
9143 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9144 resultobj
= t_output_helper(resultobj
,o
);
9152 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
;
9154 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9156 PyObject
* obj0
= 0 ;
9157 PyObject
* obj1
= 0 ;
9159 (char *) "self",(char *) "pos", NULL
9162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9165 arg2
= (long) SWIG_AsLong(obj1
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 (arg1
)->ShowPosition(arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 Py_INCREF(Py_None
); resultobj
= Py_None
;
9181 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
;
9183 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9185 long *arg3
= (long *) 0 ;
9186 long *arg4
= (long *) 0 ;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9194 (char *) "self",(char *) "pt", NULL
9199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9208 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 resultobj
= SWIG_FromInt((int)result
);
9215 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9216 resultobj
= t_output_helper(resultobj
,o
);
9219 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9220 resultobj
= t_output_helper(resultobj
,o
);
9228 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 Py_INCREF(Py_None
); resultobj
= Py_None
;
9253 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9258 (char *) "self", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 Py_INCREF(Py_None
); resultobj
= Py_None
;
9278 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9283 (char *) "self", NULL
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9296 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9331 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9387 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9405 Py_INCREF(Py_None
); resultobj
= Py_None
;
9412 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
*resultobj
;
9414 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 Py_INCREF(Py_None
); resultobj
= Py_None
;
9437 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9443 (char *) "self", NULL
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9465 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9466 PyObject
*resultobj
;
9467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9469 PyObject
* obj0
= 0 ;
9471 (char *) "self", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9493 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9494 PyObject
*resultobj
;
9495 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9497 PyObject
* obj0
= 0 ;
9498 PyObject
* obj1
= 0 ;
9500 (char *) "self",(char *) "pos", NULL
9503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 arg2
= (long) SWIG_AsLong(obj1
);
9507 if (PyErr_Occurred()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 (arg1
)->SetInsertionPoint(arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 Py_INCREF(Py_None
); resultobj
= Py_None
;
9522 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
;
9524 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9525 PyObject
* obj0
= 0 ;
9527 (char *) "self", NULL
9530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 (arg1
)->SetInsertionPointEnd();
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 Py_INCREF(Py_None
); resultobj
= Py_None
;
9547 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
;
9549 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9551 PyObject
* obj0
= 0 ;
9553 (char *) "self", NULL
9556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9561 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9563 wxPyEndAllowThreads(__tstate
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9566 resultobj
= SWIG_FromLong((long)result
);
9573 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
*resultobj
;
9575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9577 PyObject
* obj0
= 0 ;
9579 (char *) "self", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_FromLong((long)result
);
9599 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9605 PyObject
* obj1
= 0 ;
9606 PyObject
* obj2
= 0 ;
9608 (char *) "self",(char *) "from",(char *) "to", NULL
9611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9614 arg2
= (long) SWIG_AsLong(obj1
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9616 arg3
= (long) SWIG_AsLong(obj2
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 (arg1
)->SetSelection(arg2
,arg3
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 Py_INCREF(Py_None
); resultobj
= Py_None
;
9632 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9633 PyObject
*resultobj
;
9634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "self", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 (arg1
)->SelectAll();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 Py_INCREF(Py_None
); resultobj
= Py_None
;
9657 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9664 (char *) "self",(char *) "editable", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 arg2
= (bool) SWIG_AsBool(obj1
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 (arg1
)->SetEditable(arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9686 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9689 wxString
*arg2
= 0 ;
9690 bool temp2
= False
;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9694 (char *) "self",(char *) "text", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= wxString_in_helper(obj1
);
9702 if (arg2
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 Py_INCREF(Py_None
); resultobj
= Py_None
;
9727 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9728 PyObject
*resultobj
;
9729 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9734 PyObject
* obj1
= 0 ;
9735 PyObject
* obj2
= 0 ;
9737 (char *) "self",(char *) "from",(char *) "to", NULL
9740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 arg2
= (long) SWIG_AsLong(obj1
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9745 arg3
= (long) SWIG_AsLong(obj2
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9767 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9770 wxVisualAttributes result
;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "variant", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9778 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9785 wxPyEndAllowThreads(__tstate
);
9786 if (PyErr_Occurred()) SWIG_fail
;
9789 wxVisualAttributes
* resultptr
;
9790 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9799 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9802 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9804 return Py_BuildValue((char *)"");
9806 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9809 wxMouseEvent
*arg2
= 0 ;
9812 wxTextUrlEvent
*result
;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 PyObject
* obj2
= 0 ;
9816 PyObject
* obj3
= 0 ;
9818 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9822 arg1
= (int) SWIG_AsInt(obj0
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9828 PyErr_SetString(PyExc_TypeError
,"null reference");
9831 arg3
= (long) SWIG_AsLong(obj2
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9833 arg4
= (long) SWIG_AsLong(obj3
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9849 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9852 wxMouseEvent
*result
;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9865 result
= (wxMouseEvent
*) &_result_ref
;
9868 wxPyEndAllowThreads(__tstate
);
9869 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9878 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9879 PyObject
*resultobj
;
9880 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9882 PyObject
* obj0
= 0 ;
9884 (char *) "self", NULL
9887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_FromLong((long)result
);
9904 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9918 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_FromLong((long)result
);
9930 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9933 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9935 return Py_BuildValue((char *)"");
9937 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9938 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9943 static PyObject
*_wrap_ScrollBarNameStr_get() {
9948 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9950 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9957 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxWindow
*arg1
= (wxWindow
*) 0 ;
9960 int arg2
= (int) -1 ;
9961 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9962 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9963 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9964 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9965 long arg5
= (long) wxSB_HORIZONTAL
;
9966 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9967 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9968 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9969 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9970 wxScrollBar
*result
;
9973 bool temp7
= False
;
9974 PyObject
* obj0
= 0 ;
9975 PyObject
* obj1
= 0 ;
9976 PyObject
* obj2
= 0 ;
9977 PyObject
* obj3
= 0 ;
9978 PyObject
* obj4
= 0 ;
9979 PyObject
* obj5
= 0 ;
9980 PyObject
* obj6
= 0 ;
9982 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9989 arg2
= (int) SWIG_AsInt(obj1
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9995 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10001 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10005 arg5
= (long) SWIG_AsLong(obj4
);
10006 if (PyErr_Occurred()) SWIG_fail
;
10009 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10012 if (arg6
== NULL
) {
10013 PyErr_SetString(PyExc_TypeError
,"null reference");
10019 arg7
= wxString_in_helper(obj6
);
10020 if (arg7
== NULL
) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10046 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxScrollBar
*result
;
10049 char *kwnames
[] = {
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (wxScrollBar
*)new wxScrollBar();
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10068 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10071 wxWindow
*arg2
= (wxWindow
*) 0 ;
10072 int arg3
= (int) -1 ;
10073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10077 long arg6
= (long) wxSB_HORIZONTAL
;
10078 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10079 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10080 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10081 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10085 bool temp8
= False
;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 PyObject
* obj2
= 0 ;
10089 PyObject
* obj3
= 0 ;
10090 PyObject
* obj4
= 0 ;
10091 PyObject
* obj5
= 0 ;
10092 PyObject
* obj6
= 0 ;
10093 PyObject
* obj7
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10104 arg3
= (int) SWIG_AsInt(obj2
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10120 arg6
= (long) SWIG_AsLong(obj5
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10127 if (arg7
== NULL
) {
10128 PyErr_SetString(PyExc_TypeError
,"null reference");
10134 arg8
= wxString_in_helper(obj7
);
10135 if (arg8
== NULL
) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10163 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10179 wxPyEndAllowThreads(__tstate
);
10180 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= SWIG_FromInt((int)result
);
10189 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10190 PyObject
*resultobj
;
10191 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10193 PyObject
* obj0
= 0 ;
10194 char *kwnames
[] = {
10195 (char *) "self", NULL
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_FromInt((int)result
);
10215 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10216 PyObject
*resultobj
;
10217 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10219 PyObject
* obj0
= 0 ;
10220 char *kwnames
[] = {
10221 (char *) "self", NULL
10224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_FromInt((int)result
);
10241 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
;
10243 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10245 PyObject
* obj0
= 0 ;
10246 char *kwnames
[] = {
10247 (char *) "self", NULL
10250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_FromInt((int)result
);
10267 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10271 PyObject
* obj0
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10281 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10295 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "viewStart", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 arg2
= (int) SWIG_AsInt(obj1
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 (arg1
)->SetThumbPosition(arg2
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 Py_INCREF(Py_None
); resultobj
= Py_None
;
10324 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10331 bool arg6
= (bool) True
;
10332 PyObject
* obj0
= 0 ;
10333 PyObject
* obj1
= 0 ;
10334 PyObject
* obj2
= 0 ;
10335 PyObject
* obj3
= 0 ;
10336 PyObject
* obj4
= 0 ;
10337 PyObject
* obj5
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10345 arg2
= (int) SWIG_AsInt(obj1
);
10346 if (PyErr_Occurred()) SWIG_fail
;
10347 arg3
= (int) SWIG_AsInt(obj2
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10349 arg4
= (int) SWIG_AsInt(obj3
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10351 arg5
= (int) SWIG_AsInt(obj4
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 arg6
= (bool) SWIG_AsBool(obj5
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10374 wxVisualAttributes result
;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "variant", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10382 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10393 wxVisualAttributes
* resultptr
;
10394 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10403 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10406 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10408 return Py_BuildValue((char *)"");
10410 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10411 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10416 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10421 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10423 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10430 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10431 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10436 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10441 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10443 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10450 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxWindow
*arg1
= (wxWindow
*) 0 ;
10453 int arg2
= (int) -1 ;
10454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10458 long arg5
= (long) wxSP_HORIZONTAL
;
10459 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10460 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10461 wxSpinButton
*result
;
10464 bool temp6
= False
;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 PyObject
* obj2
= 0 ;
10468 PyObject
* obj3
= 0 ;
10469 PyObject
* obj4
= 0 ;
10470 PyObject
* obj5
= 0 ;
10471 char *kwnames
[] = {
10472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10479 arg2
= (int) SWIG_AsInt(obj1
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10495 arg5
= (long) SWIG_AsLong(obj4
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10500 arg6
= wxString_in_helper(obj5
);
10501 if (arg6
== NULL
) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10527 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxSpinButton
*result
;
10530 char *kwnames
[] = {
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 result
= (wxSpinButton
*)new wxSpinButton();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10549 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10552 wxWindow
*arg2
= (wxWindow
*) 0 ;
10553 int arg3
= (int) -1 ;
10554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10558 long arg6
= (long) wxSP_HORIZONTAL
;
10559 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10560 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10564 bool temp7
= False
;
10565 PyObject
* obj0
= 0 ;
10566 PyObject
* obj1
= 0 ;
10567 PyObject
* obj2
= 0 ;
10568 PyObject
* obj3
= 0 ;
10569 PyObject
* obj4
= 0 ;
10570 PyObject
* obj5
= 0 ;
10571 PyObject
* obj6
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10582 arg3
= (int) SWIG_AsInt(obj2
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10598 arg6
= (long) SWIG_AsLong(obj5
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10603 arg7
= wxString_in_helper(obj6
);
10604 if (arg7
== NULL
) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 char *kwnames
[] = {
10638 (char *) "self", NULL
10641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= SWIG_FromInt((int)result
);
10658 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10662 PyObject
* obj0
= 0 ;
10663 char *kwnames
[] = {
10664 (char *) "self", NULL
10667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_FromInt((int)result
);
10684 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10703 resultobj
= SWIG_FromInt((int)result
);
10710 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10711 PyObject
*resultobj
;
10712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10714 PyObject
* obj0
= 0 ;
10715 PyObject
* obj1
= 0 ;
10716 char *kwnames
[] = {
10717 (char *) "self",(char *) "val", NULL
10720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10723 arg2
= (int) SWIG_AsInt(obj1
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 (arg1
)->SetValue(arg2
);
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 Py_INCREF(Py_None
); resultobj
= Py_None
;
10739 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 PyObject
* obj1
= 0 ;
10745 char *kwnames
[] = {
10746 (char *) "self",(char *) "minVal", NULL
10749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 arg2
= (int) SWIG_AsInt(obj1
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 (arg1
)->SetMin(arg2
);
10758 wxPyEndAllowThreads(__tstate
);
10759 if (PyErr_Occurred()) SWIG_fail
;
10761 Py_INCREF(Py_None
); resultobj
= Py_None
;
10768 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10769 PyObject
*resultobj
;
10770 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10772 PyObject
* obj0
= 0 ;
10773 PyObject
* obj1
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "maxVal", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= (int) SWIG_AsInt(obj1
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetMax(arg2
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 PyObject
* obj1
= 0 ;
10804 PyObject
* obj2
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int) SWIG_AsInt(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (int) SWIG_AsInt(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10818 (arg1
)->SetRange(arg2
,arg3
);
10820 wxPyEndAllowThreads(__tstate
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10823 Py_INCREF(Py_None
); resultobj
= Py_None
;
10830 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 char *kwnames
[] = {
10836 (char *) "self", NULL
10839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10844 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10858 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10861 wxVisualAttributes result
;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "variant", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10869 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10880 wxVisualAttributes
* resultptr
;
10881 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10890 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10893 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10895 return Py_BuildValue((char *)"");
10897 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxWindow
*arg1
= (wxWindow
*) 0 ;
10900 int arg2
= (int) -1 ;
10901 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10902 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10903 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10904 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10905 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10906 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10907 long arg6
= (long) wxSP_ARROW_KEYS
;
10908 int arg7
= (int) 0 ;
10909 int arg8
= (int) 100 ;
10910 int arg9
= (int) 0 ;
10911 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10912 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10913 wxSpinCtrl
*result
;
10914 bool temp3
= False
;
10917 bool temp10
= False
;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 PyObject
* obj2
= 0 ;
10921 PyObject
* obj3
= 0 ;
10922 PyObject
* obj4
= 0 ;
10923 PyObject
* obj5
= 0 ;
10924 PyObject
* obj6
= 0 ;
10925 PyObject
* obj7
= 0 ;
10926 PyObject
* obj8
= 0 ;
10927 PyObject
* obj9
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 arg2
= (int) SWIG_AsInt(obj1
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10941 arg3
= wxString_in_helper(obj2
);
10942 if (arg3
== NULL
) SWIG_fail
;
10949 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10955 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10959 arg6
= (long) SWIG_AsLong(obj5
);
10960 if (PyErr_Occurred()) SWIG_fail
;
10963 arg7
= (int) SWIG_AsInt(obj6
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 arg8
= (int) SWIG_AsInt(obj7
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 arg9
= (int) SWIG_AsInt(obj8
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10976 arg10
= wxString_in_helper(obj9
);
10977 if (arg10
== NULL
) SWIG_fail
;
10982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10983 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10985 wxPyEndAllowThreads(__tstate
);
10986 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11011 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxSpinCtrl
*result
;
11014 char *kwnames
[] = {
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11021 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11033 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11036 wxWindow
*arg2
= (wxWindow
*) 0 ;
11037 int arg3
= (int) -1 ;
11038 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11039 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11040 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11041 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11042 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11043 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11044 long arg7
= (long) wxSP_ARROW_KEYS
;
11045 int arg8
= (int) 0 ;
11046 int arg9
= (int) 100 ;
11047 int arg10
= (int) 0 ;
11048 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11049 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11051 bool temp4
= False
;
11054 bool temp11
= False
;
11055 PyObject
* obj0
= 0 ;
11056 PyObject
* obj1
= 0 ;
11057 PyObject
* obj2
= 0 ;
11058 PyObject
* obj3
= 0 ;
11059 PyObject
* obj4
= 0 ;
11060 PyObject
* obj5
= 0 ;
11061 PyObject
* obj6
= 0 ;
11062 PyObject
* obj7
= 0 ;
11063 PyObject
* obj8
= 0 ;
11064 PyObject
* obj9
= 0 ;
11065 PyObject
* obj10
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11076 arg3
= (int) SWIG_AsInt(obj2
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11081 arg4
= wxString_in_helper(obj3
);
11082 if (arg4
== NULL
) SWIG_fail
;
11089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11099 arg7
= (long) SWIG_AsLong(obj6
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 arg8
= (int) SWIG_AsInt(obj7
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11107 arg9
= (int) SWIG_AsInt(obj8
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 arg10
= (int) SWIG_AsInt(obj9
);
11112 if (PyErr_Occurred()) SWIG_fail
;
11116 arg11
= wxString_in_helper(obj10
);
11117 if (arg11
== NULL
) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11153 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_FromInt((int)result
);
11179 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11183 PyObject
* obj0
= 0 ;
11184 PyObject
* obj1
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self",(char *) "value", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11192 arg2
= (int) SWIG_AsInt(obj1
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetValue(arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11211 wxString
*arg2
= 0 ;
11212 bool temp2
= False
;
11213 PyObject
* obj0
= 0 ;
11214 PyObject
* obj1
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self",(char *) "text", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 arg2
= wxString_in_helper(obj1
);
11224 if (arg2
== NULL
) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 (arg1
)->SetValue((wxString
const &)*arg2
);
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11254 PyObject
* obj0
= 0 ;
11255 PyObject
* obj1
= 0 ;
11256 PyObject
* obj2
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11264 arg2
= (int) SWIG_AsInt(obj1
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11266 arg3
= (int) SWIG_AsInt(obj2
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 (arg1
)->SetRange(arg2
,arg3
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 Py_INCREF(Py_None
); resultobj
= Py_None
;
11282 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11283 PyObject
*resultobj
;
11284 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char *kwnames
[] = {
11288 (char *) "self", NULL
11291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_FromInt((int)result
);
11308 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11309 PyObject
*resultobj
;
11310 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11312 PyObject
* obj0
= 0 ;
11313 char *kwnames
[] = {
11314 (char *) "self", NULL
11317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_FromInt((int)result
);
11334 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 PyObject
* obj2
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self",(char *) "from",(char *) "to", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11349 arg2
= (long) SWIG_AsLong(obj1
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11351 arg3
= (long) SWIG_AsLong(obj2
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 (arg1
)->SetSelection(arg2
,arg3
);
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 Py_INCREF(Py_None
); resultobj
= Py_None
;
11367 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11368 PyObject
*resultobj
;
11369 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11370 wxVisualAttributes result
;
11371 PyObject
* obj0
= 0 ;
11372 char *kwnames
[] = {
11373 (char *) "variant", NULL
11376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11378 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11379 if (PyErr_Occurred()) SWIG_fail
;
11382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11385 wxPyEndAllowThreads(__tstate
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11389 wxVisualAttributes
* resultptr
;
11390 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11399 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11402 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11404 return Py_BuildValue((char *)"");
11406 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11409 int arg2
= (int) 0 ;
11410 wxSpinEvent
*result
;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "commandType",(char *) "winid", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11419 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11423 arg2
= (int) SWIG_AsInt(obj1
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11428 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11430 wxPyEndAllowThreads(__tstate
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11440 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11441 PyObject
*resultobj
;
11442 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11444 PyObject
* obj0
= 0 ;
11445 char *kwnames
[] = {
11446 (char *) "self", NULL
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_FromInt((int)result
);
11466 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11470 PyObject
* obj0
= 0 ;
11471 PyObject
* obj1
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self",(char *) "pos", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11479 arg2
= (int) SWIG_AsInt(obj1
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetPosition(arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11498 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11500 return Py_BuildValue((char *)"");
11502 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11503 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11508 static PyObject
*_wrap_RadioBoxNameStr_get() {
11513 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11515 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11522 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11523 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11528 static PyObject
*_wrap_RadioButtonNameStr_get() {
11533 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11535 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11542 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11543 PyObject
*resultobj
;
11544 wxWindow
*arg1
= (wxWindow
*) 0 ;
11546 wxString
*arg3
= 0 ;
11547 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11548 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11549 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11550 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11551 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11552 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11553 int arg7
= (int) 0 ;
11554 long arg8
= (long) wxRA_HORIZONTAL
;
11555 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11556 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11557 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11558 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11559 wxRadioBox
*result
;
11560 bool temp3
= False
;
11563 bool temp6
= False
;
11564 bool temp10
= False
;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 PyObject
* obj3
= 0 ;
11569 PyObject
* obj4
= 0 ;
11570 PyObject
* obj5
= 0 ;
11571 PyObject
* obj6
= 0 ;
11572 PyObject
* obj7
= 0 ;
11573 PyObject
* obj8
= 0 ;
11574 PyObject
* obj9
= 0 ;
11575 char *kwnames
[] = {
11576 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 arg2
= (int) SWIG_AsInt(obj1
);
11583 if (PyErr_Occurred()) SWIG_fail
;
11585 arg3
= wxString_in_helper(obj2
);
11586 if (arg3
== NULL
) SWIG_fail
;
11592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11603 if (! PySequence_Check(obj5
)) {
11604 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11607 arg6
= new wxArrayString
;
11609 int i
, len
=PySequence_Length(obj5
);
11610 for (i
=0; i
<len
; i
++) {
11611 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11613 PyObject
* str
= PyObject_Unicode(item
);
11615 PyObject
* str
= PyObject_Str(item
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11618 arg6
->Add(Py2wxString(str
));
11625 arg7
= (int) SWIG_AsInt(obj6
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11629 arg8
= (long) SWIG_AsLong(obj7
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11636 if (arg9
== NULL
) {
11637 PyErr_SetString(PyExc_TypeError
,"null reference");
11643 arg10
= wxString_in_helper(obj9
);
11644 if (arg10
== NULL
) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 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
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11661 if (temp6
) delete arg6
;
11674 if (temp6
) delete arg6
;
11684 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxRadioBox
*result
;
11687 char *kwnames
[] = {
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11694 result
= (wxRadioBox
*)new wxRadioBox();
11696 wxPyEndAllowThreads(__tstate
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11706 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11707 PyObject
*resultobj
;
11708 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11709 wxWindow
*arg2
= (wxWindow
*) 0 ;
11711 wxString
*arg4
= 0 ;
11712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11716 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11717 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11718 int arg8
= (int) 0 ;
11719 long arg9
= (long) wxRA_HORIZONTAL
;
11720 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11721 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11722 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11723 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11725 bool temp4
= False
;
11728 bool temp7
= False
;
11729 bool temp11
= False
;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 PyObject
* obj2
= 0 ;
11733 PyObject
* obj3
= 0 ;
11734 PyObject
* obj4
= 0 ;
11735 PyObject
* obj5
= 0 ;
11736 PyObject
* obj6
= 0 ;
11737 PyObject
* obj7
= 0 ;
11738 PyObject
* obj8
= 0 ;
11739 PyObject
* obj9
= 0 ;
11740 PyObject
* obj10
= 0 ;
11741 char *kwnames
[] = {
11742 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11750 arg3
= (int) SWIG_AsInt(obj2
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 arg4
= wxString_in_helper(obj3
);
11754 if (arg4
== NULL
) SWIG_fail
;
11760 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11766 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11771 if (! PySequence_Check(obj6
)) {
11772 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11775 arg7
= new wxArrayString
;
11777 int i
, len
=PySequence_Length(obj6
);
11778 for (i
=0; i
<len
; i
++) {
11779 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11781 PyObject
* str
= PyObject_Unicode(item
);
11783 PyObject
* str
= PyObject_Str(item
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11786 arg7
->Add(Py2wxString(str
));
11793 arg8
= (int) SWIG_AsInt(obj7
);
11794 if (PyErr_Occurred()) SWIG_fail
;
11797 arg9
= (long) SWIG_AsLong(obj8
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11801 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11804 if (arg10
== NULL
) {
11805 PyErr_SetString(PyExc_TypeError
,"null reference");
11811 arg11
= wxString_in_helper(obj10
);
11812 if (arg11
== NULL
) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 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
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11831 if (temp7
) delete arg7
;
11844 if (temp7
) delete arg7
;
11854 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "self",(char *) "n", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11867 arg2
= (int) SWIG_AsInt(obj1
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->SetSelection(arg2
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11887 PyObject
* obj0
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= SWIG_FromInt((int)result
);
11909 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11923 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11925 wxPyEndAllowThreads(__tstate
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11941 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11944 wxString
*arg2
= 0 ;
11946 bool temp2
= False
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self",(char *) "s", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11957 arg2
= wxString_in_helper(obj1
);
11958 if (arg2
== NULL
) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11985 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11986 PyObject
*resultobj
;
11987 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 resultobj
= SWIG_FromInt((int)result
);
12011 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12014 wxString
*arg2
= 0 ;
12016 bool temp2
= False
;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "s", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 arg2
= wxString_in_helper(obj1
);
12028 if (arg2
== NULL
) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 resultobj
= SWIG_FromInt((int)result
);
12053 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "n", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 arg2
= (int) SWIG_AsInt(obj1
);
12068 if (PyErr_Occurred()) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12089 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12090 PyObject
*resultobj
;
12091 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12093 wxString
*arg3
= 0 ;
12094 bool temp3
= False
;
12095 PyObject
* obj0
= 0 ;
12096 PyObject
* obj1
= 0 ;
12097 PyObject
* obj2
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self",(char *) "n",(char *) "label", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 arg2
= (int) SWIG_AsInt(obj1
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 arg3
= wxString_in_helper(obj2
);
12109 if (arg3
== NULL
) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 Py_INCREF(Py_None
); resultobj
= Py_None
;
12134 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12138 bool arg3
= (bool) True
;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 PyObject
* obj2
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "n",(char *) "enable", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12149 arg2
= (int) SWIG_AsInt(obj1
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12152 arg3
= (bool) SWIG_AsBool(obj2
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->Enable(arg2
,arg3
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12169 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12170 PyObject
*resultobj
;
12171 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12173 bool arg3
= (bool) True
;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 PyObject
* obj2
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "n",(char *) "show", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 arg2
= (int) SWIG_AsInt(obj1
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 arg3
= (bool) SWIG_AsBool(obj2
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->Show(arg2
,arg3
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_FromInt((int)result
);
12230 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= SWIG_FromInt((int)result
);
12256 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 PyObject
* obj2
= 0 ;
12266 PyObject
* obj3
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= (int) SWIG_AsInt(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12276 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12278 arg4
= (long) SWIG_AsLong(obj3
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12284 wxPyEndAllowThreads(__tstate
);
12285 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= SWIG_FromInt((int)result
);
12294 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12295 PyObject
*resultobj
;
12296 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12297 wxVisualAttributes result
;
12298 PyObject
* obj0
= 0 ;
12299 char *kwnames
[] = {
12300 (char *) "variant", NULL
12303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12305 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12312 wxPyEndAllowThreads(__tstate
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12316 wxVisualAttributes
* resultptr
;
12317 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12326 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12329 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12331 return Py_BuildValue((char *)"");
12333 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxWindow
*arg1
= (wxWindow
*) 0 ;
12337 wxString
*arg3
= 0 ;
12338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12342 long arg6
= (long) 0 ;
12343 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12344 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12345 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12346 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12347 wxRadioButton
*result
;
12348 bool temp3
= False
;
12351 bool temp8
= False
;
12352 PyObject
* obj0
= 0 ;
12353 PyObject
* obj1
= 0 ;
12354 PyObject
* obj2
= 0 ;
12355 PyObject
* obj3
= 0 ;
12356 PyObject
* obj4
= 0 ;
12357 PyObject
* obj5
= 0 ;
12358 PyObject
* obj6
= 0 ;
12359 PyObject
* obj7
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 arg2
= (int) SWIG_AsInt(obj1
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 arg3
= wxString_in_helper(obj2
);
12371 if (arg3
== NULL
) SWIG_fail
;
12377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12387 arg6
= (long) SWIG_AsLong(obj5
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12391 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12394 if (arg7
== NULL
) {
12395 PyErr_SetString(PyExc_TypeError
,"null reference");
12401 arg8
= wxString_in_helper(obj7
);
12402 if (arg8
== NULL
) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12436 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxRadioButton
*result
;
12439 char *kwnames
[] = {
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (wxRadioButton
*)new wxRadioButton();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12458 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12461 wxWindow
*arg2
= (wxWindow
*) 0 ;
12463 wxString
*arg4
= 0 ;
12464 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12465 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12466 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12467 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12468 long arg7
= (long) 0 ;
12469 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12470 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12471 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12472 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12474 bool temp4
= False
;
12477 bool temp9
= False
;
12478 PyObject
* obj0
= 0 ;
12479 PyObject
* obj1
= 0 ;
12480 PyObject
* obj2
= 0 ;
12481 PyObject
* obj3
= 0 ;
12482 PyObject
* obj4
= 0 ;
12483 PyObject
* obj5
= 0 ;
12484 PyObject
* obj6
= 0 ;
12485 PyObject
* obj7
= 0 ;
12486 PyObject
* obj8
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12496 arg3
= (int) SWIG_AsInt(obj2
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 arg4
= wxString_in_helper(obj3
);
12500 if (arg4
== NULL
) SWIG_fail
;
12506 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12512 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12516 arg7
= (long) SWIG_AsLong(obj6
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12520 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12523 if (arg8
== NULL
) {
12524 PyErr_SetString(PyExc_TypeError
,"null reference");
12530 arg9
= wxString_in_helper(obj8
);
12531 if (arg9
== NULL
) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12567 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (bool)(arg1
)->GetValue();
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12595 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 PyObject
* obj1
= 0 ;
12601 char *kwnames
[] = {
12602 (char *) "self",(char *) "value", NULL
12605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 arg2
= (bool) SWIG_AsBool(obj1
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 (arg1
)->SetValue(arg2
);
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12617 Py_INCREF(Py_None
); resultobj
= Py_None
;
12624 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12625 PyObject
*resultobj
;
12626 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12627 wxVisualAttributes result
;
12628 PyObject
* obj0
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "variant", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12635 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 wxVisualAttributes
* resultptr
;
12647 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12656 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12659 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12661 return Py_BuildValue((char *)"");
12663 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12664 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12669 static PyObject
*_wrap_SliderNameStr_get() {
12674 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12676 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12683 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxWindow
*arg1
= (wxWindow
*) 0 ;
12690 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12691 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12692 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12693 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12694 long arg8
= (long) wxSL_HORIZONTAL
;
12695 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12696 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12697 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12698 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12702 bool temp10
= False
;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 PyObject
* obj2
= 0 ;
12706 PyObject
* obj3
= 0 ;
12707 PyObject
* obj4
= 0 ;
12708 PyObject
* obj5
= 0 ;
12709 PyObject
* obj6
= 0 ;
12710 PyObject
* obj7
= 0 ;
12711 PyObject
* obj8
= 0 ;
12712 PyObject
* obj9
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12720 arg2
= (int) SWIG_AsInt(obj1
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12722 arg3
= (int) SWIG_AsInt(obj2
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12724 arg4
= (int) SWIG_AsInt(obj3
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12726 arg5
= (int) SWIG_AsInt(obj4
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12731 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12737 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12741 arg8
= (long) SWIG_AsLong(obj7
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12745 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12748 if (arg9
== NULL
) {
12749 PyErr_SetString(PyExc_TypeError
,"null reference");
12755 arg10
= wxString_in_helper(obj9
);
12756 if (arg10
== NULL
) SWIG_fail
;
12761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12762 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12764 wxPyEndAllowThreads(__tstate
);
12765 if (PyErr_Occurred()) SWIG_fail
;
12767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12782 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12785 char *kwnames
[] = {
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (wxSlider
*)new wxSlider();
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12804 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxSlider
*arg1
= (wxSlider
*) 0 ;
12807 wxWindow
*arg2
= (wxWindow
*) 0 ;
12812 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12813 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12814 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12815 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12816 long arg9
= (long) wxSL_HORIZONTAL
;
12817 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12818 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12819 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12820 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12824 bool temp11
= False
;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 PyObject
* obj2
= 0 ;
12828 PyObject
* obj3
= 0 ;
12829 PyObject
* obj4
= 0 ;
12830 PyObject
* obj5
= 0 ;
12831 PyObject
* obj6
= 0 ;
12832 PyObject
* obj7
= 0 ;
12833 PyObject
* obj8
= 0 ;
12834 PyObject
* obj9
= 0 ;
12835 PyObject
* obj10
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12845 arg3
= (int) SWIG_AsInt(obj2
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12847 arg4
= (int) SWIG_AsInt(obj3
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12849 arg5
= (int) SWIG_AsInt(obj4
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12851 arg6
= (int) SWIG_AsInt(obj5
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12856 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12862 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12866 arg9
= (long) SWIG_AsLong(obj8
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12870 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12873 if (arg10
== NULL
) {
12874 PyErr_SetString(PyExc_TypeError
,"null reference");
12880 arg11
= wxString_in_helper(obj10
);
12881 if (arg11
== NULL
) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12909 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxSlider
*arg1
= (wxSlider
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_FromInt((int)result
);
12935 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxSlider
*arg1
= (wxSlider
*) 0 ;
12939 PyObject
* obj0
= 0 ;
12940 PyObject
* obj1
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self",(char *) "value", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12948 arg2
= (int) SWIG_AsInt(obj1
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->SetValue(arg2
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxSlider
*arg1
= (wxSlider
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 char *kwnames
[] = {
12973 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12979 arg2
= (int) SWIG_AsInt(obj1
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12981 arg3
= (int) SWIG_AsInt(obj2
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12985 (arg1
)->SetRange(arg2
,arg3
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxSlider
*arg1
= (wxSlider
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_FromInt((int)result
);
13023 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13024 PyObject
*resultobj
;
13025 wxSlider
*arg1
= (wxSlider
*) 0 ;
13027 PyObject
* obj0
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "self", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13037 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13042 resultobj
= SWIG_FromInt((int)result
);
13049 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13050 PyObject
*resultobj
;
13051 wxSlider
*arg1
= (wxSlider
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 char *kwnames
[] = {
13056 (char *) "self",(char *) "minValue", NULL
13059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 arg2
= (int) SWIG_AsInt(obj1
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 (arg1
)->SetMin(arg2
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 Py_INCREF(Py_None
); resultobj
= Py_None
;
13078 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxSlider
*arg1
= (wxSlider
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 PyObject
* obj1
= 0 ;
13084 char *kwnames
[] = {
13085 (char *) "self",(char *) "maxValue", NULL
13088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 arg2
= (int) SWIG_AsInt(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13095 (arg1
)->SetMax(arg2
);
13097 wxPyEndAllowThreads(__tstate
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13100 Py_INCREF(Py_None
); resultobj
= Py_None
;
13107 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxSlider
*arg1
= (wxSlider
*) 0 ;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 char *kwnames
[] = {
13114 (char *) "self",(char *) "lineSize", NULL
13117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13120 arg2
= (int) SWIG_AsInt(obj1
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13124 (arg1
)->SetLineSize(arg2
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 Py_INCREF(Py_None
); resultobj
= Py_None
;
13136 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13137 PyObject
*resultobj
;
13138 wxSlider
*arg1
= (wxSlider
*) 0 ;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self",(char *) "pageSize", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13149 arg2
= (int) SWIG_AsInt(obj1
);
13150 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->SetPageSize(arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 Py_INCREF(Py_None
); resultobj
= Py_None
;
13165 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxSlider
*arg1
= (wxSlider
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_FromInt((int)result
);
13191 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxSlider
*arg1
= (wxSlider
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= SWIG_FromInt((int)result
);
13217 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxSlider
*arg1
= (wxSlider
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "lenPixels", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= (int) SWIG_AsInt(obj1
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetThumbLength(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxSlider
*arg1
= (wxSlider
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 char *kwnames
[] = {
13252 (char *) "self", NULL
13255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13260 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_FromInt((int)result
);
13272 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxSlider
*arg1
= (wxSlider
*) 0 ;
13276 int arg3
= (int) 1 ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 PyObject
* obj2
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self",(char *) "n",(char *) "pos", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 arg2
= (int) SWIG_AsInt(obj1
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 arg3
= (int) SWIG_AsInt(obj2
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 (arg1
)->SetTickFreq(arg2
,arg3
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 Py_INCREF(Py_None
); resultobj
= Py_None
;
13307 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxSlider
*arg1
= (wxSlider
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_FromInt((int)result
);
13333 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxSlider
*arg1
= (wxSlider
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 (arg1
)->ClearTicks();
13348 wxPyEndAllowThreads(__tstate
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 Py_INCREF(Py_None
); resultobj
= Py_None
;
13358 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13359 PyObject
*resultobj
;
13360 wxSlider
*arg1
= (wxSlider
*) 0 ;
13362 PyObject
* obj0
= 0 ;
13363 PyObject
* obj1
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "tickPos", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13371 arg2
= (int) SWIG_AsInt(obj1
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13375 (arg1
)->SetTick(arg2
);
13377 wxPyEndAllowThreads(__tstate
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 Py_INCREF(Py_None
); resultobj
= Py_None
;
13387 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13388 PyObject
*resultobj
;
13389 wxSlider
*arg1
= (wxSlider
*) 0 ;
13390 PyObject
* obj0
= 0 ;
13391 char *kwnames
[] = {
13392 (char *) "self", NULL
13395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->ClearSel();
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 Py_INCREF(Py_None
); resultobj
= Py_None
;
13412 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxSlider
*arg1
= (wxSlider
*) 0 ;
13416 PyObject
* obj0
= 0 ;
13417 char *kwnames
[] = {
13418 (char *) "self", NULL
13421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_FromInt((int)result
);
13438 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxSlider
*arg1
= (wxSlider
*) 0 ;
13442 PyObject
* obj0
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= SWIG_FromInt((int)result
);
13464 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxSlider
*arg1
= (wxSlider
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 PyObject
* obj2
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self",(char *) "min",(char *) "max", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 arg2
= (int) SWIG_AsInt(obj1
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13481 arg3
= (int) SWIG_AsInt(obj2
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 (arg1
)->SetSelection(arg2
,arg3
);
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 Py_INCREF(Py_None
); resultobj
= Py_None
;
13497 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
;
13499 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13500 wxVisualAttributes result
;
13501 PyObject
* obj0
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "variant", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13508 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13519 wxVisualAttributes
* resultptr
;
13520 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13521 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13529 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13532 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13534 return Py_BuildValue((char *)"");
13536 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13537 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13542 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13547 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13549 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13556 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxWindow
*arg1
= (wxWindow
*) 0 ;
13560 wxString
*arg3
= 0 ;
13561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13565 long arg6
= (long) 0 ;
13566 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13567 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13568 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13570 wxToggleButton
*result
;
13571 bool temp3
= False
;
13574 bool temp8
= False
;
13575 PyObject
* obj0
= 0 ;
13576 PyObject
* obj1
= 0 ;
13577 PyObject
* obj2
= 0 ;
13578 PyObject
* obj3
= 0 ;
13579 PyObject
* obj4
= 0 ;
13580 PyObject
* obj5
= 0 ;
13581 PyObject
* obj6
= 0 ;
13582 PyObject
* obj7
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 arg2
= (int) SWIG_AsInt(obj1
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 arg3
= wxString_in_helper(obj2
);
13594 if (arg3
== NULL
) SWIG_fail
;
13600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13610 arg6
= (long) SWIG_AsLong(obj5
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13617 if (arg7
== NULL
) {
13618 PyErr_SetString(PyExc_TypeError
,"null reference");
13624 arg8
= wxString_in_helper(obj7
);
13625 if (arg8
== NULL
) SWIG_fail
;
13630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13631 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13633 wxPyEndAllowThreads(__tstate
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13659 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxToggleButton
*result
;
13662 char *kwnames
[] = {
13666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (wxToggleButton
*)new wxToggleButton();
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13681 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13684 wxWindow
*arg2
= (wxWindow
*) 0 ;
13686 wxString
*arg4
= 0 ;
13687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13691 long arg7
= (long) 0 ;
13692 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13693 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13694 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13695 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13697 bool temp4
= False
;
13700 bool temp9
= False
;
13701 PyObject
* obj0
= 0 ;
13702 PyObject
* obj1
= 0 ;
13703 PyObject
* obj2
= 0 ;
13704 PyObject
* obj3
= 0 ;
13705 PyObject
* obj4
= 0 ;
13706 PyObject
* obj5
= 0 ;
13707 PyObject
* obj6
= 0 ;
13708 PyObject
* obj7
= 0 ;
13709 PyObject
* obj8
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13719 arg3
= (int) SWIG_AsInt(obj2
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13722 arg4
= wxString_in_helper(obj3
);
13723 if (arg4
== NULL
) SWIG_fail
;
13729 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13735 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13739 arg7
= (long) SWIG_AsLong(obj6
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13743 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13746 if (arg8
== NULL
) {
13747 PyErr_SetString(PyExc_TypeError
,"null reference");
13753 arg9
= wxString_in_helper(obj8
);
13754 if (arg9
== NULL
) SWIG_fail
;
13759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13762 wxPyEndAllowThreads(__tstate
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 char *kwnames
[] = {
13797 (char *) "self",(char *) "value", NULL
13800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 arg2
= (bool) SWIG_AsBool(obj1
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 (arg1
)->SetValue(arg2
);
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13812 Py_INCREF(Py_None
); resultobj
= Py_None
;
13819 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13823 PyObject
* obj0
= 0 ;
13824 char *kwnames
[] = {
13825 (char *) "self", NULL
13828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13847 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13850 wxString
*arg2
= 0 ;
13851 bool temp2
= False
;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "label", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 arg2
= wxString_in_helper(obj1
);
13863 if (arg2
== NULL
) SWIG_fail
;
13867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13868 (arg1
)->SetLabel((wxString
const &)*arg2
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 Py_INCREF(Py_None
); resultobj
= Py_None
;
13888 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13891 wxVisualAttributes result
;
13892 PyObject
* obj0
= 0 ;
13893 char *kwnames
[] = {
13894 (char *) "variant", NULL
13897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13899 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 wxVisualAttributes
* resultptr
;
13911 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13920 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13923 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13925 return Py_BuildValue((char *)"");
13927 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13928 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13933 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13938 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13940 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13947 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13973 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "n", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13997 resultobj
= wxPyMake_wxObject(result
);
14005 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14009 PyObject
* obj0
= 0 ;
14010 char *kwnames
[] = {
14011 (char *) "self", NULL
14014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14019 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14021 wxPyEndAllowThreads(__tstate
);
14022 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= SWIG_FromInt((int)result
);
14031 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14035 wxString
*arg3
= 0 ;
14037 bool temp3
= False
;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 PyObject
* obj2
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self",(char *) "n",(char *) "strText", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14048 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14051 arg3
= wxString_in_helper(obj2
);
14052 if (arg3
== NULL
) SWIG_fail
;
14056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14057 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14059 wxPyEndAllowThreads(__tstate
);
14060 if (PyErr_Occurred()) SWIG_fail
;
14063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14079 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14080 PyObject
*resultobj
;
14081 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14084 PyObject
* obj0
= 0 ;
14085 PyObject
* obj1
= 0 ;
14086 char *kwnames
[] = {
14087 (char *) "self",(char *) "n", NULL
14090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14093 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14094 if (PyErr_Occurred()) SWIG_fail
;
14096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14097 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14099 wxPyEndAllowThreads(__tstate
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14115 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14118 wxImageList
*arg2
= (wxImageList
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 PyObject
* obj1
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self",(char *) "imageList", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->SetImageList(arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14137 Py_INCREF(Py_None
); resultobj
= Py_None
;
14144 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14147 wxImageList
*arg2
= (wxImageList
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 PyObject
* obj1
= 0 ;
14150 char *kwnames
[] = {
14151 (char *) "self",(char *) "imageList", NULL
14154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14158 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 (arg1
)->AssignImageList(arg2
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14166 Py_INCREF(Py_None
); resultobj
= Py_None
;
14173 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14174 PyObject
*resultobj
;
14175 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14176 wxImageList
*result
;
14177 PyObject
* obj0
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= wxPyMake_wxObject(result
);
14201 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 PyObject
* obj1
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self",(char *) "n", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14215 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14216 if (PyErr_Occurred()) SWIG_fail
;
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_FromInt((int)result
);
14231 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14232 PyObject
*resultobj
;
14233 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 PyObject
* obj1
= 0 ;
14239 PyObject
* obj2
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "n",(char *) "imageId", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14247 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14248 if (PyErr_Occurred()) SWIG_fail
;
14249 arg3
= (int) SWIG_AsInt(obj2
);
14250 if (PyErr_Occurred()) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14267 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "size", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 Py_INCREF(Py_None
); resultobj
= Py_None
;
14299 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self",(char *) "sizePage", NULL
14311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14322 wxPyEndAllowThreads(__tstate
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14326 wxSize
* resultptr
;
14327 resultptr
= new wxSize((wxSize
&) result
);
14328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14336 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 PyObject
* obj1
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self",(char *) "n", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (bool)(arg1
)->DeletePage(arg2
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14368 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 PyObject
* obj1
= 0 ;
14375 char *kwnames
[] = {
14376 (char *) "self",(char *) "n", NULL
14379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14383 if (PyErr_Occurred()) SWIG_fail
;
14385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14386 result
= (bool)(arg1
)->RemovePage(arg2
);
14388 wxPyEndAllowThreads(__tstate
);
14389 if (PyErr_Occurred()) SWIG_fail
;
14392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14400 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= (bool)(arg1
)->DeleteAllPages();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14428 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14431 wxWindow
*arg2
= (wxWindow
*) 0 ;
14432 wxString
*arg3
= 0 ;
14433 bool arg4
= (bool) False
;
14434 int arg5
= (int) -1 ;
14436 bool temp3
= False
;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 PyObject
* obj2
= 0 ;
14440 PyObject
* obj3
= 0 ;
14441 PyObject
* obj4
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14452 arg3
= wxString_in_helper(obj2
);
14453 if (arg3
== NULL
) SWIG_fail
;
14457 arg4
= (bool) SWIG_AsBool(obj3
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14461 arg5
= (int) SWIG_AsInt(obj4
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14488 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14492 wxWindow
*arg3
= (wxWindow
*) 0 ;
14493 wxString
*arg4
= 0 ;
14494 bool arg5
= (bool) False
;
14495 int arg6
= (int) -1 ;
14497 bool temp4
= False
;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 PyObject
* obj2
= 0 ;
14501 PyObject
* obj3
= 0 ;
14502 PyObject
* obj4
= 0 ;
14503 PyObject
* obj5
= 0 ;
14504 char *kwnames
[] = {
14505 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14511 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14513 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 arg4
= wxString_in_helper(obj3
);
14517 if (arg4
== NULL
) SWIG_fail
;
14521 arg5
= (bool) SWIG_AsBool(obj4
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14525 arg6
= (int) SWIG_AsInt(obj5
);
14526 if (PyErr_Occurred()) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14552 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "n", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= (int)(arg1
)->SetSelection(arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14575 resultobj
= SWIG_FromInt((int)result
);
14582 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14585 bool arg2
= (bool) True
;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "forward", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 arg2
= (bool) SWIG_AsBool(obj1
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14601 (arg1
)->AdvanceSelection(arg2
);
14603 wxPyEndAllowThreads(__tstate
);
14604 if (PyErr_Occurred()) SWIG_fail
;
14606 Py_INCREF(Py_None
); resultobj
= Py_None
;
14613 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14616 wxVisualAttributes result
;
14617 PyObject
* obj0
= 0 ;
14618 char *kwnames
[] = {
14619 (char *) "variant", NULL
14622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14624 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14635 wxVisualAttributes
* resultptr
;
14636 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14645 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14648 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14650 return Py_BuildValue((char *)"");
14652 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14655 int arg2
= (int) 0 ;
14656 int arg3
= (int) -1 ;
14657 int arg4
= (int) -1 ;
14658 wxBookCtrlEvent
*result
;
14659 PyObject
* obj0
= 0 ;
14660 PyObject
* obj1
= 0 ;
14661 PyObject
* obj2
= 0 ;
14662 PyObject
* obj3
= 0 ;
14663 char *kwnames
[] = {
14664 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14669 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14673 arg2
= (int) SWIG_AsInt(obj1
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14677 arg3
= (int) SWIG_AsInt(obj2
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14681 arg4
= (int) SWIG_AsInt(obj3
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14698 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_FromInt((int)result
);
14724 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 PyObject
* obj1
= 0 ;
14730 char *kwnames
[] = {
14731 (char *) "self",(char *) "nSel", NULL
14734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 arg2
= (int) SWIG_AsInt(obj1
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 (arg1
)->SetSelection(arg2
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 Py_INCREF(Py_None
); resultobj
= Py_None
;
14753 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14757 PyObject
* obj0
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_FromInt((int)result
);
14779 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14783 PyObject
* obj0
= 0 ;
14784 PyObject
* obj1
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "nOldSel", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14792 arg2
= (int) SWIG_AsInt(obj1
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 (arg1
)->SetOldSelection(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14811 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14813 return Py_BuildValue((char *)"");
14815 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxWindow
*arg1
= (wxWindow
*) 0 ;
14818 int arg2
= (int) -1 ;
14819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14823 long arg5
= (long) 0 ;
14824 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14825 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14826 wxNotebook
*result
;
14829 bool temp6
= False
;
14830 PyObject
* obj0
= 0 ;
14831 PyObject
* obj1
= 0 ;
14832 PyObject
* obj2
= 0 ;
14833 PyObject
* obj3
= 0 ;
14834 PyObject
* obj4
= 0 ;
14835 PyObject
* obj5
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14844 arg2
= (int) SWIG_AsInt(obj1
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14850 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14856 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14860 arg5
= (long) SWIG_AsLong(obj4
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14865 arg6
= wxString_in_helper(obj5
);
14866 if (arg6
== NULL
) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= wxPyMake_wxObject(result
);
14894 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14895 PyObject
*resultobj
;
14896 wxNotebook
*result
;
14897 char *kwnames
[] = {
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (wxNotebook
*)new wxNotebook();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14910 resultobj
= wxPyMake_wxObject(result
);
14918 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14921 wxWindow
*arg2
= (wxWindow
*) 0 ;
14923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14927 long arg6
= (long) 0 ;
14928 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14933 bool temp7
= False
;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 PyObject
* obj2
= 0 ;
14937 PyObject
* obj3
= 0 ;
14938 PyObject
* obj4
= 0 ;
14939 PyObject
* obj5
= 0 ;
14940 PyObject
* obj6
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 arg3
= (int) SWIG_AsInt(obj2
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14965 arg6
= (long) SWIG_AsLong(obj5
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14970 arg7
= wxString_in_helper(obj6
);
14971 if (arg7
== NULL
) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14999 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_FromInt((int)result
);
15025 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 PyObject
* obj1
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self",(char *) "padding", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15062 PyObject
* obj0
= 0 ;
15063 PyObject
* obj1
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self",(char *) "sz", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 Py_INCREF(Py_None
); resultobj
= Py_None
;
15089 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15092 wxPoint
*arg2
= 0 ;
15093 long *arg3
= (long *) 0 ;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 char *kwnames
[] = {
15100 (char *) "self",(char *) "pt", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= SWIG_FromInt((int)result
);
15120 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15121 resultobj
= t_output_helper(resultobj
,o
);
15129 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "sizePage", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15146 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15152 wxPyEndAllowThreads(__tstate
);
15153 if (PyErr_Occurred()) SWIG_fail
;
15156 wxSize
* resultptr
;
15157 resultptr
= new wxSize((wxSize
&) result
);
15158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15166 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15169 wxVisualAttributes result
;
15170 PyObject
* obj0
= 0 ;
15171 char *kwnames
[] = {
15172 (char *) "variant", NULL
15175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15177 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15178 if (PyErr_Occurred()) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15188 wxVisualAttributes
* resultptr
;
15189 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15198 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15201 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15203 return Py_BuildValue((char *)"");
15205 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15206 PyObject
*resultobj
;
15207 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15208 int arg2
= (int) 0 ;
15209 int arg3
= (int) -1 ;
15210 int arg4
= (int) -1 ;
15211 wxNotebookEvent
*result
;
15212 PyObject
* obj0
= 0 ;
15213 PyObject
* obj1
= 0 ;
15214 PyObject
* obj2
= 0 ;
15215 PyObject
* obj3
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15222 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 arg2
= (int) SWIG_AsInt(obj1
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 arg3
= (int) SWIG_AsInt(obj2
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 arg4
= (int) SWIG_AsInt(obj3
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15251 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15254 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15256 return Py_BuildValue((char *)"");
15258 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxWindow
*arg1
= (wxWindow
*) 0 ;
15261 int arg2
= (int) -1 ;
15262 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15263 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15264 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15265 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15266 long arg5
= (long) 0 ;
15267 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15268 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15269 wxListbook
*result
;
15272 bool temp6
= False
;
15273 PyObject
* obj0
= 0 ;
15274 PyObject
* obj1
= 0 ;
15275 PyObject
* obj2
= 0 ;
15276 PyObject
* obj3
= 0 ;
15277 PyObject
* obj4
= 0 ;
15278 PyObject
* obj5
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15287 arg2
= (int) SWIG_AsInt(obj1
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15299 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15303 arg5
= (long) SWIG_AsLong(obj4
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15308 arg6
= wxString_in_helper(obj5
);
15309 if (arg6
== NULL
) SWIG_fail
;
15314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15315 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15317 wxPyEndAllowThreads(__tstate
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15335 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxListbook
*result
;
15338 char *kwnames
[] = {
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 result
= (wxListbook
*)new wxListbook();
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15357 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxListbook
*arg1
= (wxListbook
*) 0 ;
15360 wxWindow
*arg2
= (wxWindow
*) 0 ;
15362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15366 long arg6
= (long) 0 ;
15367 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15368 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15372 bool temp7
= False
;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 PyObject
* obj3
= 0 ;
15377 PyObject
* obj4
= 0 ;
15378 PyObject
* obj5
= 0 ;
15379 PyObject
* obj6
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15389 arg3
= (int) SWIG_AsInt(obj2
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15394 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15400 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15404 arg6
= (long) SWIG_AsLong(obj5
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15409 arg7
= wxString_in_helper(obj6
);
15410 if (arg7
== NULL
) SWIG_fail
;
15415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15438 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxListbook
*arg1
= (wxListbook
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15471 return Py_BuildValue((char *)"");
15473 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15476 int arg2
= (int) 0 ;
15477 int arg3
= (int) -1 ;
15478 int arg4
= (int) -1 ;
15479 wxListbookEvent
*result
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 PyObject
* obj3
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15490 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 arg2
= (int) SWIG_AsInt(obj1
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 arg3
= (int) SWIG_AsInt(obj2
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 arg4
= (int) SWIG_AsInt(obj3
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15519 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15522 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15524 return Py_BuildValue((char *)"");
15526 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15529 wxBookCtrlSizer
*result
;
15530 PyObject
* obj0
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "nb", NULL
15535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15552 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15553 PyObject
*resultobj
;
15554 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 char *kwnames
[] = {
15557 (char *) "self", NULL
15560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 (arg1
)->RecalcSizes();
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 Py_INCREF(Py_None
); resultobj
= Py_None
;
15577 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 char *kwnames
[] = {
15583 (char *) "self", NULL
15586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (arg1
)->CalcMin();
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 wxSize
* resultptr
;
15598 resultptr
= new wxSize((wxSize
&) result
);
15599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15607 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15610 wxBookCtrl
*result
;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "self", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15633 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15636 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15638 return Py_BuildValue((char *)"");
15640 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15643 wxNotebookSizer
*result
;
15644 PyObject
* obj0
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "nb", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15666 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 (arg1
)->RecalcSizes();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 Py_INCREF(Py_None
); resultobj
= Py_None
;
15691 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15692 PyObject
*resultobj
;
15693 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15695 PyObject
* obj0
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (arg1
)->CalcMin();
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 wxSize
* resultptr
;
15712 resultptr
= new wxSize((wxSize
&) result
);
15713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15721 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15724 wxNotebook
*result
;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 resultobj
= wxPyMake_wxObject(result
);
15749 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15752 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15754 return Py_BuildValue((char *)"");
15756 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (int)(arg1
)->GetId();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_FromInt((int)result
);
15782 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (wxControl
*)(arg1
)->GetControl();
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= wxPyMake_wxObject(result
);
15810 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15811 PyObject
*resultobj
;
15812 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15813 wxToolBarBase
*result
;
15814 PyObject
* obj0
= 0 ;
15815 char *kwnames
[] = {
15816 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= wxPyMake_wxObject(result
);
15838 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 result
= (int)(arg1
)->IsButton();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_FromInt((int)result
);
15864 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
;
15866 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15868 PyObject
* obj0
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (int)(arg1
)->IsControl();
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_FromInt((int)result
);
15890 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15894 PyObject
* obj0
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (int)(arg1
)->IsSeparator();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_FromInt((int)result
);
15916 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15920 PyObject
* obj0
= 0 ;
15921 char *kwnames
[] = {
15922 (char *) "self", NULL
15925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 result
= (int)(arg1
)->GetStyle();
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_FromInt((int)result
);
15942 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (int)(arg1
)->GetKind();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_FromInt((int)result
);
15968 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (bool)(arg1
)->IsEnabled();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15996 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (bool)(arg1
)->IsToggled();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16024 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16028 PyObject
* obj0
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (bool)(arg1
)->CanBeToggled();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16052 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16068 result
= (wxBitmap
*) &_result_ref
;
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 wxBitmap
* resultptr
= new wxBitmap(*result
);
16076 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16084 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16100 result
= (wxBitmap
*) &_result_ref
;
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 wxBitmap
* resultptr
= new wxBitmap(*result
);
16108 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16116 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 char *kwnames
[] = {
16122 (char *) "self", NULL
16125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16130 result
= (arg1
)->GetBitmap();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16136 wxBitmap
* resultptr
;
16137 resultptr
= new wxBitmap((wxBitmap
&) result
);
16138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16146 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16147 PyObject
*resultobj
;
16148 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 result
= (arg1
)->GetLabel();
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16178 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
;
16180 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16182 PyObject
* obj0
= 0 ;
16183 char *kwnames
[] = {
16184 (char *) "self", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (arg1
)->GetShortHelp();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16210 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16211 PyObject
*resultobj
;
16212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 char *kwnames
[] = {
16216 (char *) "self", NULL
16219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 result
= (arg1
)->GetLongHelp();
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16242 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "enable", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16256 arg2
= (bool) SWIG_AsBool(obj1
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (bool)(arg1
)->Enable(arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16274 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16292 Py_INCREF(Py_None
); resultobj
= Py_None
;
16299 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self",(char *) "toggle", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 arg2
= (bool) SWIG_AsBool(obj1
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (bool)(arg1
)->SetToggle(arg2
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16331 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16334 wxString
*arg2
= 0 ;
16336 bool temp2
= False
;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "help", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 arg2
= wxString_in_helper(obj1
);
16348 if (arg2
== NULL
) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
;
16377 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16378 wxString
*arg2
= 0 ;
16380 bool temp2
= False
;
16381 PyObject
* obj0
= 0 ;
16382 PyObject
* obj1
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self",(char *) "help", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16419 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16422 wxBitmap
*arg2
= 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self",(char *) "bmp", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16435 if (arg2
== NULL
) {
16436 PyErr_SetString(PyExc_TypeError
,"null reference");
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 Py_INCREF(Py_None
); resultobj
= Py_None
;
16453 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
;
16455 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16456 wxBitmap
*arg2
= 0 ;
16457 PyObject
* obj0
= 0 ;
16458 PyObject
* obj1
= 0 ;
16459 char *kwnames
[] = {
16460 (char *) "self",(char *) "bmp", NULL
16463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16469 if (arg2
== NULL
) {
16470 PyErr_SetString(PyExc_TypeError
,"null reference");
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16487 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16490 wxString
*arg2
= 0 ;
16491 bool temp2
= False
;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self",(char *) "label", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 arg2
= wxString_in_helper(obj1
);
16503 if (arg2
== NULL
) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 (arg1
)->SetLabel((wxString
const &)*arg2
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16528 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 Py_INCREF(Py_None
); resultobj
= Py_None
;
16553 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16556 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "tbar", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16570 (arg1
)->Attach(arg2
);
16572 wxPyEndAllowThreads(__tstate
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16575 Py_INCREF(Py_None
); resultobj
= Py_None
;
16582 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16583 PyObject
*resultobj
;
16584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= result
;
16608 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16611 PyObject
*arg2
= (PyObject
*) 0 ;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 char *kwnames
[] = {
16615 (char *) "self",(char *) "clientData", NULL
16618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16626 wxPyEndAllowThreads(__tstate
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16629 Py_INCREF(Py_None
); resultobj
= Py_None
;
16636 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16639 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16641 return Py_BuildValue((char *)"");
16643 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16647 wxString
*arg3
= 0 ;
16648 wxBitmap
*arg4
= 0 ;
16649 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16650 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16651 int arg6
= (int) wxITEM_NORMAL
;
16652 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16654 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16656 PyObject
*arg9
= (PyObject
*) NULL
;
16657 wxToolBarToolBase
*result
;
16658 bool temp3
= False
;
16659 bool temp7
= False
;
16660 bool temp8
= False
;
16661 PyObject
* obj0
= 0 ;
16662 PyObject
* obj1
= 0 ;
16663 PyObject
* obj2
= 0 ;
16664 PyObject
* obj3
= 0 ;
16665 PyObject
* obj4
= 0 ;
16666 PyObject
* obj5
= 0 ;
16667 PyObject
* obj6
= 0 ;
16668 PyObject
* obj7
= 0 ;
16669 PyObject
* obj8
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16677 arg2
= (int) SWIG_AsInt(obj1
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16680 arg3
= wxString_in_helper(obj2
);
16681 if (arg3
== NULL
) SWIG_fail
;
16684 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16687 if (arg4
== NULL
) {
16688 PyErr_SetString(PyExc_TypeError
,"null reference");
16692 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16695 if (arg5
== NULL
) {
16696 PyErr_SetString(PyExc_TypeError
,"null reference");
16701 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16706 arg7
= wxString_in_helper(obj6
);
16707 if (arg7
== NULL
) SWIG_fail
;
16713 arg8
= wxString_in_helper(obj7
);
16714 if (arg8
== NULL
) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= wxPyMake_wxObject(result
);
16761 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16766 wxString
*arg4
= 0 ;
16767 wxBitmap
*arg5
= 0 ;
16768 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16769 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16770 int arg7
= (int) wxITEM_NORMAL
;
16771 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16772 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16773 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16774 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16775 PyObject
*arg10
= (PyObject
*) NULL
;
16776 wxToolBarToolBase
*result
;
16777 bool temp4
= False
;
16778 bool temp8
= False
;
16779 bool temp9
= False
;
16780 PyObject
* obj0
= 0 ;
16781 PyObject
* obj1
= 0 ;
16782 PyObject
* obj2
= 0 ;
16783 PyObject
* obj3
= 0 ;
16784 PyObject
* obj4
= 0 ;
16785 PyObject
* obj5
= 0 ;
16786 PyObject
* obj6
= 0 ;
16787 PyObject
* obj7
= 0 ;
16788 PyObject
* obj8
= 0 ;
16789 PyObject
* obj9
= 0 ;
16790 char *kwnames
[] = {
16791 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16797 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16799 arg3
= (int) SWIG_AsInt(obj2
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 arg4
= wxString_in_helper(obj3
);
16803 if (arg4
== NULL
) SWIG_fail
;
16806 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16809 if (arg5
== NULL
) {
16810 PyErr_SetString(PyExc_TypeError
,"null reference");
16814 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16817 if (arg6
== NULL
) {
16818 PyErr_SetString(PyExc_TypeError
,"null reference");
16823 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16828 arg8
= wxString_in_helper(obj7
);
16829 if (arg8
== NULL
) SWIG_fail
;
16835 arg9
= wxString_in_helper(obj8
);
16836 if (arg9
== NULL
) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 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
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16851 resultobj
= wxPyMake_wxObject(result
);
16883 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16885 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16886 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16887 wxToolBarToolBase
*result
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "tool", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= wxPyMake_wxObject(result
);
16915 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16919 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16920 wxToolBarToolBase
*result
;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "self",(char *) "pos",(char *) "tool", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16933 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16937 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= wxPyMake_wxObject(result
);
16951 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16954 wxControl
*arg2
= (wxControl
*) 0 ;
16955 wxToolBarToolBase
*result
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "self",(char *) "control", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= wxPyMake_wxObject(result
);
16983 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16987 wxControl
*arg3
= (wxControl
*) 0 ;
16988 wxToolBarToolBase
*result
;
16989 PyObject
* obj0
= 0 ;
16990 PyObject
* obj1
= 0 ;
16991 PyObject
* obj2
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "pos",(char *) "control", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16999 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17001 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= wxPyMake_wxObject(result
);
17019 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17021 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17024 PyObject
* obj0
= 0 ;
17025 PyObject
* obj1
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self",(char *) "id", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 arg2
= (int) SWIG_AsInt(obj1
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= wxPyMake_wxObject(result
);
17051 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
;
17053 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17054 wxToolBarToolBase
*result
;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17065 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17071 resultobj
= wxPyMake_wxObject(result
);
17079 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17080 PyObject
*resultobj
;
17081 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17083 wxToolBarToolBase
*result
;
17084 PyObject
* obj0
= 0 ;
17085 PyObject
* obj1
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self",(char *) "pos", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17093 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= wxPyMake_wxObject(result
);
17111 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17115 wxToolBarToolBase
*result
;
17116 PyObject
* obj0
= 0 ;
17117 PyObject
* obj1
= 0 ;
17118 char *kwnames
[] = {
17119 (char *) "self",(char *) "id", NULL
17122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 arg2
= (int) SWIG_AsInt(obj1
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= wxPyMake_wxObject(result
);
17143 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "self",(char *) "pos", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17175 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self",(char *) "id", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17189 arg2
= (int) SWIG_AsInt(obj1
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= (bool)(arg1
)->DeleteTool(arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17207 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17208 PyObject
*resultobj
;
17209 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 (arg1
)->ClearTools();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 Py_INCREF(Py_None
); resultobj
= Py_None
;
17232 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17236 PyObject
* obj0
= 0 ;
17237 char *kwnames
[] = {
17238 (char *) "self", NULL
17241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (bool)(arg1
)->Realize();
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17260 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "id",(char *) "enable", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 arg2
= (int) SWIG_AsInt(obj1
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17277 arg3
= (bool) SWIG_AsBool(obj2
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->EnableTool(arg2
,arg3
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 Py_INCREF(Py_None
); resultobj
= Py_None
;
17293 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "id",(char *) "toggle", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 arg2
= (int) SWIG_AsInt(obj1
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17310 arg3
= (bool) SWIG_AsBool(obj2
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->ToggleTool(arg2
,arg3
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 PyObject
* obj2
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "id",(char *) "toggle", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 arg2
= (int) SWIG_AsInt(obj1
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17343 arg3
= (bool) SWIG_AsBool(obj2
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 (arg1
)->SetToggle(arg2
,arg3
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 Py_INCREF(Py_None
); resultobj
= Py_None
;
17359 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self",(char *) "id", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17373 arg2
= (int) SWIG_AsInt(obj1
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= result
;
17389 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17393 PyObject
*arg3
= (PyObject
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 PyObject
* obj2
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "id",(char *) "clientData", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17404 arg2
= (int) SWIG_AsInt(obj1
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17411 wxPyEndAllowThreads(__tstate
);
17412 if (PyErr_Occurred()) SWIG_fail
;
17414 Py_INCREF(Py_None
); resultobj
= Py_None
;
17421 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17422 PyObject
*resultobj
;
17423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 PyObject
* obj1
= 0 ;
17428 char *kwnames
[] = {
17429 (char *) "self",(char *) "id", NULL
17432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17435 arg2
= (int) SWIG_AsInt(obj1
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17441 wxPyEndAllowThreads(__tstate
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17444 resultobj
= SWIG_FromInt((int)result
);
17451 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self",(char *) "id", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 arg2
= (int) SWIG_AsInt(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (bool)(arg1
)->GetToolState(arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17483 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "id", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 arg2
= (int) SWIG_AsInt(obj1
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17501 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17519 wxString
*arg3
= 0 ;
17520 bool temp3
= False
;
17521 PyObject
* obj0
= 0 ;
17522 PyObject
* obj1
= 0 ;
17523 PyObject
* obj2
= 0 ;
17524 char *kwnames
[] = {
17525 (char *) "self",(char *) "id",(char *) "helpString", NULL
17528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17531 arg2
= (int) SWIG_AsInt(obj1
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17534 arg3
= wxString_in_helper(obj2
);
17535 if (arg3
== NULL
) SWIG_fail
;
17539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17540 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17542 wxPyEndAllowThreads(__tstate
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17545 Py_INCREF(Py_None
); resultobj
= Py_None
;
17560 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17561 PyObject
*resultobj
;
17562 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "id", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int) SWIG_AsInt(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (arg1
)->GetToolShortHelp(arg2
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17596 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17600 wxString
*arg3
= 0 ;
17601 bool temp3
= False
;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 PyObject
* obj2
= 0 ;
17605 char *kwnames
[] = {
17606 (char *) "self",(char *) "id",(char *) "helpString", NULL
17609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17612 arg2
= (int) SWIG_AsInt(obj1
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 arg3
= wxString_in_helper(obj2
);
17616 if (arg3
== NULL
) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 Py_INCREF(Py_None
); resultobj
= Py_None
;
17641 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "id", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 arg2
= (int) SWIG_AsInt(obj1
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17659 result
= (arg1
)->GetToolLongHelp(arg2
);
17661 wxPyEndAllowThreads(__tstate
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17677 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self",(char *) "x",(char *) "y", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17692 arg2
= (int) SWIG_AsInt(obj1
);
17693 if (PyErr_Occurred()) SWIG_fail
;
17694 arg3
= (int) SWIG_AsInt(obj2
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17698 (arg1
)->SetMargins(arg2
,arg3
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 Py_INCREF(Py_None
); resultobj
= Py_None
;
17710 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17715 PyObject
* obj0
= 0 ;
17716 PyObject
* obj1
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self",(char *) "size", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17742 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 char *kwnames
[] = {
17749 (char *) "self",(char *) "packing", NULL
17752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17755 arg2
= (int) SWIG_AsInt(obj1
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->SetToolPacking(arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "separation", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17784 arg2
= (int) SWIG_AsInt(obj1
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->SetToolSeparation(arg2
);
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (arg1
)->GetToolMargins();
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17820 wxSize
* resultptr
;
17821 resultptr
= new wxSize((wxSize
&) result
);
17822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17830 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (arg1
)->GetMargins();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 wxSize
* resultptr
;
17851 resultptr
= new wxSize((wxSize
&) result
);
17852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17860 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (int)(arg1
)->GetToolPacking();
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_FromInt((int)result
);
17886 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (int)(arg1
)->GetToolSeparation();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_FromInt((int)result
);
17912 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "nRows", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 arg2
= (int) SWIG_AsInt(obj1
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->SetRows(arg2
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 PyObject
* obj2
= 0 ;
17949 char *kwnames
[] = {
17950 (char *) "self",(char *) "rows",(char *) "cols", NULL
17953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 arg2
= (int) SWIG_AsInt(obj1
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17958 arg3
= (int) SWIG_AsInt(obj2
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 Py_INCREF(Py_None
); resultobj
= Py_None
;
17974 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 result
= (int)(arg1
)->GetMaxRows();
17990 wxPyEndAllowThreads(__tstate
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= SWIG_FromInt((int)result
);
18000 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18002 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18004 PyObject
* obj0
= 0 ;
18005 char *kwnames
[] = {
18006 (char *) "self", NULL
18009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= (int)(arg1
)->GetMaxCols();
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 resultobj
= SWIG_FromInt((int)result
);
18026 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18027 PyObject
*resultobj
;
18028 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18031 PyObject
* obj0
= 0 ;
18032 PyObject
* obj1
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "self",(char *) "size", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18062 PyObject
* obj0
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 result
= (arg1
)->GetToolBitmapSize();
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18078 wxSize
* resultptr
;
18079 resultptr
= new wxSize((wxSize
&) result
);
18080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18088 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (arg1
)->GetToolSize();
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18108 wxSize
* resultptr
;
18109 resultptr
= new wxSize((wxSize
&) result
);
18110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18118 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18123 wxToolBarToolBase
*result
;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "x",(char *) "y", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 arg2
= (int) SWIG_AsInt(obj1
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18136 arg3
= (int) SWIG_AsInt(obj2
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= wxPyMake_wxObject(result
);
18154 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18158 wxToolBarToolBase
*result
;
18159 PyObject
* obj0
= 0 ;
18160 PyObject
* obj1
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "self",(char *) "toolid", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18168 arg2
= (int) SWIG_AsInt(obj1
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18172 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= wxPyMake_wxObject(result
);
18186 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18187 PyObject
*resultobj
;
18188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18190 PyObject
* obj0
= 0 ;
18191 char *kwnames
[] = {
18192 (char *) "self", NULL
18195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 result
= (bool)(arg1
)->IsVertical();
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18214 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18216 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18217 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18219 return Py_BuildValue((char *)"");
18221 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18222 PyObject
*resultobj
;
18223 wxWindow
*arg1
= (wxWindow
*) 0 ;
18225 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18226 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18227 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18228 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18229 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18230 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18231 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18235 bool temp6
= False
;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18238 PyObject
* obj2
= 0 ;
18239 PyObject
* obj3
= 0 ;
18240 PyObject
* obj4
= 0 ;
18241 PyObject
* obj5
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18249 arg2
= (int) SWIG_AsInt(obj1
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18260 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18264 arg5
= (long) SWIG_AsLong(obj4
);
18265 if (PyErr_Occurred()) SWIG_fail
;
18269 arg6
= wxString_in_helper(obj5
);
18270 if (arg6
== NULL
) SWIG_fail
;
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18278 wxPyEndAllowThreads(__tstate
);
18279 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= wxPyMake_wxObject(result
);
18298 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18301 char *kwnames
[] = {
18305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (wxToolBar
*)new wxToolBar();
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= wxPyMake_wxObject(result
);
18322 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18323 PyObject
*resultobj
;
18324 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18325 wxWindow
*arg2
= (wxWindow
*) 0 ;
18327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18331 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18332 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18333 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18337 bool temp7
= False
;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 PyObject
* obj3
= 0 ;
18342 PyObject
* obj4
= 0 ;
18343 PyObject
* obj5
= 0 ;
18344 PyObject
* obj6
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 arg3
= (int) SWIG_AsInt(obj2
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18359 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18365 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18369 arg6
= (long) SWIG_AsLong(obj5
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18374 arg7
= wxString_in_helper(obj6
);
18375 if (arg7
== NULL
) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18383 wxPyEndAllowThreads(__tstate
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18403 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18408 wxToolBarToolBase
*result
;
18409 PyObject
* obj0
= 0 ;
18410 PyObject
* obj1
= 0 ;
18411 PyObject
* obj2
= 0 ;
18412 char *kwnames
[] = {
18413 (char *) "self",(char *) "x",(char *) "y", NULL
18416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18419 arg2
= (int) SWIG_AsInt(obj1
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18421 arg3
= (int) SWIG_AsInt(obj2
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18425 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18427 wxPyEndAllowThreads(__tstate
);
18428 if (PyErr_Occurred()) SWIG_fail
;
18431 resultobj
= wxPyMake_wxObject(result
);
18439 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18442 wxVisualAttributes result
;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "variant", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18450 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18461 wxVisualAttributes
* resultptr
;
18462 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18471 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18474 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18476 return Py_BuildValue((char *)"");
18478 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18479 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18484 static PyObject
*_wrap_ListCtrlNameStr_get() {
18489 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18491 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18498 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxColour
const &arg1_defvalue
= wxNullColour
;
18501 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18502 wxColour
const &arg2_defvalue
= wxNullColour
;
18503 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18504 wxFont
const &arg3_defvalue
= wxNullFont
;
18505 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18506 wxListItemAttr
*result
;
18509 PyObject
* obj0
= 0 ;
18510 PyObject
* obj1
= 0 ;
18511 PyObject
* obj2
= 0 ;
18512 char *kwnames
[] = {
18513 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18520 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18530 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18533 if (arg3
== NULL
) {
18534 PyErr_SetString(PyExc_TypeError
,"null reference");
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18552 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18555 wxColour
*arg2
= 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self",(char *) "colText", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 Py_INCREF(Py_None
); resultobj
= Py_None
;
18584 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18587 wxColour
*arg2
= 0 ;
18589 PyObject
* obj0
= 0 ;
18590 PyObject
* obj1
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self",(char *) "colBack", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 Py_INCREF(Py_None
); resultobj
= Py_None
;
18616 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18617 PyObject
*resultobj
;
18618 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "font", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18632 if (arg2
== NULL
) {
18633 PyErr_SetString(PyExc_TypeError
,"null reference");
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->SetFont((wxFont
const &)*arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)(arg1
)->HasTextColour();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18678 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (bool)(arg1
)->HasBackgroundColour();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
;
18708 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18710 PyObject
* obj0
= 0 ;
18711 char *kwnames
[] = {
18712 (char *) "self", NULL
18715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)(arg1
)->HasFont();
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18734 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18735 PyObject
*resultobj
;
18736 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18738 PyObject
* obj0
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (arg1
)->GetTextColour();
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18754 wxColour
* resultptr
;
18755 resultptr
= new wxColour((wxColour
&) result
);
18756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18764 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (arg1
)->GetBackgroundColour();
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18784 wxColour
* resultptr
;
18785 resultptr
= new wxColour((wxColour
&) result
);
18786 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18794 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18795 PyObject
*resultobj
;
18796 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18798 PyObject
* obj0
= 0 ;
18799 char *kwnames
[] = {
18800 (char *) "self", NULL
18803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (arg1
)->GetFont();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18814 wxFont
* resultptr
;
18815 resultptr
= new wxFont((wxFont
&) result
);
18816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18824 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18825 PyObject
*resultobj
;
18826 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 wxListItemAttr_Destroy(arg1
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18852 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18854 return Py_BuildValue((char *)"");
18856 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxListItem
*result
;
18859 char *kwnames
[] = {
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= (wxListItem
*)new wxListItem();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= wxPyMake_wxObject(result
);
18880 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18881 PyObject
*resultobj
;
18882 wxListItem
*arg1
= (wxListItem
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 Py_INCREF(Py_None
); resultobj
= Py_None
;
18905 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxListItem
*arg1
= (wxListItem
*) 0 ;
18908 PyObject
* obj0
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 Py_INCREF(Py_None
); resultobj
= Py_None
;
18930 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18931 PyObject
*resultobj
;
18932 wxListItem
*arg1
= (wxListItem
*) 0 ;
18933 PyObject
* obj0
= 0 ;
18934 char *kwnames
[] = {
18935 (char *) "self", NULL
18938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->ClearAttributes();
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxListItem
*arg1
= (wxListItem
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "mask", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (long) SWIG_AsLong(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetMask(arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxListItem
*arg1
= (wxListItem
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "id", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= (long) SWIG_AsLong(obj1
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->SetId(arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 Py_INCREF(Py_None
); resultobj
= Py_None
;
19013 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxListItem
*arg1
= (wxListItem
*) 0 ;
19017 PyObject
* obj0
= 0 ;
19018 PyObject
* obj1
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self",(char *) "col", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19026 arg2
= (int) SWIG_AsInt(obj1
);
19027 if (PyErr_Occurred()) SWIG_fail
;
19029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19030 (arg1
)->SetColumn(arg2
);
19032 wxPyEndAllowThreads(__tstate
);
19033 if (PyErr_Occurred()) SWIG_fail
;
19035 Py_INCREF(Py_None
); resultobj
= Py_None
;
19042 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxListItem
*arg1
= (wxListItem
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 PyObject
* obj1
= 0 ;
19048 char *kwnames
[] = {
19049 (char *) "self",(char *) "state", NULL
19052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 arg2
= (long) SWIG_AsLong(obj1
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 (arg1
)->SetState(arg2
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 Py_INCREF(Py_None
); resultobj
= Py_None
;
19071 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19072 PyObject
*resultobj
;
19073 wxListItem
*arg1
= (wxListItem
*) 0 ;
19075 PyObject
* obj0
= 0 ;
19076 PyObject
* obj1
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self",(char *) "stateMask", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 arg2
= (long) SWIG_AsLong(obj1
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->SetStateMask(arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19100 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItem
*arg1
= (wxListItem
*) 0 ;
19103 wxString
*arg2
= 0 ;
19104 bool temp2
= False
;
19105 PyObject
* obj0
= 0 ;
19106 PyObject
* obj1
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self",(char *) "text", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 arg2
= wxString_in_helper(obj1
);
19116 if (arg2
== NULL
) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 (arg1
)->SetText((wxString
const &)*arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxListItem
*arg1
= (wxListItem
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 char *kwnames
[] = {
19148 (char *) "self",(char *) "image", NULL
19151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19154 arg2
= (int) SWIG_AsInt(obj1
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 (arg1
)->SetImage(arg2
);
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 Py_INCREF(Py_None
); resultobj
= Py_None
;
19170 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxListItem
*arg1
= (wxListItem
*) 0 ;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "data", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= (long) SWIG_AsLong(obj1
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->SetData(arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxListItem
*arg1
= (wxListItem
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "width", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19212 arg2
= (int) SWIG_AsInt(obj1
);
19213 if (PyErr_Occurred()) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 (arg1
)->SetWidth(arg2
);
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 Py_INCREF(Py_None
); resultobj
= Py_None
;
19228 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19230 wxListItem
*arg1
= (wxListItem
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "align", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxListItem
*arg1
= (wxListItem
*) 0 ;
19260 wxColour
*arg2
= 0 ;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "colText", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 Py_INCREF(Py_None
); resultobj
= Py_None
;
19289 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxListItem
*arg1
= (wxListItem
*) 0 ;
19292 wxColour
*arg2
= 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "colBack", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxListItem
*arg1
= (wxListItem
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "font", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19337 if (arg2
== NULL
) {
19338 PyErr_SetString(PyExc_TypeError
,"null reference");
19342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 (arg1
)->SetFont((wxFont
const &)*arg2
);
19345 wxPyEndAllowThreads(__tstate
);
19346 if (PyErr_Occurred()) SWIG_fail
;
19348 Py_INCREF(Py_None
); resultobj
= Py_None
;
19355 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxListItem
*arg1
= (wxListItem
*) 0 ;
19359 PyObject
* obj0
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (long)(arg1
)->GetMask();
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= SWIG_FromLong((long)result
);
19381 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxListItem
*arg1
= (wxListItem
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (long)(arg1
)->GetId();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_FromLong((long)result
);
19407 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19408 PyObject
*resultobj
;
19409 wxListItem
*arg1
= (wxListItem
*) 0 ;
19411 PyObject
* obj0
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19421 result
= (int)(arg1
)->GetColumn();
19423 wxPyEndAllowThreads(__tstate
);
19424 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= SWIG_FromInt((int)result
);
19433 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
;
19435 wxListItem
*arg1
= (wxListItem
*) 0 ;
19437 PyObject
* obj0
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "self", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 result
= (long)(arg1
)->GetState();
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 resultobj
= SWIG_FromLong((long)result
);
19459 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxListItem
*arg1
= (wxListItem
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 wxString
const &_result_ref
= (arg1
)->GetText();
19475 result
= (wxString
*) &_result_ref
;
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19494 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxListItem
*arg1
= (wxListItem
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= (int)(arg1
)->GetImage();
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_FromInt((int)result
);
19520 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxListItem
*arg1
= (wxListItem
*) 0 ;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (long)(arg1
)->GetData();
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 resultobj
= SWIG_FromLong((long)result
);
19546 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxListItem
*arg1
= (wxListItem
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 char *kwnames
[] = {
19552 (char *) "self", NULL
19555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 result
= (int)(arg1
)->GetWidth();
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= SWIG_FromInt((int)result
);
19572 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19573 PyObject
*resultobj
;
19574 wxListItem
*arg1
= (wxListItem
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (int)(arg1
)->GetAlign();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_FromInt((int)result
);
19598 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxListItem
*arg1
= (wxListItem
*) 0 ;
19601 wxListItemAttr
*result
;
19602 PyObject
* obj0
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19612 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19614 wxPyEndAllowThreads(__tstate
);
19615 if (PyErr_Occurred()) SWIG_fail
;
19617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19624 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19625 PyObject
*resultobj
;
19626 wxListItem
*arg1
= (wxListItem
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19638 result
= (bool)(arg1
)->HasAttributes();
19640 wxPyEndAllowThreads(__tstate
);
19641 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19652 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxListItem
*arg1
= (wxListItem
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 wxColour
* resultptr
;
19673 resultptr
= new wxColour((wxColour
&) result
);
19674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19682 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxListItem
*arg1
= (wxListItem
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 char *kwnames
[] = {
19688 (char *) "self", NULL
19691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19702 wxColour
* resultptr
;
19703 resultptr
= new wxColour((wxColour
&) result
);
19704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19712 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxListItem
*arg1
= (wxListItem
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= ((wxListItem
const *)arg1
)->GetFont();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19732 wxFont
* resultptr
;
19733 resultptr
= new wxFont((wxFont
&) result
);
19734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19742 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxListItem
*arg1
= (wxListItem
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "m_mask", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 arg2
= (long) SWIG_AsLong(obj1
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19757 if (arg1
) (arg1
)->m_mask
= arg2
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxListItem
*arg1
= (wxListItem
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 result
= (long) ((arg1
)->m_mask
);
19780 resultobj
= SWIG_FromLong((long)result
);
19787 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxListItem
*arg1
= (wxListItem
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self",(char *) "m_itemId", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19800 arg2
= (long) SWIG_AsLong(obj1
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19802 if (arg1
) (arg1
)->m_itemId
= arg2
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19811 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxListItem
*arg1
= (wxListItem
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 result
= (long) ((arg1
)->m_itemId
);
19825 resultobj
= SWIG_FromLong((long)result
);
19832 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxListItem
*arg1
= (wxListItem
*) 0 ;
19836 PyObject
* obj0
= 0 ;
19837 PyObject
* obj1
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self",(char *) "m_col", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19845 arg2
= (int) SWIG_AsInt(obj1
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19847 if (arg1
) (arg1
)->m_col
= arg2
;
19849 Py_INCREF(Py_None
); resultobj
= Py_None
;
19856 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19857 PyObject
*resultobj
;
19858 wxListItem
*arg1
= (wxListItem
*) 0 ;
19860 PyObject
* obj0
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 result
= (int) ((arg1
)->m_col
);
19870 resultobj
= SWIG_FromInt((int)result
);
19877 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxListItem
*arg1
= (wxListItem
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 PyObject
* obj1
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self",(char *) "m_state", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 arg2
= (long) SWIG_AsLong(obj1
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19892 if (arg1
) (arg1
)->m_state
= arg2
;
19894 Py_INCREF(Py_None
); resultobj
= Py_None
;
19901 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxListItem
*arg1
= (wxListItem
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 result
= (long) ((arg1
)->m_state
);
19915 resultobj
= SWIG_FromLong((long)result
);
19922 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19924 wxListItem
*arg1
= (wxListItem
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char *kwnames
[] = {
19929 (char *) "self",(char *) "m_stateMask", NULL
19932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19935 arg2
= (long) SWIG_AsLong(obj1
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19937 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19939 Py_INCREF(Py_None
); resultobj
= Py_None
;
19946 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxListItem
*arg1
= (wxListItem
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19958 result
= (long) ((arg1
)->m_stateMask
);
19960 resultobj
= SWIG_FromLong((long)result
);
19967 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxListItem
*arg1
= (wxListItem
*) 0 ;
19970 wxString
*arg2
= (wxString
*) 0 ;
19971 bool temp2
= False
;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "m_text", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 arg2
= wxString_in_helper(obj1
);
19983 if (arg2
== NULL
) SWIG_fail
;
19986 if (arg1
) (arg1
)->m_text
= *arg2
;
19988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20003 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20005 wxListItem
*arg1
= (wxListItem
*) 0 ;
20007 PyObject
* obj0
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 result
= (wxString
*)& ((arg1
)->m_text
);
20019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20030 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
;
20032 wxListItem
*arg1
= (wxListItem
*) 0 ;
20034 PyObject
* obj0
= 0 ;
20035 PyObject
* obj1
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self",(char *) "m_image", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20043 arg2
= (int) SWIG_AsInt(obj1
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20045 if (arg1
) (arg1
)->m_image
= arg2
;
20047 Py_INCREF(Py_None
); resultobj
= Py_None
;
20054 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxListItem
*arg1
= (wxListItem
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20066 result
= (int) ((arg1
)->m_image
);
20068 resultobj
= SWIG_FromInt((int)result
);
20075 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20076 PyObject
*resultobj
;
20077 wxListItem
*arg1
= (wxListItem
*) 0 ;
20079 PyObject
* obj0
= 0 ;
20080 PyObject
* obj1
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self",(char *) "m_data", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20088 arg2
= (long) SWIG_AsLong(obj1
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20090 if (arg1
) (arg1
)->m_data
= arg2
;
20092 Py_INCREF(Py_None
); resultobj
= Py_None
;
20099 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20100 PyObject
*resultobj
;
20101 wxListItem
*arg1
= (wxListItem
*) 0 ;
20103 PyObject
* obj0
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 result
= (long) ((arg1
)->m_data
);
20113 resultobj
= SWIG_FromLong((long)result
);
20120 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxListItem
*arg1
= (wxListItem
*) 0 ;
20124 PyObject
* obj0
= 0 ;
20125 PyObject
* obj1
= 0 ;
20126 char *kwnames
[] = {
20127 (char *) "self",(char *) "m_format", NULL
20130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20133 arg2
= (int) SWIG_AsInt(obj1
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20135 if (arg1
) (arg1
)->m_format
= arg2
;
20137 Py_INCREF(Py_None
); resultobj
= Py_None
;
20144 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20145 PyObject
*resultobj
;
20146 wxListItem
*arg1
= (wxListItem
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 char *kwnames
[] = {
20150 (char *) "self", NULL
20153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 result
= (int) ((arg1
)->m_format
);
20158 resultobj
= SWIG_FromInt((int)result
);
20165 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxListItem
*arg1
= (wxListItem
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 PyObject
* obj1
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self",(char *) "m_width", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20178 arg2
= (int) SWIG_AsInt(obj1
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20180 if (arg1
) (arg1
)->m_width
= arg2
;
20182 Py_INCREF(Py_None
); resultobj
= Py_None
;
20189 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
;
20191 wxListItem
*arg1
= (wxListItem
*) 0 ;
20193 PyObject
* obj0
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20201 result
= (int) ((arg1
)->m_width
);
20203 resultobj
= SWIG_FromInt((int)result
);
20210 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20213 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20215 return Py_BuildValue((char *)"");
20217 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20220 int arg2
= (int) 0 ;
20221 wxListEvent
*result
;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "commandType",(char *) "id", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20230 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 arg2
= (int) SWIG_AsInt(obj1
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20251 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self",(char *) "m_code", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20264 arg2
= (int) SWIG_AsInt(obj1
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20266 if (arg1
) (arg1
)->m_code
= arg2
;
20268 Py_INCREF(Py_None
); resultobj
= Py_None
;
20275 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20279 PyObject
* obj0
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 result
= (int) ((arg1
)->m_code
);
20289 resultobj
= SWIG_FromInt((int)result
);
20296 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 PyObject
* obj1
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "self",(char *) "m_oldItemIndex", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20309 arg2
= (long) SWIG_AsLong(obj1
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20311 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20313 Py_INCREF(Py_None
); resultobj
= Py_None
;
20320 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
;
20322 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 char *kwnames
[] = {
20326 (char *) "self", NULL
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 result
= (long) ((arg1
)->m_oldItemIndex
);
20334 resultobj
= SWIG_FromLong((long)result
);
20341 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
;
20343 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20345 PyObject
* obj0
= 0 ;
20346 PyObject
* obj1
= 0 ;
20347 char *kwnames
[] = {
20348 (char *) "self",(char *) "m_itemIndex", NULL
20351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20354 arg2
= (long) SWIG_AsLong(obj1
);
20355 if (PyErr_Occurred()) SWIG_fail
;
20356 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20377 result
= (long) ((arg1
)->m_itemIndex
);
20379 resultobj
= SWIG_FromLong((long)result
);
20386 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20390 PyObject
* obj0
= 0 ;
20391 PyObject
* obj1
= 0 ;
20392 char *kwnames
[] = {
20393 (char *) "self",(char *) "m_col", NULL
20396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20399 arg2
= (int) SWIG_AsInt(obj1
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20401 if (arg1
) (arg1
)->m_col
= arg2
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 char *kwnames
[] = {
20416 (char *) "self", NULL
20419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 result
= (int) ((arg1
)->m_col
);
20424 resultobj
= SWIG_FromInt((int)result
);
20431 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20434 wxPoint
*arg2
= (wxPoint
*) 0 ;
20435 PyObject
* obj0
= 0 ;
20436 PyObject
* obj1
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self",(char *) "m_pointDrag", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20444 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20446 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20467 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20476 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20479 wxListItem
*result
;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20488 result
= (wxListItem
*)& ((arg1
)->m_item
);
20491 resultobj
= wxPyMake_wxObject(result
);
20499 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20500 PyObject
*resultobj
;
20501 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20503 PyObject
* obj0
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (int)(arg1
)->GetKeyCode();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 resultobj
= SWIG_FromInt((int)result
);
20525 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20529 PyObject
* obj0
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (long)(arg1
)->GetIndex();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_FromLong((long)result
);
20551 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (int)(arg1
)->GetColumn();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_FromInt((int)result
);
20577 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (arg1
)->GetPoint();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20597 wxPoint
* resultptr
;
20598 resultptr
= new wxPoint((wxPoint
&) result
);
20599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20607 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20608 PyObject
*resultobj
;
20609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20611 PyObject
* obj0
= 0 ;
20612 char *kwnames
[] = {
20613 (char *) "self", NULL
20616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 wxString
const &_result_ref
= (arg1
)->GetLabel();
20623 result
= (wxString
*) &_result_ref
;
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20633 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20642 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 char *kwnames
[] = {
20648 (char *) "self", NULL
20651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 wxString
const &_result_ref
= (arg1
)->GetText();
20658 result
= (wxString
*) &_result_ref
;
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20666 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20668 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20677 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20681 PyObject
* obj0
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "self", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20691 result
= (int)(arg1
)->GetImage();
20693 wxPyEndAllowThreads(__tstate
);
20694 if (PyErr_Occurred()) SWIG_fail
;
20696 resultobj
= SWIG_FromInt((int)result
);
20703 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20704 PyObject
*resultobj
;
20705 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 char *kwnames
[] = {
20709 (char *) "self", NULL
20712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (long)(arg1
)->GetData();
20719 wxPyEndAllowThreads(__tstate
);
20720 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= SWIG_FromLong((long)result
);
20729 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20730 PyObject
*resultobj
;
20731 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20733 PyObject
* obj0
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= (long)(arg1
)->GetMask();
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20748 resultobj
= SWIG_FromLong((long)result
);
20755 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20758 wxListItem
*result
;
20759 PyObject
* obj0
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20771 result
= (wxListItem
*) &_result_ref
;
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20784 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20798 result
= (long)(arg1
)->GetCacheFrom();
20800 wxPyEndAllowThreads(__tstate
);
20801 if (PyErr_Occurred()) SWIG_fail
;
20803 resultobj
= SWIG_FromLong((long)result
);
20810 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
;
20812 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20814 PyObject
* obj0
= 0 ;
20815 char *kwnames
[] = {
20816 (char *) "self", NULL
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20824 result
= (long)(arg1
)->GetCacheTo();
20826 wxPyEndAllowThreads(__tstate
);
20827 if (PyErr_Occurred()) SWIG_fail
;
20829 resultobj
= SWIG_FromLong((long)result
);
20836 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20850 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20864 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20870 char *kwnames
[] = {
20871 (char *) "self",(char *) "editCancelled", NULL
20874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20877 arg2
= (bool) SWIG_AsBool(obj1
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 (arg1
)->SetEditCanceled(arg2
);
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 Py_INCREF(Py_None
); resultobj
= Py_None
;
20893 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20896 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20898 return Py_BuildValue((char *)"");
20900 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxWindow
*arg1
= (wxWindow
*) 0 ;
20903 int arg2
= (int) -1 ;
20904 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20905 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20906 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20907 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20908 long arg5
= (long) wxLC_ICON
;
20909 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20910 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20911 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20912 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20913 wxPyListCtrl
*result
;
20916 bool temp7
= False
;
20917 PyObject
* obj0
= 0 ;
20918 PyObject
* obj1
= 0 ;
20919 PyObject
* obj2
= 0 ;
20920 PyObject
* obj3
= 0 ;
20921 PyObject
* obj4
= 0 ;
20922 PyObject
* obj5
= 0 ;
20923 PyObject
* obj6
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 arg2
= (int) SWIG_AsInt(obj1
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20938 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20944 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20948 arg5
= (long) SWIG_AsLong(obj4
);
20949 if (PyErr_Occurred()) SWIG_fail
;
20952 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20955 if (arg6
== NULL
) {
20956 PyErr_SetString(PyExc_TypeError
,"null reference");
20962 arg7
= wxString_in_helper(obj6
);
20963 if (arg7
== NULL
) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20989 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxPyListCtrl
*result
;
20992 char *kwnames
[] = {
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21011 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21014 wxWindow
*arg2
= (wxWindow
*) 0 ;
21015 int arg3
= (int) -1 ;
21016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21020 long arg6
= (long) wxLC_ICON
;
21021 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21022 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21023 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21024 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21028 bool temp8
= False
;
21029 PyObject
* obj0
= 0 ;
21030 PyObject
* obj1
= 0 ;
21031 PyObject
* obj2
= 0 ;
21032 PyObject
* obj3
= 0 ;
21033 PyObject
* obj4
= 0 ;
21034 PyObject
* obj5
= 0 ;
21035 PyObject
* obj6
= 0 ;
21036 PyObject
* obj7
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 arg3
= (int) SWIG_AsInt(obj2
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21053 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21059 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21063 arg6
= (long) SWIG_AsLong(obj5
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21067 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21070 if (arg7
== NULL
) {
21071 PyErr_SetString(PyExc_TypeError
,"null reference");
21077 arg8
= wxString_in_helper(obj7
);
21078 if (arg8
== NULL
) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21106 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21109 PyObject
*arg2
= (PyObject
*) 0 ;
21110 PyObject
*arg3
= (PyObject
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 PyObject
* obj2
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self",(char *) "self",(char *) "_class", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 Py_INCREF(Py_None
); resultobj
= Py_None
;
21137 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21140 wxColour
*arg2
= 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "col", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21172 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21175 wxColour
*arg2
= 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "col", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21207 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21209 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21211 wxListItem
*result
;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self",(char *) "col", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 arg2
= (int) SWIG_AsInt(obj1
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21225 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21231 resultobj
= wxPyMake_wxObject(result
);
21239 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21243 wxListItem
*arg3
= 0 ;
21245 PyObject
* obj0
= 0 ;
21246 PyObject
* obj1
= 0 ;
21247 PyObject
* obj2
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self",(char *) "col",(char *) "item", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 arg2
= (int) SWIG_AsInt(obj1
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21257 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21260 if (arg3
== NULL
) {
21261 PyErr_SetString(PyExc_TypeError
,"null reference");
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21280 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "col", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 arg2
= (int) SWIG_AsInt(obj1
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_FromInt((int)result
);
21310 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 PyObject
* obj2
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "col",(char *) "width", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 arg2
= (int) SWIG_AsInt(obj1
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21328 arg3
= (int) SWIG_AsInt(obj2
);
21329 if (PyErr_Occurred()) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21346 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21350 PyObject
* obj0
= 0 ;
21351 char *kwnames
[] = {
21352 (char *) "self", NULL
21355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_FromInt((int)result
);
21372 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21388 wxPyEndAllowThreads(__tstate
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 wxRect
* resultptr
;
21393 resultptr
= new wxRect((wxRect
&) result
);
21394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21402 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21406 int arg3
= (int) 0 ;
21407 wxListItem
*result
;
21408 PyObject
* obj0
= 0 ;
21409 PyObject
* obj1
= 0 ;
21410 PyObject
* obj2
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "self",(char *) "itemId",(char *) "col", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21418 arg2
= (long) SWIG_AsLong(obj1
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 arg3
= (int) SWIG_AsInt(obj2
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= wxPyMake_wxObject(result
);
21440 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21443 wxListItem
*arg2
= 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "info", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21457 if (arg2
== NULL
) {
21458 PyErr_SetString(PyExc_TypeError
,"null reference");
21462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21463 result
= (bool)(arg1
)->SetItem(*arg2
);
21465 wxPyEndAllowThreads(__tstate
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21477 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21482 wxString
*arg4
= 0 ;
21483 int arg5
= (int) -1 ;
21485 bool temp4
= False
;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 PyObject
* obj2
= 0 ;
21489 PyObject
* obj3
= 0 ;
21490 PyObject
* obj4
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 arg2
= (long) SWIG_AsLong(obj1
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21500 arg3
= (int) SWIG_AsInt(obj2
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 arg4
= wxString_in_helper(obj3
);
21504 if (arg4
== NULL
) SWIG_fail
;
21508 arg5
= (int) SWIG_AsInt(obj4
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= SWIG_FromLong((long)result
);
21533 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 PyObject
* obj2
= 0 ;
21542 char *kwnames
[] = {
21543 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 arg2
= (long) SWIG_AsLong(obj1
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21551 arg3
= (long) SWIG_AsLong(obj2
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= SWIG_FromInt((int)result
);
21567 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 PyObject
* obj2
= 0 ;
21577 PyObject
* obj3
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 arg2
= (long) SWIG_AsLong(obj1
);
21586 if (PyErr_Occurred()) SWIG_fail
;
21587 arg3
= (long) SWIG_AsLong(obj2
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21589 arg4
= (long) SWIG_AsLong(obj3
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21607 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 PyObject
* obj2
= 0 ;
21617 PyObject
* obj3
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (long) SWIG_AsLong(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21627 arg3
= (int) SWIG_AsInt(obj2
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21629 arg4
= (int) SWIG_AsInt(obj3
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21647 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 PyObject
* obj1
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self",(char *) "item", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg2
= (long) SWIG_AsLong(obj1
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21665 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21683 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21684 PyObject
*resultobj
;
21685 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21687 wxString
*arg3
= 0 ;
21688 bool temp3
= False
;
21689 PyObject
* obj0
= 0 ;
21690 PyObject
* obj1
= 0 ;
21691 PyObject
* obj2
= 0 ;
21692 char *kwnames
[] = {
21693 (char *) "self",(char *) "item",(char *) "str", NULL
21696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21699 arg2
= (long) SWIG_AsLong(obj1
);
21700 if (PyErr_Occurred()) SWIG_fail
;
21702 arg3
= wxString_in_helper(obj2
);
21703 if (arg3
== NULL
) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 Py_INCREF(Py_None
); resultobj
= Py_None
;
21728 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "item", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21742 arg2
= (long) SWIG_AsLong(obj1
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21748 wxPyEndAllowThreads(__tstate
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 resultobj
= SWIG_FromLong((long)result
);
21758 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21759 PyObject
*resultobj
;
21760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 PyObject
* obj2
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self",(char *) "item",(char *) "data", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21774 arg2
= (long) SWIG_AsLong(obj1
);
21775 if (PyErr_Occurred()) SWIG_fail
;
21776 arg3
= (long) SWIG_AsLong(obj2
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21794 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "item", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 arg2
= (long) SWIG_AsLong(obj1
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 wxPoint
* resultptr
;
21819 resultptr
= new wxPoint((wxPoint
&) result
);
21820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21828 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21832 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 PyObject
* obj2
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self",(char *) "item",(char *) "code", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21844 arg2
= (long) SWIG_AsLong(obj1
);
21845 if (PyErr_Occurred()) SWIG_fail
;
21847 arg3
= (int) SWIG_AsInt(obj2
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21858 wxRect
* resultptr
;
21859 resultptr
= new wxRect((wxRect
&) result
);
21860 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21868 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21872 wxPoint
*arg3
= 0 ;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 PyObject
* obj2
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "item",(char *) "pos", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 arg2
= (long) SWIG_AsLong(obj1
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21907 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21908 PyObject
*resultobj
;
21909 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21911 PyObject
* obj0
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= SWIG_FromInt((int)result
);
21933 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_FromInt((int)result
);
21959 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21963 PyObject
* obj0
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 wxSize
* resultptr
;
21980 resultptr
= new wxSize((wxSize
&) result
);
21981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21989 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21990 PyObject
*resultobj
;
21991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21993 bool arg3
= (bool) False
;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 arg2
= (int) SWIG_AsInt(obj1
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22007 arg3
= (bool) SWIG_AsBool(obj2
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 (arg1
)->SetItemSpacing(arg2
,arg3
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22017 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 resultobj
= SWIG_FromInt((int)result
);
22050 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 wxColour
* resultptr
;
22071 resultptr
= new wxColour((wxColour
&) result
);
22072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22080 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22083 wxColour
*arg2
= 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "col", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22096 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22100 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22105 Py_INCREF(Py_None
); resultobj
= Py_None
;
22112 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22113 PyObject
*resultobj
;
22114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22116 PyObject
* obj0
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_FromLong((long)result
);
22138 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22142 bool arg3
= (bool) True
;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 PyObject
* obj2
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "style",(char *) "add", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 arg2
= (long) SWIG_AsLong(obj1
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 arg3
= (bool) SWIG_AsBool(obj2
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 (arg1
)->SetSingleStyle(arg2
,arg3
);
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22166 Py_INCREF(Py_None
); resultobj
= Py_None
;
22173 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22174 PyObject
*resultobj
;
22175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "style", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 arg2
= (long) SWIG_AsLong(obj1
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->SetWindowStyleFlag(arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 Py_INCREF(Py_None
); resultobj
= Py_None
;
22202 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22206 int arg3
= (int) wxLIST_NEXT_ALL
;
22207 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22209 PyObject
* obj0
= 0 ;
22210 PyObject
* obj1
= 0 ;
22211 PyObject
* obj2
= 0 ;
22212 PyObject
* obj3
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 arg2
= (long) SWIG_AsLong(obj1
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 arg3
= (int) SWIG_AsInt(obj2
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 arg4
= (int) SWIG_AsInt(obj3
);
22228 if (PyErr_Occurred()) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22237 resultobj
= SWIG_FromLong((long)result
);
22244 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22245 PyObject
*resultobj
;
22246 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22248 wxImageList
*result
;
22249 PyObject
* obj0
= 0 ;
22250 PyObject
* obj1
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self",(char *) "which", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22258 arg2
= (int) SWIG_AsInt(obj1
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22264 wxPyEndAllowThreads(__tstate
);
22265 if (PyErr_Occurred()) SWIG_fail
;
22268 resultobj
= wxPyMake_wxObject(result
);
22276 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22279 wxImageList
*arg2
= (wxImageList
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "imageList",(char *) "which", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22293 arg3
= (int) SWIG_AsInt(obj2
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 (arg1
)->SetImageList(arg2
,arg3
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 Py_INCREF(Py_None
); resultobj
= Py_None
;
22309 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22312 wxImageList
*arg2
= (wxImageList
*) 0 ;
22314 PyObject
* obj0
= 0 ;
22315 PyObject
* obj1
= 0 ;
22316 PyObject
* obj2
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self",(char *) "imageList",(char *) "which", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22325 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22326 arg3
= (int) SWIG_AsInt(obj2
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 (arg1
)->AssignImageList(arg2
,arg3
);
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22335 Py_INCREF(Py_None
); resultobj
= Py_None
;
22342 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22343 PyObject
*resultobj
;
22344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 char *kwnames
[] = {
22348 (char *) "self", NULL
22351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22370 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22386 wxPyEndAllowThreads(__tstate
);
22387 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22398 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "item", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 arg2
= (long) SWIG_AsLong(obj1
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->RefreshItem(arg2
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 PyObject
* obj2
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 arg2
= (long) SWIG_AsLong(obj1
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22444 arg3
= (long) SWIG_AsLong(obj2
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 (arg1
)->RefreshItems(arg2
,arg3
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 Py_INCREF(Py_None
); resultobj
= Py_None
;
22460 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22463 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "flag", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 arg2
= (int) SWIG_AsInt(obj1
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22480 result
= (bool)(arg1
)->Arrange(arg2
);
22482 wxPyEndAllowThreads(__tstate
);
22483 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22494 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "item", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 arg2
= (long) SWIG_AsLong(obj1
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 result
= (bool)(arg1
)->DeleteItem(arg2
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22526 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22527 PyObject
*resultobj
;
22528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22530 PyObject
* obj0
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (bool)(arg1
)->DeleteAllItems();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22554 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "col", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 arg2
= (int) SWIG_AsInt(obj1
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22586 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22590 PyObject
* obj0
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (bool)(arg1
)->DeleteAllColumns();
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22614 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22627 (arg1
)->ClearAll();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "item", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22652 arg2
= (long) SWIG_AsLong(obj1
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->EditLabel(arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 PyObject
* obj1
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self",(char *) "item", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 arg2
= (long) SWIG_AsLong(obj1
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22700 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22704 wxString
*arg3
= 0 ;
22705 bool arg4
= (bool) False
;
22707 bool temp3
= False
;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 PyObject
* obj2
= 0 ;
22711 PyObject
* obj3
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 arg2
= (long) SWIG_AsLong(obj1
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 arg3
= wxString_in_helper(obj2
);
22723 if (arg3
== NULL
) SWIG_fail
;
22727 arg4
= (bool) SWIG_AsBool(obj3
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22734 wxPyEndAllowThreads(__tstate
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 resultobj
= SWIG_FromLong((long)result
);
22752 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22758 PyObject
* obj0
= 0 ;
22759 PyObject
* obj1
= 0 ;
22760 PyObject
* obj2
= 0 ;
22761 char *kwnames
[] = {
22762 (char *) "self",(char *) "start",(char *) "data", NULL
22765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22768 arg2
= (long) SWIG_AsLong(obj1
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22770 arg3
= (long) SWIG_AsLong(obj2
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= SWIG_FromLong((long)result
);
22786 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22790 wxPoint
*arg3
= 0 ;
22794 PyObject
* obj0
= 0 ;
22795 PyObject
* obj1
= 0 ;
22796 PyObject
* obj2
= 0 ;
22797 PyObject
* obj3
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22805 arg2
= (long) SWIG_AsLong(obj1
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22809 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22811 arg4
= (int) SWIG_AsInt(obj3
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22817 wxPyEndAllowThreads(__tstate
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 resultobj
= SWIG_FromLong((long)result
);
22827 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22828 PyObject
*resultobj
;
22829 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22830 wxPoint
*arg2
= 0 ;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self",(char *) "point", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_FromLong((long)result
);
22858 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22859 resultobj
= t_output_helper(resultobj
,o
);
22867 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22868 PyObject
*resultobj
;
22869 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22870 wxListItem
*arg2
= 0 ;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self",(char *) "info", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22884 if (arg2
== NULL
) {
22885 PyErr_SetString(PyExc_TypeError
,"null reference");
22889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22890 result
= (long)(arg1
)->InsertItem(*arg2
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= SWIG_FromLong((long)result
);
22902 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22904 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22906 wxString
*arg3
= 0 ;
22908 bool temp3
= False
;
22909 PyObject
* obj0
= 0 ;
22910 PyObject
* obj1
= 0 ;
22911 PyObject
* obj2
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self",(char *) "index",(char *) "label", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 arg2
= (long) SWIG_AsLong(obj1
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 arg3
= wxString_in_helper(obj2
);
22923 if (arg3
== NULL
) SWIG_fail
;
22927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22930 wxPyEndAllowThreads(__tstate
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 resultobj
= SWIG_FromLong((long)result
);
22948 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 char *kwnames
[] = {
22958 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 arg2
= (long) SWIG_AsLong(obj1
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22966 arg3
= (int) SWIG_AsInt(obj2
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_FromLong((long)result
);
22982 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22986 wxString
*arg3
= 0 ;
22989 bool temp3
= False
;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 PyObject
* obj3
= 0 ;
22994 char *kwnames
[] = {
22995 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23001 arg2
= (long) SWIG_AsLong(obj1
);
23002 if (PyErr_Occurred()) SWIG_fail
;
23004 arg3
= wxString_in_helper(obj2
);
23005 if (arg3
== NULL
) SWIG_fail
;
23008 arg4
= (int) SWIG_AsInt(obj3
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23014 wxPyEndAllowThreads(__tstate
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 resultobj
= SWIG_FromLong((long)result
);
23032 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23036 wxListItem
*arg3
= 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 PyObject
* obj2
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self",(char *) "col",(char *) "info", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 arg2
= (long) SWIG_AsLong(obj1
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23053 if (arg3
== NULL
) {
23054 PyErr_SetString(PyExc_TypeError
,"null reference");
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 resultobj
= SWIG_FromLong((long)result
);
23071 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23075 wxString
*arg3
= 0 ;
23076 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23077 int arg5
= (int) -1 ;
23079 bool temp3
= False
;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 PyObject
* obj2
= 0 ;
23083 PyObject
* obj3
= 0 ;
23084 PyObject
* obj4
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 arg2
= (long) SWIG_AsLong(obj1
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 arg3
= wxString_in_helper(obj2
);
23096 if (arg3
== NULL
) SWIG_fail
;
23100 arg4
= (int) SWIG_AsInt(obj3
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23104 arg5
= (int) SWIG_AsInt(obj4
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23109 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_FromLong((long)result
);
23129 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "count", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 arg2
= (long) SWIG_AsLong(obj1
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 (arg1
)->SetItemCount(arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23151 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj1
= 0 ;
23166 PyObject
* obj2
= 0 ;
23167 char *kwnames
[] = {
23168 (char *) "self",(char *) "dx",(char *) "dy", NULL
23171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 arg2
= (int) SWIG_AsInt(obj1
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23176 arg3
= (int) SWIG_AsInt(obj2
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23182 wxPyEndAllowThreads(__tstate
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23194 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23198 wxColour
*arg3
= 0 ;
23200 PyObject
* obj0
= 0 ;
23201 PyObject
* obj1
= 0 ;
23202 PyObject
* obj2
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self",(char *) "item",(char *) "col", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 arg2
= (long) SWIG_AsLong(obj1
);
23211 if (PyErr_Occurred()) SWIG_fail
;
23214 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23218 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 Py_INCREF(Py_None
); resultobj
= Py_None
;
23230 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "item", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 arg2
= (long) SWIG_AsLong(obj1
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23248 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23254 wxColour
* resultptr
;
23255 resultptr
= new wxColour((wxColour
&) result
);
23256 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23264 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23268 wxColour
*arg3
= 0 ;
23270 PyObject
* obj0
= 0 ;
23271 PyObject
* obj1
= 0 ;
23272 PyObject
* obj2
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "item",(char *) "col", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 arg2
= (long) SWIG_AsLong(obj1
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23290 wxPyEndAllowThreads(__tstate
);
23291 if (PyErr_Occurred()) SWIG_fail
;
23293 Py_INCREF(Py_None
); resultobj
= Py_None
;
23300 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "item", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 arg2
= (long) SWIG_AsLong(obj1
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 wxColour
* resultptr
;
23325 resultptr
= new wxColour((wxColour
&) result
);
23326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23334 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23337 PyObject
*arg2
= (PyObject
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "func", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23365 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23366 PyObject
*resultobj
;
23367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23385 resultobj
= wxPyMake_wxObject(result
);
23393 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23396 wxVisualAttributes result
;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "variant", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23404 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 wxVisualAttributes
* resultptr
;
23416 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23425 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23428 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23430 return Py_BuildValue((char *)"");
23432 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23433 PyObject
*resultobj
;
23434 wxWindow
*arg1
= (wxWindow
*) 0 ;
23435 int arg2
= (int) -1 ;
23436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23440 long arg5
= (long) wxLC_REPORT
;
23441 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23442 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23443 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23445 wxListView
*result
;
23448 bool temp7
= False
;
23449 PyObject
* obj0
= 0 ;
23450 PyObject
* obj1
= 0 ;
23451 PyObject
* obj2
= 0 ;
23452 PyObject
* obj3
= 0 ;
23453 PyObject
* obj4
= 0 ;
23454 PyObject
* obj5
= 0 ;
23455 PyObject
* obj6
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23464 arg2
= (int) SWIG_AsInt(obj1
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23470 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23476 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23480 arg5
= (long) SWIG_AsLong(obj4
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23487 if (arg6
== NULL
) {
23488 PyErr_SetString(PyExc_TypeError
,"null reference");
23494 arg7
= wxString_in_helper(obj6
);
23495 if (arg7
== NULL
) SWIG_fail
;
23500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23501 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23503 wxPyEndAllowThreads(__tstate
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23521 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxListView
*result
;
23524 char *kwnames
[] = {
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxListView
*)new wxListView();
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23543 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxListView
*arg1
= (wxListView
*) 0 ;
23546 wxWindow
*arg2
= (wxWindow
*) 0 ;
23547 int arg3
= (int) -1 ;
23548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23552 long arg6
= (long) wxLC_REPORT
;
23553 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23554 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23555 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23556 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23560 bool temp8
= False
;
23561 PyObject
* obj0
= 0 ;
23562 PyObject
* obj1
= 0 ;
23563 PyObject
* obj2
= 0 ;
23564 PyObject
* obj3
= 0 ;
23565 PyObject
* obj4
= 0 ;
23566 PyObject
* obj5
= 0 ;
23567 PyObject
* obj6
= 0 ;
23568 PyObject
* obj7
= 0 ;
23569 char *kwnames
[] = {
23570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 arg3
= (int) SWIG_AsInt(obj2
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23585 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23591 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23595 arg6
= (long) SWIG_AsLong(obj5
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23602 if (arg7
== NULL
) {
23603 PyErr_SetString(PyExc_TypeError
,"null reference");
23609 arg8
= wxString_in_helper(obj7
);
23610 if (arg8
== NULL
) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23638 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23639 PyObject
*resultobj
;
23640 wxListView
*arg1
= (wxListView
*) 0 ;
23642 bool arg3
= (bool) True
;
23643 PyObject
* obj0
= 0 ;
23644 PyObject
* obj1
= 0 ;
23645 PyObject
* obj2
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "n",(char *) "on", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23653 arg2
= (long) SWIG_AsLong(obj1
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 arg3
= (bool) SWIG_AsBool(obj2
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 (arg1
)->Select(arg2
,arg3
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 Py_INCREF(Py_None
); resultobj
= Py_None
;
23673 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxListView
*arg1
= (wxListView
*) 0 ;
23677 PyObject
* obj0
= 0 ;
23678 PyObject
* obj1
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "index", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23686 arg2
= (long) SWIG_AsLong(obj1
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->Focus(arg2
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxListView
*arg1
= (wxListView
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "self", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= SWIG_FromLong((long)result
);
23728 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxListView
*arg1
= (wxListView
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self",(char *) "item", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23742 arg2
= (long) SWIG_AsLong(obj1
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 resultobj
= SWIG_FromLong((long)result
);
23758 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxListView
*arg1
= (wxListView
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_FromLong((long)result
);
23784 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxListView
*arg1
= (wxListView
*) 0 ;
23789 PyObject
* obj0
= 0 ;
23790 PyObject
* obj1
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "index", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 arg2
= (long) SWIG_AsLong(obj1
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (bool)(arg1
)->IsSelected(arg2
);
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23816 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxListView
*arg1
= (wxListView
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 PyObject
* obj1
= 0 ;
23823 PyObject
* obj2
= 0 ;
23824 char *kwnames
[] = {
23825 (char *) "self",(char *) "col",(char *) "image", NULL
23828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 arg2
= (int) SWIG_AsInt(obj1
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23833 arg3
= (int) SWIG_AsInt(obj2
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 (arg1
)->SetColumnImage(arg2
,arg3
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23842 Py_INCREF(Py_None
); resultobj
= Py_None
;
23849 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23850 PyObject
*resultobj
;
23851 wxListView
*arg1
= (wxListView
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self",(char *) "col", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23862 arg2
= (int) SWIG_AsInt(obj1
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 (arg1
)->ClearColumnImage(arg2
);
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23871 Py_INCREF(Py_None
); resultobj
= Py_None
;
23878 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23881 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23883 return Py_BuildValue((char *)"");
23885 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23886 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23891 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23896 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23898 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23905 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxTreeItemId
*result
;
23908 char *kwnames
[] = {
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 result
= (wxTreeItemId
*)new wxTreeItemId();
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23927 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23928 PyObject
*resultobj
;
23929 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23930 PyObject
* obj0
= 0 ;
23931 char *kwnames
[] = {
23932 (char *) "self", NULL
23935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23956 PyObject
* obj0
= 0 ;
23957 char *kwnames
[] = {
23958 (char *) "self", NULL
23961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23966 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23980 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23983 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 PyObject
* obj1
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self",(char *) "other", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24012 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24015 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self",(char *) "other", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24030 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24044 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24047 void *arg2
= (void *) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 PyObject
* obj1
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self",(char *) "m_pItem", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24058 if (arg1
) (arg1
)->m_pItem
= arg2
;
24060 Py_INCREF(Py_None
); resultobj
= Py_None
;
24067 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 result
= (void *) ((arg1
)->m_pItem
);
24081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24088 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24091 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24093 return Py_BuildValue((char *)"");
24095 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 PyObject
*arg1
= (PyObject
*) NULL
;
24098 wxPyTreeItemData
*result
;
24099 PyObject
* obj0
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "obj", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24122 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24126 PyObject
* obj0
= 0 ;
24127 char *kwnames
[] = {
24128 (char *) "self", NULL
24131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24136 result
= (PyObject
*)(arg1
)->GetData();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= result
;
24148 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24149 PyObject
*resultobj
;
24150 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24151 PyObject
*arg2
= (PyObject
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 PyObject
* obj1
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self",(char *) "obj", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 (arg1
)->SetData(arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 Py_INCREF(Py_None
); resultobj
= Py_None
;
24176 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24179 wxTreeItemId
*result
;
24180 PyObject
* obj0
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24192 result
= (wxTreeItemId
*) &_result_ref
;
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24205 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24208 wxTreeItemId
*arg2
= 0 ;
24209 PyObject
* obj0
= 0 ;
24210 PyObject
* obj1
= 0 ;
24211 char *kwnames
[] = {
24212 (char *) "self",(char *) "id", NULL
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24221 if (arg2
== NULL
) {
24222 PyErr_SetString(PyExc_TypeError
,"null reference");
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 Py_INCREF(Py_None
); resultobj
= Py_None
;
24239 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 wxPyTreeItemData_Destroy(arg1
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 Py_INCREF(Py_None
); resultobj
= Py_None
;
24264 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24267 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24269 return Py_BuildValue((char *)"");
24271 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
;
24273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24274 int arg2
= (int) 0 ;
24275 wxTreeEvent
*result
;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "commandType",(char *) "id", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24284 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24285 if (PyErr_Occurred()) SWIG_fail
;
24288 arg2
= (int) SWIG_AsInt(obj1
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24305 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
;
24307 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24308 wxTreeItemId result
;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 wxTreeItemId
* resultptr
;
24326 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24335 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24336 PyObject
*resultobj
;
24337 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24338 wxTreeItemId
*arg2
= 0 ;
24339 PyObject
* obj0
= 0 ;
24340 PyObject
* obj1
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self",(char *) "item", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24351 if (arg2
== NULL
) {
24352 PyErr_SetString(PyExc_TypeError
,"null reference");
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24357 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 Py_INCREF(Py_None
); resultobj
= Py_None
;
24369 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
;
24371 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24372 wxTreeItemId result
;
24373 PyObject
* obj0
= 0 ;
24374 char *kwnames
[] = {
24375 (char *) "self", NULL
24378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 wxTreeItemId
* resultptr
;
24390 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24399 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24400 PyObject
*resultobj
;
24401 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24402 wxTreeItemId
*arg2
= 0 ;
24403 PyObject
* obj0
= 0 ;
24404 PyObject
* obj1
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self",(char *) "item", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24415 if (arg2
== NULL
) {
24416 PyErr_SetString(PyExc_TypeError
,"null reference");
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24423 wxPyEndAllowThreads(__tstate
);
24424 if (PyErr_Occurred()) SWIG_fail
;
24426 Py_INCREF(Py_None
); resultobj
= Py_None
;
24433 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24437 PyObject
* obj0
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "self", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 wxPoint
* resultptr
;
24454 resultptr
= new wxPoint((wxPoint
&) result
);
24455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24463 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24464 PyObject
*resultobj
;
24465 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24466 wxPoint
*arg2
= 0 ;
24468 PyObject
* obj0
= 0 ;
24469 PyObject
* obj1
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self",(char *) "pt", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 Py_INCREF(Py_None
); resultobj
= Py_None
;
24495 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24498 wxKeyEvent
*result
;
24499 PyObject
* obj0
= 0 ;
24500 char *kwnames
[] = {
24501 (char *) "self", NULL
24504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24511 result
= (wxKeyEvent
*) &_result_ref
;
24514 wxPyEndAllowThreads(__tstate
);
24515 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24524 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24525 PyObject
*resultobj
;
24526 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= SWIG_FromInt((int)result
);
24550 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24553 wxKeyEvent
*arg2
= 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "evt", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24566 if (arg2
== NULL
) {
24567 PyErr_SetString(PyExc_TypeError
,"null reference");
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 Py_INCREF(Py_None
); resultobj
= Py_None
;
24584 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24600 result
= (wxString
*) &_result_ref
;
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24610 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24619 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24620 PyObject
*resultobj
;
24621 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24622 wxString
*arg2
= 0 ;
24623 bool temp2
= False
;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "label", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24634 arg2
= wxString_in_helper(obj1
);
24635 if (arg2
== NULL
) SWIG_fail
;
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 (arg1
)->SetLabel((wxString
const &)*arg2
);
24642 wxPyEndAllowThreads(__tstate
);
24643 if (PyErr_Occurred()) SWIG_fail
;
24645 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24692 PyObject
* obj0
= 0 ;
24693 PyObject
* obj1
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self",(char *) "editCancelled", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24701 arg2
= (bool) SWIG_AsBool(obj1
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->SetEditCanceled(arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 Py_INCREF(Py_None
); resultobj
= Py_None
;
24717 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24720 wxString
*arg2
= 0 ;
24721 bool temp2
= False
;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "self",(char *) "toolTip", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24732 arg2
= wxString_in_helper(obj1
);
24733 if (arg2
== NULL
) SWIG_fail
;
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24743 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24761 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24763 return Py_BuildValue((char *)"");
24765 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24766 PyObject
*resultobj
;
24767 wxWindow
*arg1
= (wxWindow
*) 0 ;
24768 int arg2
= (int) -1 ;
24769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24773 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24774 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24775 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24776 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24777 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24778 wxPyTreeCtrl
*result
;
24781 bool temp7
= False
;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 PyObject
* obj2
= 0 ;
24785 PyObject
* obj3
= 0 ;
24786 PyObject
* obj4
= 0 ;
24787 PyObject
* obj5
= 0 ;
24788 PyObject
* obj6
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24797 arg2
= (int) SWIG_AsInt(obj1
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24803 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24809 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24813 arg5
= (long) SWIG_AsLong(obj4
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24817 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24820 if (arg6
== NULL
) {
24821 PyErr_SetString(PyExc_TypeError
,"null reference");
24827 arg7
= wxString_in_helper(obj6
);
24828 if (arg7
== NULL
) SWIG_fail
;
24833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24834 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24836 wxPyEndAllowThreads(__tstate
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24840 resultobj
= wxPyMake_wxObject(result
);
24856 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24857 PyObject
*resultobj
;
24858 wxPyTreeCtrl
*result
;
24859 char *kwnames
[] = {
24863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= wxPyMake_wxObject(result
);
24880 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24881 PyObject
*resultobj
;
24882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24883 wxWindow
*arg2
= (wxWindow
*) 0 ;
24884 int arg3
= (int) -1 ;
24885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24889 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24890 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24891 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24892 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24893 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24897 bool temp8
= False
;
24898 PyObject
* obj0
= 0 ;
24899 PyObject
* obj1
= 0 ;
24900 PyObject
* obj2
= 0 ;
24901 PyObject
* obj3
= 0 ;
24902 PyObject
* obj4
= 0 ;
24903 PyObject
* obj5
= 0 ;
24904 PyObject
* obj6
= 0 ;
24905 PyObject
* obj7
= 0 ;
24906 char *kwnames
[] = {
24907 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 arg3
= (int) SWIG_AsInt(obj2
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24932 arg6
= (long) SWIG_AsLong(obj5
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24939 if (arg7
== NULL
) {
24940 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 arg8
= wxString_in_helper(obj7
);
24947 if (arg8
== NULL
) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24975 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24978 PyObject
*arg2
= (PyObject
*) 0 ;
24979 PyObject
*arg3
= (PyObject
*) 0 ;
24980 PyObject
* obj0
= 0 ;
24981 PyObject
* obj1
= 0 ;
24982 PyObject
* obj2
= 0 ;
24983 char *kwnames
[] = {
24984 (char *) "self",(char *) "self",(char *) "_class", NULL
24987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25032 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25035 unsigned int result
;
25036 PyObject
* obj0
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25058 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25061 unsigned int arg2
;
25062 PyObject
* obj0
= 0 ;
25063 PyObject
* obj1
= 0 ;
25064 char *kwnames
[] = {
25065 (char *) "self",(char *) "indent", NULL
25068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25071 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetIndent(arg2
);
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 Py_INCREF(Py_None
); resultobj
= Py_None
;
25087 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25090 unsigned int result
;
25091 PyObject
* obj0
= 0 ;
25092 char *kwnames
[] = {
25093 (char *) "self", NULL
25096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25106 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25113 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25114 PyObject
*resultobj
;
25115 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25116 unsigned int arg2
;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self",(char *) "spacing", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25126 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 (arg1
)->SetSpacing(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 Py_INCREF(Py_None
); resultobj
= Py_None
;
25142 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25145 wxImageList
*result
;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25162 resultobj
= wxPyMake_wxObject(result
);
25170 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25171 PyObject
*resultobj
;
25172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25173 wxImageList
*result
;
25174 PyObject
* obj0
= 0 ;
25175 char *kwnames
[] = {
25176 (char *) "self", NULL
25179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25190 resultobj
= wxPyMake_wxObject(result
);
25198 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
;
25200 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25201 wxImageList
*arg2
= (wxImageList
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 PyObject
* obj1
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "imageList", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->SetImageList(arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25230 wxImageList
*arg2
= (wxImageList
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "imageList", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->SetStateImageList(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25259 wxImageList
*arg2
= (wxImageList
*) 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "imageList", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25270 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 (arg1
)->AssignImageList(arg2
);
25275 wxPyEndAllowThreads(__tstate
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25278 Py_INCREF(Py_None
); resultobj
= Py_None
;
25285 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 wxImageList
*arg2
= (wxImageList
*) 0 ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj1
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "imageList", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25299 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->AssignStateImageList(arg2
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 wxTreeItemId
*arg2
= 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "self",(char *) "item", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25331 if (arg2
== NULL
) {
25332 PyErr_SetString(PyExc_TypeError
,"null reference");
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25355 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
;
25357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25358 wxTreeItemId
*arg2
= 0 ;
25359 int arg3
= (int) wxTreeItemIcon_Normal
;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 PyObject
* obj2
= 0 ;
25364 char *kwnames
[] = {
25365 (char *) "self",(char *) "item",(char *) "which", NULL
25368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25374 if (arg2
== NULL
) {
25375 PyErr_SetString(PyExc_TypeError
,"null reference");
25379 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25389 resultobj
= SWIG_FromInt((int)result
);
25396 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25397 PyObject
*resultobj
;
25398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25399 wxTreeItemId
*arg2
= 0 ;
25400 wxPyTreeItemData
*result
;
25401 PyObject
* obj0
= 0 ;
25402 PyObject
* obj1
= 0 ;
25403 char *kwnames
[] = {
25404 (char *) "self",(char *) "item", NULL
25407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25413 if (arg2
== NULL
) {
25414 PyErr_SetString(PyExc_TypeError
,"null reference");
25418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25419 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25431 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25432 PyObject
*resultobj
;
25433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25434 wxTreeItemId
*arg2
= 0 ;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 char *kwnames
[] = {
25439 (char *) "self",(char *) "item", NULL
25442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25448 if (arg2
== NULL
) {
25449 PyErr_SetString(PyExc_TypeError
,"null reference");
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 resultobj
= result
;
25466 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25469 wxTreeItemId
*arg2
= 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self",(char *) "item", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25483 if (arg2
== NULL
) {
25484 PyErr_SetString(PyExc_TypeError
,"null reference");
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25495 wxColour
* resultptr
;
25496 resultptr
= new wxColour((wxColour
&) result
);
25497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25505 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25508 wxTreeItemId
*arg2
= 0 ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "item", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25522 if (arg2
== NULL
) {
25523 PyErr_SetString(PyExc_TypeError
,"null reference");
25527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25528 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25530 wxPyEndAllowThreads(__tstate
);
25531 if (PyErr_Occurred()) SWIG_fail
;
25534 wxColour
* resultptr
;
25535 resultptr
= new wxColour((wxColour
&) result
);
25536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25544 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25547 wxTreeItemId
*arg2
= 0 ;
25549 PyObject
* obj0
= 0 ;
25550 PyObject
* obj1
= 0 ;
25551 char *kwnames
[] = {
25552 (char *) "self",(char *) "item", NULL
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25561 if (arg2
== NULL
) {
25562 PyErr_SetString(PyExc_TypeError
,"null reference");
25566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25567 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25569 wxPyEndAllowThreads(__tstate
);
25570 if (PyErr_Occurred()) SWIG_fail
;
25573 wxFont
* resultptr
;
25574 resultptr
= new wxFont((wxFont
&) result
);
25575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25583 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25586 wxTreeItemId
*arg2
= 0 ;
25587 wxString
*arg3
= 0 ;
25588 bool temp3
= False
;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 PyObject
* obj2
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self",(char *) "item",(char *) "text", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25602 if (arg2
== NULL
) {
25603 PyErr_SetString(PyExc_TypeError
,"null reference");
25607 arg3
= wxString_in_helper(obj2
);
25608 if (arg3
== NULL
) SWIG_fail
;
25612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25613 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25615 wxPyEndAllowThreads(__tstate
);
25616 if (PyErr_Occurred()) SWIG_fail
;
25618 Py_INCREF(Py_None
); resultobj
= Py_None
;
25633 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25636 wxTreeItemId
*arg2
= 0 ;
25638 int arg4
= (int) wxTreeItemIcon_Normal
;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 PyObject
* obj2
= 0 ;
25642 PyObject
* obj3
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25653 if (arg2
== NULL
) {
25654 PyErr_SetString(PyExc_TypeError
,"null reference");
25657 arg3
= (int) SWIG_AsInt(obj2
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25660 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25667 wxPyEndAllowThreads(__tstate
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 Py_INCREF(Py_None
); resultobj
= Py_None
;
25677 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
;
25679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25680 wxTreeItemId
*arg2
= 0 ;
25681 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 PyObject
* obj1
= 0 ;
25684 PyObject
* obj2
= 0 ;
25685 char *kwnames
[] = {
25686 (char *) "self",(char *) "item",(char *) "data", NULL
25689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25695 if (arg2
== NULL
) {
25696 PyErr_SetString(PyExc_TypeError
,"null reference");
25699 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25718 wxTreeItemId
*arg2
= 0 ;
25719 PyObject
*arg3
= (PyObject
*) 0 ;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 PyObject
* obj2
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self",(char *) "item",(char *) "obj", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25733 if (arg2
== NULL
) {
25734 PyErr_SetString(PyExc_TypeError
,"null reference");
25739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25740 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25742 wxPyEndAllowThreads(__tstate
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25755 wxTreeItemId
*arg2
= 0 ;
25756 bool arg3
= (bool) True
;
25757 PyObject
* obj0
= 0 ;
25758 PyObject
* obj1
= 0 ;
25759 PyObject
* obj2
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self",(char *) "item",(char *) "has", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25770 if (arg2
== NULL
) {
25771 PyErr_SetString(PyExc_TypeError
,"null reference");
25775 arg3
= (bool) SWIG_AsBool(obj2
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 Py_INCREF(Py_None
); resultobj
= Py_None
;
25792 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25793 PyObject
*resultobj
;
25794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25795 wxTreeItemId
*arg2
= 0 ;
25796 bool arg3
= (bool) True
;
25797 PyObject
* obj0
= 0 ;
25798 PyObject
* obj1
= 0 ;
25799 PyObject
* obj2
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "item",(char *) "bold", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25810 if (arg2
== NULL
) {
25811 PyErr_SetString(PyExc_TypeError
,"null reference");
25815 arg3
= (bool) SWIG_AsBool(obj2
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 Py_INCREF(Py_None
); resultobj
= Py_None
;
25832 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25835 wxTreeItemId
*arg2
= 0 ;
25836 wxColour
*arg3
= 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 PyObject
* obj2
= 0 ;
25841 char *kwnames
[] = {
25842 (char *) "self",(char *) "item",(char *) "col", NULL
25845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25851 if (arg2
== NULL
) {
25852 PyErr_SetString(PyExc_TypeError
,"null reference");
25857 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 Py_INCREF(Py_None
); resultobj
= Py_None
;
25873 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25876 wxTreeItemId
*arg2
= 0 ;
25877 wxColour
*arg3
= 0 ;
25879 PyObject
* obj0
= 0 ;
25880 PyObject
* obj1
= 0 ;
25881 PyObject
* obj2
= 0 ;
25882 char *kwnames
[] = {
25883 (char *) "self",(char *) "item",(char *) "col", NULL
25886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25892 if (arg2
== NULL
) {
25893 PyErr_SetString(PyExc_TypeError
,"null reference");
25898 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 Py_INCREF(Py_None
); resultobj
= Py_None
;
25914 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25917 wxTreeItemId
*arg2
= 0 ;
25919 PyObject
* obj0
= 0 ;
25920 PyObject
* obj1
= 0 ;
25921 PyObject
* obj2
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "item",(char *) "font", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25932 if (arg2
== NULL
) {
25933 PyErr_SetString(PyExc_TypeError
,"null reference");
25936 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25939 if (arg3
== NULL
) {
25940 PyErr_SetString(PyExc_TypeError
,"null reference");
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 Py_INCREF(Py_None
); resultobj
= Py_None
;
25957 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
;
25959 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25960 wxTreeItemId
*arg2
= 0 ;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self",(char *) "item", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25974 if (arg2
== NULL
) {
25975 PyErr_SetString(PyExc_TypeError
,"null reference");
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25994 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25997 wxTreeItemId
*arg2
= 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "item", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26011 if (arg2
== NULL
) {
26012 PyErr_SetString(PyExc_TypeError
,"null reference");
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26031 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26034 wxTreeItemId
*arg2
= 0 ;
26036 PyObject
* obj0
= 0 ;
26037 PyObject
* obj1
= 0 ;
26038 char *kwnames
[] = {
26039 (char *) "self",(char *) "item", NULL
26042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26048 if (arg2
== NULL
) {
26049 PyErr_SetString(PyExc_TypeError
,"null reference");
26053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26054 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26056 wxPyEndAllowThreads(__tstate
);
26057 if (PyErr_Occurred()) SWIG_fail
;
26060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26068 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26071 wxTreeItemId
*arg2
= 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "item", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26085 if (arg2
== NULL
) {
26086 PyErr_SetString(PyExc_TypeError
,"null reference");
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26105 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26108 wxTreeItemId
*arg2
= 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "item", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26122 if (arg2
== NULL
) {
26123 PyErr_SetString(PyExc_TypeError
,"null reference");
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26142 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26145 wxTreeItemId
*arg2
= 0 ;
26146 bool arg3
= (bool) True
;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "item",(char *) "recursively", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference");
26166 arg3
= (bool) SWIG_AsBool(obj2
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26183 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26186 wxTreeItemId result
;
26187 PyObject
* obj0
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26197 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 wxTreeItemId
* resultptr
;
26204 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26213 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26216 wxTreeItemId result
;
26217 PyObject
* obj0
= 0 ;
26218 char *kwnames
[] = {
26219 (char *) "self", NULL
26222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26233 wxTreeItemId
* resultptr
;
26234 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26243 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
;
26269 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26272 wxTreeItemId
*arg2
= 0 ;
26273 wxTreeItemId result
;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self",(char *) "item", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26286 if (arg2
== NULL
) {
26287 PyErr_SetString(PyExc_TypeError
,"null reference");
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 wxTreeItemId
* resultptr
;
26299 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26308 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26309 PyObject
*resultobj
;
26310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26311 wxTreeItemId
*arg2
= 0 ;
26313 PyObject
* obj0
= 0 ;
26314 PyObject
* obj1
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self",(char *) "item", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26325 if (arg2
== NULL
) {
26326 PyErr_SetString(PyExc_TypeError
,"null reference");
26330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26331 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= result
;
26343 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26344 PyObject
*resultobj
;
26345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26346 wxTreeItemId
*arg2
= 0 ;
26347 void *arg3
= (void *) 0 ;
26349 PyObject
* obj0
= 0 ;
26350 PyObject
* obj1
= 0 ;
26351 PyObject
* obj2
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "item",(char *) "cookie", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26362 if (arg2
== NULL
) {
26363 PyErr_SetString(PyExc_TypeError
,"null reference");
26366 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= result
;
26381 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26382 PyObject
*resultobj
;
26383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26384 wxTreeItemId
*arg2
= 0 ;
26385 wxTreeItemId result
;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char *kwnames
[] = {
26389 (char *) "self",(char *) "item", NULL
26392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26398 if (arg2
== NULL
) {
26399 PyErr_SetString(PyExc_TypeError
,"null reference");
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26410 wxTreeItemId
* resultptr
;
26411 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26420 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26423 wxTreeItemId
*arg2
= 0 ;
26424 wxTreeItemId result
;
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_GetNextSibling",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 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26449 wxTreeItemId
* resultptr
;
26450 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26459 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26460 PyObject
*resultobj
;
26461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26462 wxTreeItemId
*arg2
= 0 ;
26463 wxTreeItemId result
;
26464 PyObject
* obj0
= 0 ;
26465 PyObject
* obj1
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "item", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26473 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26476 if (arg2
== NULL
) {
26477 PyErr_SetString(PyExc_TypeError
,"null reference");
26481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26482 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26484 wxPyEndAllowThreads(__tstate
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26488 wxTreeItemId
* resultptr
;
26489 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26498 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26501 wxTreeItemId result
;
26502 PyObject
* obj0
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26518 wxTreeItemId
* resultptr
;
26519 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26528 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26531 wxTreeItemId
*arg2
= 0 ;
26532 wxTreeItemId result
;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "item", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26545 if (arg2
== NULL
) {
26546 PyErr_SetString(PyExc_TypeError
,"null reference");
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 wxTreeItemId
* resultptr
;
26558 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26567 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
;
26569 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26570 wxTreeItemId
*arg2
= 0 ;
26571 wxTreeItemId result
;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char *kwnames
[] = {
26575 (char *) "self",(char *) "item", NULL
26578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26584 if (arg2
== NULL
) {
26585 PyErr_SetString(PyExc_TypeError
,"null reference");
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26596 wxTreeItemId
* resultptr
;
26597 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26598 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26606 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26609 wxString
*arg2
= 0 ;
26610 int arg3
= (int) -1 ;
26611 int arg4
= (int) -1 ;
26612 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26613 wxTreeItemId result
;
26614 bool temp2
= False
;
26615 PyObject
* obj0
= 0 ;
26616 PyObject
* obj1
= 0 ;
26617 PyObject
* obj2
= 0 ;
26618 PyObject
* obj3
= 0 ;
26619 PyObject
* obj4
= 0 ;
26620 char *kwnames
[] = {
26621 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26628 arg2
= wxString_in_helper(obj1
);
26629 if (arg2
== NULL
) SWIG_fail
;
26633 arg3
= (int) SWIG_AsInt(obj2
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26637 arg4
= (int) SWIG_AsInt(obj3
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26641 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26646 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26648 wxPyEndAllowThreads(__tstate
);
26649 if (PyErr_Occurred()) SWIG_fail
;
26652 wxTreeItemId
* resultptr
;
26653 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26670 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26671 PyObject
*resultobj
;
26672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26673 wxTreeItemId
*arg2
= 0 ;
26674 wxString
*arg3
= 0 ;
26675 int arg4
= (int) -1 ;
26676 int arg5
= (int) -1 ;
26677 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26678 wxTreeItemId result
;
26679 bool temp3
= False
;
26680 PyObject
* obj0
= 0 ;
26681 PyObject
* obj1
= 0 ;
26682 PyObject
* obj2
= 0 ;
26683 PyObject
* obj3
= 0 ;
26684 PyObject
* obj4
= 0 ;
26685 PyObject
* obj5
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26696 if (arg2
== NULL
) {
26697 PyErr_SetString(PyExc_TypeError
,"null reference");
26701 arg3
= wxString_in_helper(obj2
);
26702 if (arg3
== NULL
) SWIG_fail
;
26706 arg4
= (int) SWIG_AsInt(obj3
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26710 arg5
= (int) SWIG_AsInt(obj4
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26714 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26725 wxTreeItemId
* resultptr
;
26726 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26743 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26746 wxTreeItemId
*arg2
= 0 ;
26747 wxTreeItemId
*arg3
= 0 ;
26748 wxString
*arg4
= 0 ;
26749 int arg5
= (int) -1 ;
26750 int arg6
= (int) -1 ;
26751 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26752 wxTreeItemId result
;
26753 bool temp4
= False
;
26754 PyObject
* obj0
= 0 ;
26755 PyObject
* obj1
= 0 ;
26756 PyObject
* obj2
= 0 ;
26757 PyObject
* obj3
= 0 ;
26758 PyObject
* obj4
= 0 ;
26759 PyObject
* obj5
= 0 ;
26760 PyObject
* obj6
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26771 if (arg2
== NULL
) {
26772 PyErr_SetString(PyExc_TypeError
,"null reference");
26775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26778 if (arg3
== NULL
) {
26779 PyErr_SetString(PyExc_TypeError
,"null reference");
26783 arg4
= wxString_in_helper(obj3
);
26784 if (arg4
== NULL
) SWIG_fail
;
26788 arg5
= (int) SWIG_AsInt(obj4
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 arg6
= (int) SWIG_AsInt(obj5
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26807 wxTreeItemId
* resultptr
;
26808 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26825 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26826 PyObject
*resultobj
;
26827 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26828 wxTreeItemId
*arg2
= 0 ;
26830 wxString
*arg4
= 0 ;
26831 int arg5
= (int) -1 ;
26832 int arg6
= (int) -1 ;
26833 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26834 wxTreeItemId result
;
26835 bool temp4
= False
;
26836 PyObject
* obj0
= 0 ;
26837 PyObject
* obj1
= 0 ;
26838 PyObject
* obj2
= 0 ;
26839 PyObject
* obj3
= 0 ;
26840 PyObject
* obj4
= 0 ;
26841 PyObject
* obj5
= 0 ;
26842 PyObject
* obj6
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26853 if (arg2
== NULL
) {
26854 PyErr_SetString(PyExc_TypeError
,"null reference");
26857 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26860 arg4
= wxString_in_helper(obj3
);
26861 if (arg4
== NULL
) SWIG_fail
;
26865 arg5
= (int) SWIG_AsInt(obj4
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 arg6
= (int) SWIG_AsInt(obj5
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26873 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26884 wxTreeItemId
* resultptr
;
26885 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26902 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26905 wxTreeItemId
*arg2
= 0 ;
26906 wxString
*arg3
= 0 ;
26907 int arg4
= (int) -1 ;
26908 int arg5
= (int) -1 ;
26909 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26910 wxTreeItemId result
;
26911 bool temp3
= False
;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 PyObject
* obj2
= 0 ;
26915 PyObject
* obj3
= 0 ;
26916 PyObject
* obj4
= 0 ;
26917 PyObject
* obj5
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26928 if (arg2
== NULL
) {
26929 PyErr_SetString(PyExc_TypeError
,"null reference");
26933 arg3
= wxString_in_helper(obj2
);
26934 if (arg3
== NULL
) SWIG_fail
;
26938 arg4
= (int) SWIG_AsInt(obj3
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 arg5
= (int) SWIG_AsInt(obj4
);
26943 if (PyErr_Occurred()) SWIG_fail
;
26946 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 wxTreeItemId
* resultptr
;
26958 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26975 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26976 PyObject
*resultobj
;
26977 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26978 wxTreeItemId
*arg2
= 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char *kwnames
[] = {
26982 (char *) "self",(char *) "item", NULL
26985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26991 if (arg2
== NULL
) {
26992 PyErr_SetString(PyExc_TypeError
,"null reference");
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26997 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 Py_INCREF(Py_None
); resultobj
= Py_None
;
27009 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27012 wxTreeItemId
*arg2
= 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self",(char *) "item", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27025 if (arg2
== NULL
) {
27026 PyErr_SetString(PyExc_TypeError
,"null reference");
27030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27031 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 Py_INCREF(Py_None
); resultobj
= Py_None
;
27043 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27046 PyObject
* obj0
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->DeleteAllItems();
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27071 wxTreeItemId
*arg2
= 0 ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "item", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27084 if (arg2
== NULL
) {
27085 PyErr_SetString(PyExc_TypeError
,"null reference");
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27095 Py_INCREF(Py_None
); resultobj
= Py_None
;
27102 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27105 wxTreeItemId
*arg2
= 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "item", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27118 if (arg2
== NULL
) {
27119 PyErr_SetString(PyExc_TypeError
,"null reference");
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 Py_INCREF(Py_None
); resultobj
= Py_None
;
27136 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27139 wxTreeItemId
*arg2
= 0 ;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "self",(char *) "item", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27149 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27152 if (arg2
== NULL
) {
27153 PyErr_SetString(PyExc_TypeError
,"null reference");
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 Py_INCREF(Py_None
); resultobj
= Py_None
;
27170 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27173 wxTreeItemId
*arg2
= 0 ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 char *kwnames
[] = {
27177 (char *) "self",(char *) "item", NULL
27180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27186 if (arg2
== NULL
) {
27187 PyErr_SetString(PyExc_TypeError
,"null reference");
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27194 wxPyEndAllowThreads(__tstate
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27197 Py_INCREF(Py_None
); resultobj
= Py_None
;
27204 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27207 PyObject
* obj0
= 0 ;
27208 char *kwnames
[] = {
27209 (char *) "self", NULL
27212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 (arg1
)->Unselect();
27219 wxPyEndAllowThreads(__tstate
);
27220 if (PyErr_Occurred()) SWIG_fail
;
27222 Py_INCREF(Py_None
); resultobj
= Py_None
;
27229 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
;
27231 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27232 wxTreeItemId
*arg2
= 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self",(char *) "item", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27245 if (arg2
== NULL
) {
27246 PyErr_SetString(PyExc_TypeError
,"null reference");
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 Py_INCREF(Py_None
); resultobj
= Py_None
;
27263 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27266 PyObject
* obj0
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 (arg1
)->UnselectAll();
27278 wxPyEndAllowThreads(__tstate
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27281 Py_INCREF(Py_None
); resultobj
= Py_None
;
27288 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27289 PyObject
*resultobj
;
27290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27291 wxTreeItemId
*arg2
= 0 ;
27292 bool arg3
= (bool) True
;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 PyObject
* obj2
= 0 ;
27296 char *kwnames
[] = {
27297 (char *) "self",(char *) "item",(char *) "select", NULL
27300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27306 if (arg2
== NULL
) {
27307 PyErr_SetString(PyExc_TypeError
,"null reference");
27311 arg3
= (bool) SWIG_AsBool(obj2
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27316 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 Py_INCREF(Py_None
); resultobj
= Py_None
;
27328 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27329 PyObject
*resultobj
;
27330 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27331 wxTreeItemId
*arg2
= 0 ;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 char *kwnames
[] = {
27335 (char *) "self",(char *) "item", NULL
27338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27344 if (arg2
== NULL
) {
27345 PyErr_SetString(PyExc_TypeError
,"null reference");
27349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27350 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27352 wxPyEndAllowThreads(__tstate
);
27353 if (PyErr_Occurred()) SWIG_fail
;
27355 Py_INCREF(Py_None
); resultobj
= Py_None
;
27362 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27365 wxTreeItemId
*arg2
= 0 ;
27366 PyObject
* obj0
= 0 ;
27367 PyObject
* obj1
= 0 ;
27368 char *kwnames
[] = {
27369 (char *) "self",(char *) "item", NULL
27372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27378 if (arg2
== NULL
) {
27379 PyErr_SetString(PyExc_TypeError
,"null reference");
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 Py_INCREF(Py_None
); resultobj
= Py_None
;
27396 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27399 wxTreeItemId
*arg2
= 0 ;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 char *kwnames
[] = {
27403 (char *) "self",(char *) "item", NULL
27406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27412 if (arg2
== NULL
) {
27413 PyErr_SetString(PyExc_TypeError
,"null reference");
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 Py_INCREF(Py_None
); resultobj
= Py_None
;
27430 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27433 wxTreeItemId
*arg2
= 0 ;
27434 PyObject
* obj0
= 0 ;
27435 PyObject
* obj1
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "item", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27446 if (arg2
== NULL
) {
27447 PyErr_SetString(PyExc_TypeError
,"null reference");
27451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 Py_INCREF(Py_None
); resultobj
= Py_None
;
27464 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27467 wxTextCtrl
*result
;
27468 PyObject
* obj0
= 0 ;
27469 char *kwnames
[] = {
27470 (char *) "self", NULL
27473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 resultobj
= wxPyMake_wxObject(result
);
27492 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27495 wxTreeItemId
*arg2
= 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "item", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27508 if (arg2
== NULL
) {
27509 PyErr_SetString(PyExc_TypeError
,"null reference");
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 Py_INCREF(Py_None
); resultobj
= Py_None
;
27526 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
;
27528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27529 wxPoint
*arg2
= 0 ;
27531 wxTreeItemId result
;
27534 PyObject
* obj0
= 0 ;
27535 PyObject
* obj1
= 0 ;
27536 char *kwnames
[] = {
27537 (char *) "self",(char *) "point", NULL
27541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27546 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 wxTreeItemId
* resultptr
;
27557 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27561 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27562 resultobj
= t_output_helper(resultobj
,o
);
27570 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27573 wxTreeItemId
*arg2
= 0 ;
27574 bool arg3
= (bool) False
;
27576 PyObject
* obj0
= 0 ;
27577 PyObject
* obj1
= 0 ;
27578 PyObject
* obj2
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27589 if (arg2
== NULL
) {
27590 PyErr_SetString(PyExc_TypeError
,"null reference");
27594 arg3
= (bool) SWIG_AsBool(obj2
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27604 resultobj
= result
;
27611 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27612 PyObject
*resultobj
;
27613 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27614 wxVisualAttributes result
;
27615 PyObject
* obj0
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "variant", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27622 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27633 wxVisualAttributes
* resultptr
;
27634 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27643 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27646 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27648 return Py_BuildValue((char *)"");
27650 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27651 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27656 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27661 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27663 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27670 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxWindow
*arg1
= (wxWindow
*) 0 ;
27673 int arg2
= (int) (int)-1 ;
27674 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27676 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27677 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27678 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27679 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27680 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27681 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27682 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27683 int arg8
= (int) 0 ;
27684 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27685 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27686 wxGenericDirCtrl
*result
;
27687 bool temp3
= False
;
27690 bool temp7
= False
;
27691 bool temp9
= False
;
27692 PyObject
* obj0
= 0 ;
27693 PyObject
* obj1
= 0 ;
27694 PyObject
* obj2
= 0 ;
27695 PyObject
* obj3
= 0 ;
27696 PyObject
* obj4
= 0 ;
27697 PyObject
* obj5
= 0 ;
27698 PyObject
* obj6
= 0 ;
27699 PyObject
* obj7
= 0 ;
27700 PyObject
* obj8
= 0 ;
27701 char *kwnames
[] = {
27702 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27709 arg2
= (int const) SWIG_AsInt(obj1
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27714 arg3
= wxString_in_helper(obj2
);
27715 if (arg3
== NULL
) SWIG_fail
;
27722 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27728 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27732 arg6
= (long) SWIG_AsLong(obj5
);
27733 if (PyErr_Occurred()) SWIG_fail
;
27737 arg7
= wxString_in_helper(obj6
);
27738 if (arg7
== NULL
) SWIG_fail
;
27743 arg8
= (int) SWIG_AsInt(obj7
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27748 arg9
= wxString_in_helper(obj8
);
27749 if (arg9
== NULL
) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27791 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27792 PyObject
*resultobj
;
27793 wxGenericDirCtrl
*result
;
27794 char *kwnames
[] = {
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27813 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27816 wxWindow
*arg2
= (wxWindow
*) 0 ;
27817 int arg3
= (int) (int)-1 ;
27818 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27820 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27821 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27822 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27823 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27824 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27825 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27826 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27827 int arg9
= (int) 0 ;
27828 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27829 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27831 bool temp4
= False
;
27834 bool temp8
= False
;
27835 bool temp10
= False
;
27836 PyObject
* obj0
= 0 ;
27837 PyObject
* obj1
= 0 ;
27838 PyObject
* obj2
= 0 ;
27839 PyObject
* obj3
= 0 ;
27840 PyObject
* obj4
= 0 ;
27841 PyObject
* obj5
= 0 ;
27842 PyObject
* obj6
= 0 ;
27843 PyObject
* obj7
= 0 ;
27844 PyObject
* obj8
= 0 ;
27845 PyObject
* obj9
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27856 arg3
= (int const) SWIG_AsInt(obj2
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27861 arg4
= wxString_in_helper(obj3
);
27862 if (arg4
== NULL
) SWIG_fail
;
27869 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27875 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27879 arg7
= (long) SWIG_AsLong(obj6
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27884 arg8
= wxString_in_helper(obj7
);
27885 if (arg8
== NULL
) SWIG_fail
;
27890 arg9
= (int) SWIG_AsInt(obj8
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27895 arg10
= wxString_in_helper(obj9
);
27896 if (arg10
== NULL
) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27940 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27943 wxString
*arg2
= 0 ;
27945 bool temp2
= False
;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "path", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27956 arg2
= wxString_in_helper(obj1
);
27957 if (arg2
== NULL
) SWIG_fail
;
27961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27962 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27964 wxPyEndAllowThreads(__tstate
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27984 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27988 PyObject
* obj0
= 0 ;
27989 char *kwnames
[] = {
27990 (char *) "self", NULL
27993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28000 wxPyEndAllowThreads(__tstate
);
28001 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28016 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28019 wxString
*arg2
= 0 ;
28020 bool temp2
= False
;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 char *kwnames
[] = {
28024 (char *) "self",(char *) "path", NULL
28027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 arg2
= wxString_in_helper(obj1
);
28032 if (arg2
== NULL
) SWIG_fail
;
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28039 wxPyEndAllowThreads(__tstate
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 Py_INCREF(Py_None
); resultobj
= Py_None
;
28057 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28089 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28090 PyObject
*resultobj
;
28091 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28121 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28124 wxString
*arg2
= 0 ;
28125 bool temp2
= False
;
28126 PyObject
* obj0
= 0 ;
28127 PyObject
* obj1
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self",(char *) "path", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28136 arg2
= wxString_in_helper(obj1
);
28137 if (arg2
== NULL
) SWIG_fail
;
28141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28142 (arg1
)->SetPath((wxString
const &)*arg2
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 Py_INCREF(Py_None
); resultobj
= Py_None
;
28162 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self",(char *) "show", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28175 arg2
= (bool) SWIG_AsBool(obj1
);
28176 if (PyErr_Occurred()) SWIG_fail
;
28178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28179 (arg1
)->ShowHidden(arg2
);
28181 wxPyEndAllowThreads(__tstate
);
28182 if (PyErr_Occurred()) SWIG_fail
;
28184 Py_INCREF(Py_None
); resultobj
= Py_None
;
28191 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28195 PyObject
* obj0
= 0 ;
28196 char *kwnames
[] = {
28197 (char *) "self", NULL
28200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (bool)(arg1
)->GetShowHidden();
28207 wxPyEndAllowThreads(__tstate
);
28208 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28219 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
;
28221 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28223 PyObject
* obj0
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28233 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28235 wxPyEndAllowThreads(__tstate
);
28236 if (PyErr_Occurred()) SWIG_fail
;
28240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28251 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28254 wxString
*arg2
= 0 ;
28255 bool temp2
= False
;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self",(char *) "filter", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 arg2
= wxString_in_helper(obj1
);
28267 if (arg2
== NULL
) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 (arg1
)->SetFilter((wxString
const &)*arg2
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 Py_INCREF(Py_None
); resultobj
= Py_None
;
28292 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28294 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28296 PyObject
* obj0
= 0 ;
28297 char *kwnames
[] = {
28298 (char *) "self", NULL
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28306 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_FromInt((int)result
);
28318 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28319 PyObject
*resultobj
;
28320 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28322 PyObject
* obj0
= 0 ;
28323 PyObject
* obj1
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "n", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28331 arg2
= (int) SWIG_AsInt(obj1
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->SetFilterIndex(arg2
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28350 wxTreeItemId result
;
28351 PyObject
* obj0
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28361 result
= (arg1
)->GetRootId();
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28367 wxTreeItemId
* resultptr
;
28368 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28377 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28380 wxPyTreeCtrl
*result
;
28381 PyObject
* obj0
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "self", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28393 wxPyEndAllowThreads(__tstate
);
28394 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= wxPyMake_wxObject(result
);
28405 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28408 wxDirFilterListCtrl
*result
;
28409 PyObject
* obj0
= 0 ;
28410 char *kwnames
[] = {
28411 (char *) "self", NULL
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28419 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28421 wxPyEndAllowThreads(__tstate
);
28422 if (PyErr_Occurred()) SWIG_fail
;
28424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28431 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28434 wxTreeItemId arg2
;
28435 wxString
*arg3
= 0 ;
28437 wxTreeItemId result
;
28438 wxTreeItemId
*argp2
;
28439 bool temp3
= False
;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 PyObject
* obj2
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self",(char *) "parentId",(char *) "path", NULL
28449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28452 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28453 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28456 arg3
= wxString_in_helper(obj2
);
28457 if (arg3
== NULL
) SWIG_fail
;
28461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28462 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28468 wxTreeItemId
* resultptr
;
28469 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28473 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28474 resultobj
= t_output_helper(resultobj
,o
);
28490 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28493 PyObject
* obj0
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 (arg1
)->DoResize();
28505 wxPyEndAllowThreads(__tstate
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28508 Py_INCREF(Py_None
); resultobj
= Py_None
;
28515 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28516 PyObject
*resultobj
;
28517 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28518 PyObject
* obj0
= 0 ;
28519 char *kwnames
[] = {
28520 (char *) "self", NULL
28523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 (arg1
)->ReCreateTree();
28530 wxPyEndAllowThreads(__tstate
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 Py_INCREF(Py_None
); resultobj
= Py_None
;
28540 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28543 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28545 return Py_BuildValue((char *)"");
28547 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28548 PyObject
*resultobj
;
28549 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28550 int arg2
= (int) (int)-1 ;
28551 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28552 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28553 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28554 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28555 long arg5
= (long) 0 ;
28556 wxDirFilterListCtrl
*result
;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 PyObject
* obj2
= 0 ;
28562 PyObject
* obj3
= 0 ;
28563 PyObject
* obj4
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28572 arg2
= (int const) SWIG_AsInt(obj1
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28578 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28584 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28588 arg5
= (long) SWIG_AsLong(obj4
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28595 wxPyEndAllowThreads(__tstate
);
28596 if (PyErr_Occurred()) SWIG_fail
;
28598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28605 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28606 PyObject
*resultobj
;
28607 wxDirFilterListCtrl
*result
;
28608 char *kwnames
[] = {
28612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28627 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28630 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28631 int arg3
= (int) (int)-1 ;
28632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28636 long arg6
= (long) 0 ;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 PyObject
* obj2
= 0 ;
28643 PyObject
* obj3
= 0 ;
28644 PyObject
* obj4
= 0 ;
28645 PyObject
* obj5
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28656 arg3
= (int const) SWIG_AsInt(obj2
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28672 arg6
= (long) SWIG_AsLong(obj5
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28677 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28679 wxPyEndAllowThreads(__tstate
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28691 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28694 wxString
*arg2
= 0 ;
28696 bool temp2
= False
;
28697 PyObject
* obj0
= 0 ;
28698 PyObject
* obj1
= 0 ;
28699 PyObject
* obj2
= 0 ;
28700 char *kwnames
[] = {
28701 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28708 arg2
= wxString_in_helper(obj1
);
28709 if (arg2
== NULL
) SWIG_fail
;
28712 arg3
= (int) SWIG_AsInt(obj2
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 Py_INCREF(Py_None
); resultobj
= Py_None
;
28736 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28739 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28741 return Py_BuildValue((char *)"");
28743 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxWindow
*arg1
= (wxWindow
*) 0 ;
28747 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28748 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28749 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28750 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28751 long arg5
= (long) 0 ;
28752 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28753 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28754 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28755 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28756 wxPyControl
*result
;
28759 bool temp7
= False
;
28760 PyObject
* obj0
= 0 ;
28761 PyObject
* obj1
= 0 ;
28762 PyObject
* obj2
= 0 ;
28763 PyObject
* obj3
= 0 ;
28764 PyObject
* obj4
= 0 ;
28765 PyObject
* obj5
= 0 ;
28766 PyObject
* obj6
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 arg2
= (int const) SWIG_AsInt(obj1
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28785 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28789 arg5
= (long) SWIG_AsLong(obj4
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28793 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28796 if (arg6
== NULL
) {
28797 PyErr_SetString(PyExc_TypeError
,"null reference");
28803 arg7
= wxString_in_helper(obj6
);
28804 if (arg7
== NULL
) SWIG_fail
;
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28830 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxPyControl
*result
;
28833 char *kwnames
[] = {
28837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= (wxPyControl
*)new wxPyControl();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28852 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
;
28854 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28855 PyObject
*arg2
= (PyObject
*) 0 ;
28856 PyObject
*arg3
= (PyObject
*) 0 ;
28857 PyObject
* obj0
= 0 ;
28858 PyObject
* obj1
= 0 ;
28859 PyObject
* obj2
= 0 ;
28860 char *kwnames
[] = {
28861 (char *) "self",(char *) "self",(char *) "_class", NULL
28864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28873 wxPyEndAllowThreads(__tstate
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 PyObject
* obj1
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "size", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28899 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28922 PyObject
* obj0
= 0 ;
28923 PyObject
* obj1
= 0 ;
28924 PyObject
* obj2
= 0 ;
28925 PyObject
* obj3
= 0 ;
28926 PyObject
* obj4
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28934 arg2
= (int) SWIG_AsInt(obj1
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28936 arg3
= (int) SWIG_AsInt(obj2
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28938 arg4
= (int) SWIG_AsInt(obj3
);
28939 if (PyErr_Occurred()) SWIG_fail
;
28940 arg5
= (int) SWIG_AsInt(obj4
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 Py_INCREF(Py_None
); resultobj
= Py_None
;
28956 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28957 PyObject
*resultobj
;
28958 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28963 int arg6
= (int) wxSIZE_AUTO
;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 PyObject
* obj2
= 0 ;
28967 PyObject
* obj3
= 0 ;
28968 PyObject
* obj4
= 0 ;
28969 PyObject
* obj5
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 arg2
= (int) SWIG_AsInt(obj1
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28979 arg3
= (int) SWIG_AsInt(obj2
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28981 arg4
= (int) SWIG_AsInt(obj3
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28983 arg5
= (int) SWIG_AsInt(obj4
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28986 arg6
= (int) SWIG_AsInt(obj5
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 Py_INCREF(Py_None
); resultobj
= Py_None
;
29003 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
;
29005 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self",(char *) "width",(char *) "height", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29018 arg2
= (int) SWIG_AsInt(obj1
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29020 arg3
= (int) SWIG_AsInt(obj2
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29041 PyObject
* obj0
= 0 ;
29042 PyObject
* obj1
= 0 ;
29043 PyObject
* obj2
= 0 ;
29044 char *kwnames
[] = {
29045 (char *) "self",(char *) "x",(char *) "y", NULL
29048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29051 arg2
= (int) SWIG_AsInt(obj1
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29053 arg3
= (int) SWIG_AsInt(obj2
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 Py_INCREF(Py_None
); resultobj
= Py_None
;
29069 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29072 int *arg2
= (int *) 0 ;
29073 int *arg3
= (int *) 0 ;
29076 PyObject
* obj0
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "self", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 Py_INCREF(Py_None
); resultobj
= Py_None
;
29095 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29096 resultobj
= t_output_helper(resultobj
,o
);
29099 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29100 resultobj
= t_output_helper(resultobj
,o
);
29108 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29109 PyObject
*resultobj
;
29110 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29111 int *arg2
= (int *) 0 ;
29112 int *arg3
= (int *) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29129 wxPyEndAllowThreads(__tstate
);
29130 if (PyErr_Occurred()) SWIG_fail
;
29132 Py_INCREF(Py_None
); resultobj
= Py_None
;
29134 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29135 resultobj
= t_output_helper(resultobj
,o
);
29138 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29139 resultobj
= t_output_helper(resultobj
,o
);
29147 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29148 PyObject
*resultobj
;
29149 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29150 int *arg2
= (int *) 0 ;
29151 int *arg3
= (int *) 0 ;
29154 PyObject
* obj0
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self", NULL
29161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 Py_INCREF(Py_None
); resultobj
= Py_None
;
29173 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29174 resultobj
= t_output_helper(resultobj
,o
);
29177 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29178 resultobj
= t_output_helper(resultobj
,o
);
29186 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29190 PyObject
* obj0
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 wxSize
* resultptr
;
29207 resultptr
= new wxSize((wxSize
&) result
);
29208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29216 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29230 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 wxSize
* resultptr
;
29237 resultptr
= new wxSize((wxSize
&) result
);
29238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29246 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
;
29248 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 (arg1
)->base_InitDialog();
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 Py_INCREF(Py_None
); resultobj
= Py_None
;
29271 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29275 PyObject
* obj0
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self", NULL
29280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= (bool)(arg1
)->base_TransferDataToWindow();
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29299 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29300 PyObject
*resultobj
;
29301 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29303 PyObject
* obj0
= 0 ;
29304 char *kwnames
[] = {
29305 (char *) "self", NULL
29308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29327 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29328 PyObject
*resultobj
;
29329 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29331 PyObject
* obj0
= 0 ;
29332 char *kwnames
[] = {
29333 (char *) "self", NULL
29336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 result
= (bool)(arg1
)->base_Validate();
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29355 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "self", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29383 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29387 PyObject
* obj0
= 0 ;
29388 char *kwnames
[] = {
29389 (char *) "self", NULL
29392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29399 wxPyEndAllowThreads(__tstate
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29411 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
;
29413 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29415 PyObject
* obj0
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 wxSize
* resultptr
;
29432 resultptr
= new wxSize((wxSize
&) result
);
29433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29441 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29442 PyObject
*resultobj
;
29443 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29444 wxWindow
*arg2
= (wxWindow
*) 0 ;
29445 PyObject
* obj0
= 0 ;
29446 PyObject
* obj1
= 0 ;
29447 char *kwnames
[] = {
29448 (char *) "self",(char *) "child", NULL
29451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 (arg1
)->base_AddChild(arg2
);
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 Py_INCREF(Py_None
); resultobj
= Py_None
;
29470 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29473 wxWindow
*arg2
= (wxWindow
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 PyObject
* obj1
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self",(char *) "child", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 (arg1
)->base_RemoveChild(arg2
);
29489 wxPyEndAllowThreads(__tstate
);
29490 if (PyErr_Occurred()) SWIG_fail
;
29492 Py_INCREF(Py_None
); resultobj
= Py_None
;
29499 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29527 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29530 wxColour
*arg2
= 0 ;
29532 PyObject
* obj0
= 0 ;
29533 PyObject
* obj1
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self",(char *) "c", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29543 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29549 wxPyEndAllowThreads(__tstate
);
29550 if (PyErr_Occurred()) SWIG_fail
;
29552 Py_INCREF(Py_None
); resultobj
= Py_None
;
29559 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29562 wxVisualAttributes result
;
29563 PyObject
* obj0
= 0 ;
29564 char *kwnames
[] = {
29565 (char *) "self", NULL
29568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (arg1
)->base_GetDefaultAttributes();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 wxVisualAttributes
* resultptr
;
29580 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29581 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29589 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29592 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29594 return Py_BuildValue((char *)"");
29596 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29597 PyObject
*resultobj
;
29598 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29599 int arg2
= (int) 0 ;
29600 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29601 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29602 wxHelpEvent
*result
;
29604 PyObject
* obj0
= 0 ;
29605 PyObject
* obj1
= 0 ;
29606 PyObject
* obj2
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "type",(char *) "winid",(char *) "pt", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29613 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 arg2
= (int) SWIG_AsInt(obj1
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29623 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29630 wxPyEndAllowThreads(__tstate
);
29631 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29640 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29654 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29656 wxPyEndAllowThreads(__tstate
);
29657 if (PyErr_Occurred()) SWIG_fail
;
29660 wxPoint
* resultptr
;
29661 resultptr
= new wxPoint((wxPoint
&) result
);
29662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29670 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29672 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29673 wxPoint
*arg2
= 0 ;
29675 PyObject
* obj0
= 0 ;
29676 PyObject
* obj1
= 0 ;
29677 char *kwnames
[] = {
29678 (char *) "self",(char *) "pos", NULL
29681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29686 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29695 Py_INCREF(Py_None
); resultobj
= Py_None
;
29702 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 char *kwnames
[] = {
29708 (char *) "self", NULL
29711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29718 result
= (wxString
*) &_result_ref
;
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29726 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29728 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29737 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29738 PyObject
*resultobj
;
29739 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29740 wxString
*arg2
= 0 ;
29741 bool temp2
= False
;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "link", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29752 arg2
= wxString_in_helper(obj1
);
29753 if (arg2
== NULL
) SWIG_fail
;
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 (arg1
)->SetLink((wxString
const &)*arg2
);
29760 wxPyEndAllowThreads(__tstate
);
29761 if (PyErr_Occurred()) SWIG_fail
;
29763 Py_INCREF(Py_None
); resultobj
= Py_None
;
29778 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 char *kwnames
[] = {
29784 (char *) "self", NULL
29787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29793 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29794 result
= (wxString
*) &_result_ref
;
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29804 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29813 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29816 wxString
*arg2
= 0 ;
29817 bool temp2
= False
;
29818 PyObject
* obj0
= 0 ;
29819 PyObject
* obj1
= 0 ;
29820 char *kwnames
[] = {
29821 (char *) "self",(char *) "target", NULL
29824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29828 arg2
= wxString_in_helper(obj1
);
29829 if (arg2
== NULL
) SWIG_fail
;
29833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29834 (arg1
)->SetTarget((wxString
const &)*arg2
);
29836 wxPyEndAllowThreads(__tstate
);
29837 if (PyErr_Occurred()) SWIG_fail
;
29839 Py_INCREF(Py_None
); resultobj
= Py_None
;
29854 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29857 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29859 return Py_BuildValue((char *)"");
29861 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29862 PyObject
*resultobj
;
29863 wxWindow
*arg1
= (wxWindow
*) NULL
;
29864 bool arg2
= (bool) True
;
29865 wxContextHelp
*result
;
29866 PyObject
* obj0
= 0 ;
29867 PyObject
* obj1
= 0 ;
29868 char *kwnames
[] = {
29869 (char *) "window",(char *) "doNow", NULL
29872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29878 arg2
= (bool) SWIG_AsBool(obj1
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29883 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29885 wxPyEndAllowThreads(__tstate
);
29886 if (PyErr_Occurred()) SWIG_fail
;
29888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29895 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29896 PyObject
*resultobj
;
29897 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29898 PyObject
* obj0
= 0 ;
29899 char *kwnames
[] = {
29900 (char *) "self", NULL
29903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 Py_INCREF(Py_None
); resultobj
= Py_None
;
29920 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29923 wxWindow
*arg2
= (wxWindow
*) NULL
;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 char *kwnames
[] = {
29928 (char *) "self",(char *) "window", NULL
29931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29954 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29968 result
= (bool)(arg1
)->EndContextHelp();
29970 wxPyEndAllowThreads(__tstate
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29982 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29985 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29987 return Py_BuildValue((char *)"");
29989 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxWindow
*arg1
= (wxWindow
*) 0 ;
29992 int arg2
= (int) wxID_CONTEXT_HELP
;
29993 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29994 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29995 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29996 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29997 long arg5
= (long) wxBU_AUTODRAW
;
29998 wxContextHelpButton
*result
;
30001 PyObject
* obj0
= 0 ;
30002 PyObject
* obj1
= 0 ;
30003 PyObject
* obj2
= 0 ;
30004 PyObject
* obj3
= 0 ;
30005 PyObject
* obj4
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30014 arg2
= (int) SWIG_AsInt(obj1
);
30015 if (PyErr_Occurred()) SWIG_fail
;
30020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30030 arg5
= (long) SWIG_AsLong(obj4
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30047 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30050 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30052 return Py_BuildValue((char *)"");
30054 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30055 PyObject
*resultobj
;
30056 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30057 wxHelpProvider
*result
;
30058 PyObject
* obj0
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "helpProvider", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30080 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
;
30082 wxHelpProvider
*result
;
30083 char *kwnames
[] = {
30087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30092 wxPyEndAllowThreads(__tstate
);
30093 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30102 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
;
30104 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30105 wxWindow
*arg2
= (wxWindow
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 char *kwnames
[] = {
30110 (char *) "self",(char *) "window", NULL
30113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30122 wxPyEndAllowThreads(__tstate
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30138 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30139 PyObject
*resultobj
;
30140 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30141 wxWindow
*arg2
= (wxWindow
*) 0 ;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "window", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30156 result
= (bool)(arg1
)->ShowHelp(arg2
);
30158 wxPyEndAllowThreads(__tstate
);
30159 if (PyErr_Occurred()) SWIG_fail
;
30162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30170 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30173 wxWindow
*arg2
= (wxWindow
*) 0 ;
30174 wxString
*arg3
= 0 ;
30175 bool temp3
= False
;
30176 PyObject
* obj0
= 0 ;
30177 PyObject
* obj1
= 0 ;
30178 PyObject
* obj2
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self",(char *) "window",(char *) "text", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30189 arg3
= wxString_in_helper(obj2
);
30190 if (arg3
== NULL
) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 Py_INCREF(Py_None
); resultobj
= Py_None
;
30215 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
;
30217 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30219 wxString
*arg3
= 0 ;
30220 bool temp3
= False
;
30221 PyObject
* obj0
= 0 ;
30222 PyObject
* obj1
= 0 ;
30223 PyObject
* obj2
= 0 ;
30224 char *kwnames
[] = {
30225 (char *) "self",(char *) "id",(char *) "text", NULL
30228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30231 arg2
= (int) SWIG_AsInt(obj1
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 arg3
= wxString_in_helper(obj2
);
30235 if (arg3
== NULL
) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 Py_INCREF(Py_None
); resultobj
= Py_None
;
30260 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30261 PyObject
*resultobj
;
30262 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30263 wxWindow
*arg2
= (wxWindow
*) 0 ;
30264 PyObject
* obj0
= 0 ;
30265 PyObject
* obj1
= 0 ;
30266 char *kwnames
[] = {
30267 (char *) "self",(char *) "window", NULL
30270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 (arg1
)->RemoveHelp(arg2
);
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30282 Py_INCREF(Py_None
); resultobj
= Py_None
;
30289 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30290 PyObject
*resultobj
;
30291 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30292 PyObject
* obj0
= 0 ;
30293 char *kwnames
[] = {
30294 (char *) "self", NULL
30297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 wxHelpProvider_Destroy(arg1
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30317 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30319 return Py_BuildValue((char *)"");
30321 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
;
30323 wxSimpleHelpProvider
*result
;
30324 char *kwnames
[] = {
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30343 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30346 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30348 return Py_BuildValue((char *)"");
30350 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxBitmap
*arg1
= 0 ;
30353 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30354 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30355 wxGenericDragImage
*result
;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "image",(char *) "cursor", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30366 if (arg1
== NULL
) {
30367 PyErr_SetString(PyExc_TypeError
,"null reference");
30371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30374 if (arg2
== NULL
) {
30375 PyErr_SetString(PyExc_TypeError
,"null reference");
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30393 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
;
30396 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30397 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30398 wxGenericDragImage
*result
;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "image",(char *) "cursor", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30409 if (arg1
== NULL
) {
30410 PyErr_SetString(PyExc_TypeError
,"null reference");
30414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30417 if (arg2
== NULL
) {
30418 PyErr_SetString(PyExc_TypeError
,"null reference");
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30424 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30436 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxString
*arg1
= 0 ;
30439 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30440 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30441 wxGenericDragImage
*result
;
30442 bool temp1
= False
;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "str",(char *) "cursor", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30451 arg1
= wxString_in_helper(obj0
);
30452 if (arg1
== NULL
) SWIG_fail
;
30456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30459 if (arg2
== NULL
) {
30460 PyErr_SetString(PyExc_TypeError
,"null reference");
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30486 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxPyTreeCtrl
*arg1
= 0 ;
30489 wxTreeItemId
*arg2
= 0 ;
30490 wxGenericDragImage
*result
;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 char *kwnames
[] = {
30494 (char *) "treeCtrl",(char *) "id", NULL
30497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30499 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30501 if (arg1
== NULL
) {
30502 PyErr_SetString(PyExc_TypeError
,"null reference");
30505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30508 if (arg2
== NULL
) {
30509 PyErr_SetString(PyExc_TypeError
,"null reference");
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30526 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
;
30528 wxPyListCtrl
*arg1
= 0 ;
30530 wxGenericDragImage
*result
;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "listCtrl",(char *) "id", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30539 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30541 if (arg1
== NULL
) {
30542 PyErr_SetString(PyExc_TypeError
,"null reference");
30545 arg2
= (long) SWIG_AsLong(obj1
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30561 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30564 PyObject
* obj0
= 0 ;
30565 char *kwnames
[] = {
30566 (char *) "self", NULL
30569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30589 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self",(char *) "bitmap", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 (arg1
)->SetBackingBitmap(arg2
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30608 Py_INCREF(Py_None
); resultobj
= Py_None
;
30615 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30618 wxPoint
*arg2
= 0 ;
30619 wxWindow
*arg3
= (wxWindow
*) 0 ;
30620 bool arg4
= (bool) False
;
30621 wxRect
*arg5
= (wxRect
*) NULL
;
30624 PyObject
* obj0
= 0 ;
30625 PyObject
* obj1
= 0 ;
30626 PyObject
* obj2
= 0 ;
30627 PyObject
* obj3
= 0 ;
30628 PyObject
* obj4
= 0 ;
30629 char *kwnames
[] = {
30630 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30638 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30640 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30643 arg4
= (bool) SWIG_AsBool(obj3
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30647 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30666 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30669 wxPoint
*arg2
= 0 ;
30670 wxWindow
*arg3
= (wxWindow
*) 0 ;
30671 wxWindow
*arg4
= (wxWindow
*) 0 ;
30674 PyObject
* obj0
= 0 ;
30675 PyObject
* obj1
= 0 ;
30676 PyObject
* obj2
= 0 ;
30677 PyObject
* obj3
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30689 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30691 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30709 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30713 PyObject
* obj0
= 0 ;
30714 char *kwnames
[] = {
30715 (char *) "self", NULL
30718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 result
= (bool)(arg1
)->EndDrag();
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30737 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
;
30739 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30740 wxPoint
*arg2
= 0 ;
30743 PyObject
* obj0
= 0 ;
30744 PyObject
* obj1
= 0 ;
30745 char *kwnames
[] = {
30746 (char *) "self",(char *) "pt", NULL
30749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30754 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30758 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30760 wxPyEndAllowThreads(__tstate
);
30761 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30772 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30773 PyObject
*resultobj
;
30774 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30776 PyObject
* obj0
= 0 ;
30777 char *kwnames
[] = {
30778 (char *) "self", NULL
30781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30786 result
= (bool)(arg1
)->Show();
30788 wxPyEndAllowThreads(__tstate
);
30789 if (PyErr_Occurred()) SWIG_fail
;
30792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30800 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30804 PyObject
* obj0
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 result
= (bool)(arg1
)->Hide();
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30828 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30829 PyObject
*resultobj
;
30830 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30831 wxPoint
*arg2
= 0 ;
30834 PyObject
* obj0
= 0 ;
30835 PyObject
* obj1
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "self",(char *) "pos", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30849 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30851 wxPyEndAllowThreads(__tstate
);
30852 if (PyErr_Occurred()) SWIG_fail
;
30855 wxRect
* resultptr
;
30856 resultptr
= new wxRect((wxRect
&) result
);
30857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30865 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30869 wxPoint
*arg3
= 0 ;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 PyObject
* obj2
= 0 ;
30875 char *kwnames
[] = {
30876 (char *) "self",(char *) "dc",(char *) "pos", NULL
30879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30885 if (arg2
== NULL
) {
30886 PyErr_SetString(PyExc_TypeError
,"null reference");
30891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30895 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30897 wxPyEndAllowThreads(__tstate
);
30898 if (PyErr_Occurred()) SWIG_fail
;
30901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30909 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30910 PyObject
*resultobj
;
30911 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30913 wxMemoryDC
*arg3
= 0 ;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 PyObject
* obj2
= 0 ;
30922 PyObject
* obj3
= 0 ;
30923 PyObject
* obj4
= 0 ;
30924 char *kwnames
[] = {
30925 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30934 if (arg2
== NULL
) {
30935 PyErr_SetString(PyExc_TypeError
,"null reference");
30938 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30941 if (arg3
== NULL
) {
30942 PyErr_SetString(PyExc_TypeError
,"null reference");
30947 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30951 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30955 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30957 wxPyEndAllowThreads(__tstate
);
30958 if (PyErr_Occurred()) SWIG_fail
;
30961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30969 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30970 PyObject
*resultobj
;
30971 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30972 wxPoint
*arg2
= 0 ;
30973 wxPoint
*arg3
= 0 ;
30979 PyObject
* obj0
= 0 ;
30980 PyObject
* obj1
= 0 ;
30981 PyObject
* obj2
= 0 ;
30982 PyObject
* obj3
= 0 ;
30983 PyObject
* obj4
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30997 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30999 arg4
= (bool) SWIG_AsBool(obj3
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31001 arg5
= (bool) SWIG_AsBool(obj4
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31019 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31022 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31024 return Py_BuildValue((char *)"");
31026 static PyMethodDef SwigMethods
[] = {
31027 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31034 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31049 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31061 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31069 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31090 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31104 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31109 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31116 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31121 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31129 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31152 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31160 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31161 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31191 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31246 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31251 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31263 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31276 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31288 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31292 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31310 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31317 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31343 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31351 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31361 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31372 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31378 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31388 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31390 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31395 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31397 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31402 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31407 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31437 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31482 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31488 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31500 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31518 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31552 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31579 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31650 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31662 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31670 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31677 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31693 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31768 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31790 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31795 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31821 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31829 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31834 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31836 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31845 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31847 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31853 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31869 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31871 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31872 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31874 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31875 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31877 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31878 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31880 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31881 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31883 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31884 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31886 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31887 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31889 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31890 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31892 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31893 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31895 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31896 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31898 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31899 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31901 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31904 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31905 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31907 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31908 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31910 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31911 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31913 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31914 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31916 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31917 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31919 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31920 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31922 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31923 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31925 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31928 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31931 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31932 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31934 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31935 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31937 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31940 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31941 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31943 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31944 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31946 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31947 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31949 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31952 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31953 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31955 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31956 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31958 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31959 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31961 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31962 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31964 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31965 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31967 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31968 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31970 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31971 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31973 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31974 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31976 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31977 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31979 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31980 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31982 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31985 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31986 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31988 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31989 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31991 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31992 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31994 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31995 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31997 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31998 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32000 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32001 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32003 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32006 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32007 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32009 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32010 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32012 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32013 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32015 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32018 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32019 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32021 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32022 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32024 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32025 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32027 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32028 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32030 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32031 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32033 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32034 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32036 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32037 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32039 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32040 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32042 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32043 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32045 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32046 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32048 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32049 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32051 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32052 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32054 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32055 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32057 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32058 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32060 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32061 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32063 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32064 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32066 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32067 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32069 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32070 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32072 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32073 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32075 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32076 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32078 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32079 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32081 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32082 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32084 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32085 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32087 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32088 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32090 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32091 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32093 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32094 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32096 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32097 return (void *)((wxControl
*) ((wxGauge
*) x
));
32099 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32100 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32102 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32103 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32105 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32106 return (void *)((wxControl
*) ((wxButton
*) x
));
32108 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32109 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32111 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32112 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32114 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32115 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32117 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32118 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32120 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32121 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32123 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32124 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32126 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32127 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32129 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32130 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32132 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32133 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32135 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32136 return (void *)((wxControl
*) ((wxSlider
*) x
));
32138 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32139 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32141 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32142 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32144 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32145 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32147 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32148 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32150 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32151 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32153 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32154 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32156 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32157 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32159 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32160 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32162 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32163 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32165 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32166 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32168 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32169 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32171 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32172 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32174 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32177 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32178 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32180 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32181 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32183 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32184 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32186 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32189 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32190 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32192 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32195 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32198 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32199 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32201 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32202 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32204 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32207 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32210 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32213 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32216 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32219 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32220 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32222 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32225 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32228 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32231 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32234 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32237 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32240 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32243 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32246 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32249 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32252 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32255 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32258 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32261 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32264 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32267 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32270 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32273 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32276 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32279 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32282 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32285 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32288 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32291 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32294 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32295 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32297 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32298 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32300 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32301 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32303 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32304 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32306 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32307 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32309 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32310 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32312 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32313 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32315 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32316 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32318 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32319 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32321 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32322 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32324 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32325 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32327 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32328 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32330 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32331 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32333 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32334 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32336 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32337 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32339 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32340 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32342 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32343 return (void *)((wxObject
*) ((wxSizer
*) x
));
32345 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32348 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32351 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32354 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32357 static void *_p_wxEventTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) ((wxEvent
*) x
));
32360 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32363 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32366 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32369 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32372 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32375 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32378 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32381 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32384 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32387 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32390 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32393 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32396 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32399 static void *_p_wxControlTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32402 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32405 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32408 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32411 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32414 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32417 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32420 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32423 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32426 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32429 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32432 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32435 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32438 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32441 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32444 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32447 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32450 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32453 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32456 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32459 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32462 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32465 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32468 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32471 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32474 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32477 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32480 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32483 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32486 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32489 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32492 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32495 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32498 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32501 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32504 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32507 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32510 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32513 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32516 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32519 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32522 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32525 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32528 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32531 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32534 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32537 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32540 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32543 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32546 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32549 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32552 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32555 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32558 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32561 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32564 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32567 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) ((wxListItem
*) x
));
32570 static void *_p_wxImageTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) ((wxImage
*) x
));
32573 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32576 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32579 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32582 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32585 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32588 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32591 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32594 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32595 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32597 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32598 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32600 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32601 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32603 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32604 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32606 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32607 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32609 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32612 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32613 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32615 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32618 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32619 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32621 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32624 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32625 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32627 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32628 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32630 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32631 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32633 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32636 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32639 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32642 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32645 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32648 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32651 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32654 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32657 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32660 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32663 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32666 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32669 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32672 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32673 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32675 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32676 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32678 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32679 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32681 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32682 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32684 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32685 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32687 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32688 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32690 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32691 return (void *)((wxWindow
*) ((wxControl
*) x
));
32693 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32694 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32696 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32697 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32699 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32700 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32702 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32703 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32705 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32706 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32708 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32709 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32711 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32712 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32714 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32715 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32717 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32718 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32720 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32721 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32723 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32724 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32726 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32727 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32729 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32730 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32732 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32733 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32735 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32736 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32738 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32739 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32741 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32742 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32744 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32745 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32747 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32748 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32750 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32751 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32753 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32754 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32756 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32757 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32759 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32760 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32762 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32763 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32765 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32766 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32768 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32769 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32771 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32772 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32774 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32775 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32777 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32778 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32780 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32781 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32783 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32784 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32786 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32787 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32789 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32790 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32792 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32793 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32795 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32796 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32798 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32799 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32801 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32802 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32804 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32805 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32807 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32808 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32810 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32811 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32813 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32814 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32816 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32817 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32819 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32820 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32822 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32823 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32825 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32826 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32828 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32829 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32831 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32832 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32834 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32835 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32837 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32838 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 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}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32891 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}};
32892 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}};
32893 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}};
32894 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}};
32895 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}};
32896 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}};
32897 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}};
32898 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}};
32899 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}};
32900 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}};
32901 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}};
32902 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}};
32903 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}};
32904 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}};
32905 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}};
32906 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}};
32907 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}};
32908 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}};
32909 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}};
32910 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}};
32911 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}};
32912 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}};
32913 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}};
32914 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}};
32915 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}};
32916 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}};
32917 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}};
32918 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}};
32919 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}};
32920 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}};
32921 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}};
32922 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}};
32923 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}};
32924 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}};
32926 static swig_type_info
*swig_types_initial
[] = {
32927 _swigt__p_wxTextUrlEvent
,
32928 _swigt__p_wxBookCtrlEvent
,
32930 _swigt__p_wxCheckBox
,
32931 _swigt__p_wxPyTreeCtrl
,
32933 _swigt__p_wxGenericDirCtrl
,
32935 _swigt__p_wxPyTreeItemData
,
32936 _swigt__p_wxItemContainer
,
32937 _swigt__p_wxPyListCtrl
,
32938 _swigt__p_wxDirFilterListCtrl
,
32939 _swigt__p_wxStaticLine
,
32940 _swigt__p_wxControl
,
32941 _swigt__p_wxPyControl
,
32943 _swigt__p_wxToolBarBase
,
32945 _swigt__p_wxToggleButton
,
32946 _swigt__p_wxRadioButton
,
32947 _swigt__p_wxChoice
,
32948 _swigt__p_wxMemoryDC
,
32949 _swigt__p_wxListItemAttr
,
32954 _swigt__p_wxListView
,
32956 _swigt__p_wxVisualAttributes
,
32957 _swigt__p_wxTextCtrl
,
32958 _swigt__p_wxNotebook
,
32959 _swigt__p_wxNotifyEvent
,
32960 _swigt__p_wxArrayString
,
32961 _swigt__p_wxListbook
,
32962 _swigt__p_wxStaticBitmap
,
32963 _swigt__p_wxSlider
,
32964 _swigt__p_wxStaticBox
,
32965 _swigt__p_wxArrayInt
,
32966 _swigt__p_wxContextHelp
,
32968 _swigt__p_wxEvtHandler
,
32969 _swigt__p_wxListEvent
,
32970 _swigt__p_wxCheckListBox
,
32971 _swigt__p_wxListBox
,
32972 _swigt__p_wxBookCtrl
,
32973 _swigt__p_wxSpinButton
,
32974 _swigt__p_wxButton
,
32975 _swigt__p_wxBitmapButton
,
32977 _swigt__p_wxContextHelpButton
,
32978 _swigt__p_wxRadioBox
,
32979 _swigt__p_wxScrollBar
,
32981 _swigt__p_wxTreeItemId
,
32982 _swigt__p_wxComboBox
,
32983 _swigt__p_wxHelpEvent
,
32984 _swigt__p_wxListItem
,
32985 _swigt__p_wxNotebookSizer
,
32986 _swigt__p_wxSpinEvent
,
32987 _swigt__p_wxGenericDragImage
,
32988 _swigt__p_wxSpinCtrl
,
32989 _swigt__p_wxImageList
,
32990 _swigt__p_wxHelpProvider
,
32991 _swigt__p_wxTextAttr
,
32992 _swigt__p_wxSimpleHelpProvider
,
32994 _swigt__p_wxListbookEvent
,
32995 _swigt__p_wxNotebookEvent
,
32996 _swigt__p_wxObject
,
32997 _swigt__p_wxCursor
,
32998 _swigt__p_wxKeyEvent
,
32999 _swigt__p_wxWindow
,
33000 _swigt__p_wxString
,
33001 _swigt__p_wxBitmap
,
33002 _swigt__p_wxTreeEvent
,
33003 _swigt__p_wxMouseEvent
,
33004 _swigt__p_wxCommandEvent
,
33005 _swigt__p_wxStaticText
,
33006 _swigt__p_wxControlWithItems
,
33007 _swigt__p_wxToolBarToolBase
,
33008 _swigt__p_wxColour
,
33009 _swigt__p_wxToolBar
,
33010 _swigt__p_wxBookCtrlSizer
,
33011 _swigt__p_wxValidator
,
33016 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33018 static swig_const_info swig_const_table
[] = {
33028 SWIGEXPORT(void) SWIG_init(void) {
33029 static PyObject
*SWIG_globals
= 0;
33030 static int typeinit
= 0;
33033 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33034 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33035 d
= PyModule_GetDict(m
);
33038 for (i
= 0; swig_types_initial
[i
]; i
++) {
33039 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33043 SWIG_InstallConstants(d
,swig_const_table
);
33045 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33046 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33047 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33048 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33049 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33050 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33051 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33052 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33053 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33054 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33055 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33056 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33057 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33058 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33059 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33060 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33061 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33062 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33063 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33064 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33065 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33066 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33067 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33068 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33069 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33070 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33071 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33072 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33073 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33074 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33075 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33076 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33077 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33078 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33079 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33080 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33081 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33082 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33083 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33084 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33085 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33086 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33087 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33088 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33089 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33090 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33091 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33092 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33093 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33094 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33095 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33096 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33097 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33098 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33099 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33100 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33101 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33102 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33103 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33104 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33105 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33106 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33107 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33108 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33109 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33110 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33111 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33112 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33114 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33115 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33116 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33117 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33118 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33119 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33120 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33121 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33122 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33123 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33124 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33125 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33126 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33127 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33128 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33129 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33130 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33131 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33132 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33133 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33134 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33135 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33136 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33137 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33138 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33139 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33140 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33141 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33142 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33143 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33144 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33145 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33146 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33147 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33148 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33149 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33150 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33151 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33152 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33153 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33154 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33155 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33156 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33157 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33158 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33159 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33160 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33161 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33162 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33163 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33164 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33165 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33166 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33167 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33168 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33169 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33170 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33171 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33172 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33173 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33174 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33175 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33176 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33177 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33178 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33179 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33180 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33181 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33182 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33183 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33184 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33185 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33186 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33187 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33188 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33189 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33190 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33191 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33192 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33193 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33194 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33195 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33196 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33197 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33198 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33199 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33200 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33201 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33202 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33203 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33204 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33205 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33206 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33207 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33208 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33209 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33210 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33211 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33212 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33213 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33214 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33215 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33216 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33217 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33218 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33219 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33220 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33221 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33222 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33223 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33224 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33225 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33226 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33227 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33228 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33229 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33230 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33231 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33232 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33233 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33234 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33235 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33236 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33237 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33238 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33239 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33240 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33241 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33242 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33243 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33244 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33245 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33246 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33247 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33248 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33249 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33250 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33251 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33252 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33253 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33254 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33255 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33257 // Map renamed classes back to their common name for OOR
33258 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33260 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33261 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33262 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33263 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33264 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33265 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33266 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33267 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33268 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33269 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33270 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33271 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33272 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33273 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33274 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33275 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33276 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33277 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33278 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33279 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33280 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33281 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33282 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33283 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33284 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33285 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33286 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33287 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33288 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33289 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33290 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33291 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33292 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33293 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33294 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33295 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33296 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33297 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33299 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33300 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33301 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33302 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33307 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33308 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33309 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33310 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33311 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33312 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33313 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33314 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33315 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33317 // Map renamed classes back to their common name for OOR
33318 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33319 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33321 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33322 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33323 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33324 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33325 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33326 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33327 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33328 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33329 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33330 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33332 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");