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
){
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1044 wxString
*arg3
= 0 ;
1045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1049 long arg6
= (long) 0 ;
1050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1052 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1055 bool temp3
= False
;
1058 bool temp8
= False
;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1061 PyObject
* obj2
= 0 ;
1062 PyObject
* obj3
= 0 ;
1063 PyObject
* obj4
= 0 ;
1064 PyObject
* obj5
= 0 ;
1065 PyObject
* obj6
= 0 ;
1066 PyObject
* obj7
= 0 ;
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 arg3
= wxString_in_helper(obj2
);
1078 if (arg3
== NULL
) SWIG_fail
;
1084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1094 arg6
= (long) SWIG_AsLong(obj5
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1102 PyErr_SetString(PyExc_TypeError
,"null reference");
1108 arg8
= wxString_in_helper(obj7
);
1109 if (arg8
== NULL
) SWIG_fail
;
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= wxPyMake_wxObject(result
);
1145 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (wxButton
*)new wxButton();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= wxPyMake_wxObject(result
);
1169 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxButton
*arg1
= (wxButton
*) 0 ;
1172 wxWindow
*arg2
= (wxWindow
*) 0 ;
1174 wxString
*arg4
= 0 ;
1175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1179 long arg7
= (long) 0 ;
1180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1182 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1185 bool temp4
= False
;
1188 bool temp9
= False
;
1189 PyObject
* obj0
= 0 ;
1190 PyObject
* obj1
= 0 ;
1191 PyObject
* obj2
= 0 ;
1192 PyObject
* obj3
= 0 ;
1193 PyObject
* obj4
= 0 ;
1194 PyObject
* obj5
= 0 ;
1195 PyObject
* obj6
= 0 ;
1196 PyObject
* obj7
= 0 ;
1197 PyObject
* obj8
= 0 ;
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 arg3
= (int) SWIG_AsInt(obj2
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 arg4
= wxString_in_helper(obj3
);
1211 if (arg4
== NULL
) SWIG_fail
;
1217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 arg7
= (long) SWIG_AsLong(obj6
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1235 PyErr_SetString(PyExc_TypeError
,"null reference");
1241 arg9
= wxString_in_helper(obj8
);
1242 if (arg9
== NULL
) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1278 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxButton
*arg1
= (wxButton
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "self", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->SetDefault();
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1303 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= wxButton::GetDefaultSize();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1320 resultptr
= new wxSize((wxSize
&) result
);
1321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1329 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
*resultobj
;
1331 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1332 wxVisualAttributes result
;
1333 PyObject
* obj0
= 0 ;
1335 (char *) "variant", NULL
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1340 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 wxVisualAttributes
* resultptr
;
1352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1361 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1364 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1366 return Py_BuildValue((char *)"");
1368 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxWindow
*arg1
= (wxWindow
*) 0 ;
1372 wxBitmap
*arg3
= 0 ;
1373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1377 long arg6
= (long) wxBU_AUTODRAW
;
1378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1382 wxBitmapButton
*result
;
1385 bool temp8
= False
;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1388 PyObject
* obj2
= 0 ;
1389 PyObject
* obj3
= 0 ;
1390 PyObject
* obj4
= 0 ;
1391 PyObject
* obj5
= 0 ;
1392 PyObject
* obj6
= 0 ;
1393 PyObject
* obj7
= 0 ;
1395 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 arg2
= (int) SWIG_AsInt(obj1
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1407 PyErr_SetString(PyExc_TypeError
,"null reference");
1413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1423 arg6
= (long) SWIG_AsLong(obj5
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1431 PyErr_SetString(PyExc_TypeError
,"null reference");
1437 arg8
= wxString_in_helper(obj7
);
1438 if (arg8
== NULL
) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= wxPyMake_wxObject(result
);
1466 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxBitmapButton
*result
;
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 result
= (wxBitmapButton
*)new wxBitmapButton();
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= wxPyMake_wxObject(result
);
1490 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1493 wxWindow
*arg2
= (wxWindow
*) 0 ;
1495 wxBitmap
*arg4
= 0 ;
1496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1500 long arg7
= (long) wxBU_AUTODRAW
;
1501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1503 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1508 bool temp9
= False
;
1509 PyObject
* obj0
= 0 ;
1510 PyObject
* obj1
= 0 ;
1511 PyObject
* obj2
= 0 ;
1512 PyObject
* obj3
= 0 ;
1513 PyObject
* obj4
= 0 ;
1514 PyObject
* obj5
= 0 ;
1515 PyObject
* obj6
= 0 ;
1516 PyObject
* obj7
= 0 ;
1517 PyObject
* obj8
= 0 ;
1519 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 arg3
= (int) SWIG_AsInt(obj2
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1533 PyErr_SetString(PyExc_TypeError
,"null reference");
1539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1549 arg7
= (long) SWIG_AsLong(obj6
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1563 arg9
= wxString_in_helper(obj8
);
1564 if (arg9
== NULL
) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1592 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1596 PyObject
* obj0
= 0 ;
1598 (char *) "self", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 result
= (arg1
)->GetBitmapLabel();
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1612 wxBitmap
* resultptr
;
1613 resultptr
= new wxBitmap((wxBitmap
&) result
);
1614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1622 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1628 (char *) "self", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (arg1
)->GetBitmapDisabled();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 wxBitmap
* resultptr
;
1643 resultptr
= new wxBitmap((wxBitmap
&) result
);
1644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1652 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1656 PyObject
* obj0
= 0 ;
1658 (char *) "self", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= (arg1
)->GetBitmapFocus();
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 wxBitmap
* resultptr
;
1673 resultptr
= new wxBitmap((wxBitmap
&) result
);
1674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1682 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (arg1
)->GetBitmapSelected();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 wxBitmap
* resultptr
;
1703 resultptr
= new wxBitmap((wxBitmap
&) result
);
1704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1712 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1715 wxBitmap
*arg2
= 0 ;
1716 PyObject
* obj0
= 0 ;
1717 PyObject
* obj1
= 0 ;
1719 (char *) "self",(char *) "bitmap", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1729 PyErr_SetString(PyExc_TypeError
,"null reference");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 Py_INCREF(Py_None
); resultobj
= Py_None
;
1746 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1749 wxBitmap
*arg2
= 0 ;
1750 PyObject
* obj0
= 0 ;
1751 PyObject
* obj1
= 0 ;
1753 (char *) "self",(char *) "bitmap", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1763 PyErr_SetString(PyExc_TypeError
,"null reference");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 Py_INCREF(Py_None
); resultobj
= Py_None
;
1780 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1783 wxBitmap
*arg2
= 0 ;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1787 (char *) "self",(char *) "bitmap", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1797 PyErr_SetString(PyExc_TypeError
,"null reference");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1817 wxBitmap
*arg2
= 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "bitmap", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1831 PyErr_SetString(PyExc_TypeError
,"null reference");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1854 PyObject
* obj1
= 0 ;
1855 PyObject
* obj2
= 0 ;
1857 (char *) "self",(char *) "x",(char *) "y", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 arg2
= (int) SWIG_AsInt(obj1
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1865 arg3
= (int) SWIG_AsInt(obj2
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 (arg1
)->SetMargins(arg2
,arg3
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1885 PyObject
* obj0
= 0 ;
1887 (char *) "self", NULL
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_FromInt((int)result
);
1907 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1913 (char *) "self", NULL
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_FromInt((int)result
);
1933 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1938 return Py_BuildValue((char *)"");
1940 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1941 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1946 static PyObject
*_wrap_CheckBoxNameStr_get() {
1951 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1953 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1960 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxWindow
*arg1
= (wxWindow
*) 0 ;
1964 wxString
*arg3
= 0 ;
1965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1969 long arg6
= (long) 0 ;
1970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1972 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1975 bool temp3
= False
;
1978 bool temp8
= False
;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1981 PyObject
* obj2
= 0 ;
1982 PyObject
* obj3
= 0 ;
1983 PyObject
* obj4
= 0 ;
1984 PyObject
* obj5
= 0 ;
1985 PyObject
* obj6
= 0 ;
1986 PyObject
* obj7
= 0 ;
1988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 arg2
= (int) SWIG_AsInt(obj1
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 arg3
= wxString_in_helper(obj2
);
1998 if (arg3
== NULL
) SWIG_fail
;
2004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2014 arg6
= (long) SWIG_AsLong(obj5
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2022 PyErr_SetString(PyExc_TypeError
,"null reference");
2028 arg8
= wxString_in_helper(obj7
);
2029 if (arg8
== NULL
) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2063 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxCheckBox
*)new wxCheckBox();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2085 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2088 wxWindow
*arg2
= (wxWindow
*) 0 ;
2090 wxString
*arg4
= 0 ;
2091 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2092 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2093 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2094 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2095 long arg7
= (long) 0 ;
2096 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2097 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2098 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2101 bool temp4
= False
;
2104 bool temp9
= False
;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2107 PyObject
* obj2
= 0 ;
2108 PyObject
* obj3
= 0 ;
2109 PyObject
* obj4
= 0 ;
2110 PyObject
* obj5
= 0 ;
2111 PyObject
* obj6
= 0 ;
2112 PyObject
* obj7
= 0 ;
2113 PyObject
* obj8
= 0 ;
2115 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 arg3
= (int) SWIG_AsInt(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 arg4
= wxString_in_helper(obj3
);
2127 if (arg4
== NULL
) SWIG_fail
;
2133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2143 arg7
= (long) SWIG_AsLong(obj6
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2147 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2151 PyErr_SetString(PyExc_TypeError
,"null reference");
2157 arg9
= wxString_in_helper(obj8
);
2158 if (arg9
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (bool)(arg1
)->GetValue();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2222 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (bool)(arg1
)->IsChecked();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2250 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "state", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 arg2
= (bool const) SWIG_AsBool(obj1
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->SetValue(arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_FromInt((int)result
);
2305 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2310 PyObject
* obj1
= 0 ;
2312 (char *) "self",(char *) "state", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2318 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2362 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2366 PyObject
* obj0
= 0 ;
2368 (char *) "self", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2390 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2393 wxVisualAttributes result
;
2394 PyObject
* obj0
= 0 ;
2396 (char *) "variant", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2401 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 wxVisualAttributes
* resultptr
;
2413 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2422 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2425 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2427 return Py_BuildValue((char *)"");
2429 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2435 static PyObject
*_wrap_ChoiceNameStr_get() {
2440 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2449 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxWindow
*arg1
= (wxWindow
*) 0 ;
2452 int arg2
= (int) -1 ;
2453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2457 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2458 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2459 long arg6
= (long) 0 ;
2460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2462 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2467 bool temp5
= False
;
2468 bool temp8
= False
;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2472 PyObject
* obj3
= 0 ;
2473 PyObject
* obj4
= 0 ;
2474 PyObject
* obj5
= 0 ;
2475 PyObject
* obj6
= 0 ;
2476 PyObject
* obj7
= 0 ;
2478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int) SWIG_AsInt(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2502 if (! PySequence_Check(obj4
)) {
2503 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2506 arg5
= new wxArrayString
;
2508 int i
, len
=PySequence_Length(obj4
);
2509 for (i
=0; i
<len
; i
++) {
2510 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2512 PyObject
* str
= PyObject_Unicode(item
);
2514 PyObject
* str
= PyObject_Str(item
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2517 arg5
->Add(Py2wxString(str
));
2524 arg6
= (long) SWIG_AsLong(obj5
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2532 PyErr_SetString(PyExc_TypeError
,"null reference");
2538 arg8
= wxString_in_helper(obj7
);
2539 if (arg8
== NULL
) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2552 if (temp5
) delete arg5
;
2561 if (temp5
) delete arg5
;
2571 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (wxChoice
*)new wxChoice();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2593 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxChoice
*arg1
= (wxChoice
*) 0 ;
2596 wxWindow
*arg2
= (wxWindow
*) 0 ;
2597 int arg3
= (int) -1 ;
2598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2602 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2603 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2604 long arg7
= (long) 0 ;
2605 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2606 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2607 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2608 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2612 bool temp6
= False
;
2613 bool temp9
= False
;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2616 PyObject
* obj2
= 0 ;
2617 PyObject
* obj3
= 0 ;
2618 PyObject
* obj4
= 0 ;
2619 PyObject
* obj5
= 0 ;
2620 PyObject
* obj6
= 0 ;
2621 PyObject
* obj7
= 0 ;
2622 PyObject
* obj8
= 0 ;
2624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 arg3
= (int) SWIG_AsInt(obj2
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2650 if (! PySequence_Check(obj5
)) {
2651 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2654 arg6
= new wxArrayString
;
2656 int i
, len
=PySequence_Length(obj5
);
2657 for (i
=0; i
<len
; i
++) {
2658 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2660 PyObject
* str
= PyObject_Unicode(item
);
2662 PyObject
* str
= PyObject_Str(item
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2665 arg6
->Add(Py2wxString(str
));
2672 arg7
= (long) SWIG_AsLong(obj6
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2676 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2680 PyErr_SetString(PyExc_TypeError
,"null reference");
2686 arg9
= wxString_in_helper(obj8
);
2687 if (arg9
== NULL
) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2702 if (temp6
) delete arg6
;
2711 if (temp6
) delete arg6
;
2721 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxChoice
*arg1
= (wxChoice
*) 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "n", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2734 arg2
= (int const) SWIG_AsInt(obj1
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 (arg1
)->SetSelection(arg2
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxChoice
*arg1
= (wxChoice
*) 0 ;
2753 wxString
*arg2
= 0 ;
2755 bool temp2
= False
;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "string", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= wxString_in_helper(obj1
);
2767 if (arg2
== NULL
) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2794 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxChoice
*arg1
= (wxChoice
*) 0 ;
2798 wxString
*arg3
= 0 ;
2799 bool temp3
= False
;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2802 PyObject
* obj2
= 0 ;
2804 (char *) "self",(char *) "n",(char *) "string", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 arg2
= (int) SWIG_AsInt(obj1
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 arg3
= wxString_in_helper(obj2
);
2814 if (arg3
== NULL
) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2842 wxVisualAttributes result
;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "variant", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2850 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 wxVisualAttributes
* resultptr
;
2862 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2871 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2874 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2876 return Py_BuildValue((char *)"");
2878 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2879 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2884 static PyObject
*_wrap_ComboBoxNameStr_get() {
2889 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2891 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2898 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxWindow
*arg1
= (wxWindow
*) 0 ;
2901 int arg2
= (int) -1 ;
2902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2908 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2909 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2910 long arg7
= (long) 0 ;
2911 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2912 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2913 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2916 bool temp3
= False
;
2919 bool temp6
= False
;
2920 bool temp9
= False
;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2923 PyObject
* obj2
= 0 ;
2924 PyObject
* obj3
= 0 ;
2925 PyObject
* obj4
= 0 ;
2926 PyObject
* obj5
= 0 ;
2927 PyObject
* obj6
= 0 ;
2928 PyObject
* obj7
= 0 ;
2929 PyObject
* obj8
= 0 ;
2931 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 arg2
= (int) SWIG_AsInt(obj1
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2943 arg3
= wxString_in_helper(obj2
);
2944 if (arg3
== NULL
) SWIG_fail
;
2951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2962 if (! PySequence_Check(obj5
)) {
2963 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2966 arg6
= new wxArrayString
;
2968 int i
, len
=PySequence_Length(obj5
);
2969 for (i
=0; i
<len
; i
++) {
2970 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2972 PyObject
* str
= PyObject_Unicode(item
);
2974 PyObject
* str
= PyObject_Str(item
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2977 arg6
->Add(Py2wxString(str
));
2984 arg7
= (long) SWIG_AsLong(obj6
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2992 PyErr_SetString(PyExc_TypeError
,"null reference");
2998 arg9
= wxString_in_helper(obj8
);
2999 if (arg9
== NULL
) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 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
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3016 if (temp6
) delete arg6
;
3029 if (temp6
) delete arg6
;
3039 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (wxComboBox
*)new wxComboBox();
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3061 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3064 wxWindow
*arg2
= (wxWindow
*) 0 ;
3065 int arg3
= (int) -1 ;
3066 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3072 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3073 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3074 long arg8
= (long) 0 ;
3075 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3076 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3077 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3078 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3080 bool temp4
= False
;
3083 bool temp7
= False
;
3084 bool temp10
= False
;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj2
= 0 ;
3088 PyObject
* obj3
= 0 ;
3089 PyObject
* obj4
= 0 ;
3090 PyObject
* obj5
= 0 ;
3091 PyObject
* obj6
= 0 ;
3092 PyObject
* obj7
= 0 ;
3093 PyObject
* obj8
= 0 ;
3094 PyObject
* obj9
= 0 ;
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 arg3
= (int) SWIG_AsInt(obj2
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3110 arg4
= wxString_in_helper(obj3
);
3111 if (arg4
== NULL
) SWIG_fail
;
3118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3129 if (! PySequence_Check(obj6
)) {
3130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3133 arg7
= new wxArrayString
;
3135 int i
, len
=PySequence_Length(obj6
);
3136 for (i
=0; i
<len
; i
++) {
3137 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3139 PyObject
* str
= PyObject_Unicode(item
);
3141 PyObject
* str
= PyObject_Str(item
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3144 arg7
->Add(Py2wxString(str
));
3151 arg8
= (long) SWIG_AsLong(obj7
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3159 PyErr_SetString(PyExc_TypeError
,"null reference");
3165 arg10
= wxString_in_helper(obj9
);
3166 if (arg10
== NULL
) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 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
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3185 if (temp7
) delete arg7
;
3198 if (temp7
) delete arg7
;
3208 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= ((wxComboBox
const *)arg1
)->GetValue();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3240 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 wxString
*arg2
= 0 ;
3244 bool temp2
= False
;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "value", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 arg2
= wxString_in_helper(obj1
);
3256 if (arg2
== NULL
) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetValue((wxString
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "pos", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 arg2
= (long) SWIG_AsLong(obj1
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 (arg1
)->SetInsertionPoint(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3391 (char *) "self", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= SWIG_FromLong((long)result
);
3411 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_FromLong((long)result
);
3437 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3442 wxString
*arg4
= 0 ;
3443 bool temp4
= False
;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3447 PyObject
* obj3
= 0 ;
3449 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3455 arg2
= (long) SWIG_AsLong(obj1
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3457 arg3
= (long) SWIG_AsLong(obj2
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 arg4
= wxString_in_helper(obj3
);
3461 if (arg4
== NULL
) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "n", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int) SWIG_AsInt(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetSelection(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "from",(char *) "to", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= (long) SWIG_AsLong(obj1
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3532 arg3
= (long) SWIG_AsLong(obj2
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetSelection(arg2
,arg3
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3551 wxString
*arg2
= 0 ;
3553 bool temp2
= False
;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3557 (char *) "self",(char *) "string", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 arg2
= wxString_in_helper(obj1
);
3565 if (arg2
== NULL
) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3592 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3596 wxString
*arg3
= 0 ;
3597 bool temp3
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3600 PyObject
* obj2
= 0 ;
3602 (char *) "self",(char *) "n",(char *) "string", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg2
= (int) SWIG_AsInt(obj1
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 arg3
= wxString_in_helper(obj2
);
3612 if (arg3
== NULL
) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3637 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "editable", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg2
= (bool) SWIG_AsBool(obj1
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->SetEditable(arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetInsertionPointEnd();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long) SWIG_AsLong(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long) SWIG_AsLong(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->Remove(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3727 wxVisualAttributes result
;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "variant", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3735 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 wxVisualAttributes
* resultptr
;
3747 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3756 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3761 return Py_BuildValue((char *)"");
3763 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3764 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3769 static PyObject
*_wrap_GaugeNameStr_get() {
3774 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3776 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3783 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxWindow
*arg1
= (wxWindow
*) 0 ;
3788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3792 long arg6
= (long) wxGA_HORIZONTAL
;
3793 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3794 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3795 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3796 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3800 bool temp8
= False
;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 arg2
= (int) SWIG_AsInt(obj1
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3818 arg3
= (int) SWIG_AsInt(obj2
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3833 arg6
= (long) SWIG_AsLong(obj5
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3841 PyErr_SetString(PyExc_TypeError
,"null reference");
3847 arg8
= wxString_in_helper(obj7
);
3848 if (arg8
== NULL
) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3874 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (wxGauge
*)new wxGauge();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3896 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxGauge
*arg1
= (wxGauge
*) 0 ;
3899 wxWindow
*arg2
= (wxWindow
*) 0 ;
3902 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3903 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3904 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3905 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3906 long arg7
= (long) wxGA_HORIZONTAL
;
3907 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3908 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3909 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3910 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= False
;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg3
= (int) SWIG_AsInt(obj2
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3935 arg4
= (int) SWIG_AsInt(obj3
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3940 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3946 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3950 arg7
= (long) SWIG_AsLong(obj6
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3958 PyErr_SetString(PyExc_TypeError
,"null reference");
3964 arg9
= wxString_in_helper(obj8
);
3965 if (arg9
== NULL
) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3993 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxGauge
*arg1
= (wxGauge
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
4000 (char *) "self",(char *) "range", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 arg2
= (int) SWIG_AsInt(obj1
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->SetRange(arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxGauge
*arg1
= (wxGauge
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_FromInt((int)result
);
4048 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxGauge
*arg1
= (wxGauge
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "pos", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetValue(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxGauge
*arg1
= (wxGauge
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_FromInt((int)result
);
4103 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxGauge
*arg1
= (wxGauge
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "self", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4131 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4138 (char *) "self",(char *) "w", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 arg2
= (int) SWIG_AsInt(obj1
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetShadowWidth(arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxGauge
*arg1
= (wxGauge
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_FromInt((int)result
);
4186 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxGauge
*arg1
= (wxGauge
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4193 (char *) "self",(char *) "w", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 arg2
= (int) SWIG_AsInt(obj1
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 (arg1
)->SetBezelFace(arg2
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 Py_INCREF(Py_None
); resultobj
= Py_None
;
4215 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxGauge
*arg1
= (wxGauge
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4221 (char *) "self", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_FromInt((int)result
);
4241 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4244 wxVisualAttributes result
;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "variant", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4252 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 wxVisualAttributes
* resultptr
;
4264 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4273 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4278 return Py_BuildValue((char *)"");
4280 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4281 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4286 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4291 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4293 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4300 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4301 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4306 static PyObject
*_wrap_StaticBoxNameStr_get() {
4311 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4313 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4320 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4321 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4326 static PyObject
*_wrap_StaticTextNameStr_get() {
4331 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4333 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4340 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxWindow
*arg1
= (wxWindow
*) 0 ;
4344 wxString
*arg3
= 0 ;
4345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4349 long arg6
= (long) 0 ;
4350 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4352 wxStaticBox
*result
;
4353 bool temp3
= False
;
4356 bool temp7
= False
;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 PyObject
* obj3
= 0 ;
4361 PyObject
* obj4
= 0 ;
4362 PyObject
* obj5
= 0 ;
4363 PyObject
* obj6
= 0 ;
4365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4371 arg2
= (int) SWIG_AsInt(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 arg3
= wxString_in_helper(obj2
);
4375 if (arg3
== NULL
) SWIG_fail
;
4381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4391 arg6
= (long) SWIG_AsLong(obj5
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 arg7
= wxString_in_helper(obj6
);
4397 if (arg7
== NULL
) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= wxPyMake_wxObject(result
);
4433 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStaticBox
*result
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (wxStaticBox
*)new wxStaticBox();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= wxPyMake_wxObject(result
);
4457 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4460 wxWindow
*arg2
= (wxWindow
*) 0 ;
4462 wxString
*arg4
= 0 ;
4463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4467 long arg7
= (long) 0 ;
4468 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4471 bool temp4
= False
;
4474 bool temp8
= False
;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4477 PyObject
* obj2
= 0 ;
4478 PyObject
* obj3
= 0 ;
4479 PyObject
* obj4
= 0 ;
4480 PyObject
* obj5
= 0 ;
4481 PyObject
* obj6
= 0 ;
4482 PyObject
* obj7
= 0 ;
4484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 arg3
= (int) SWIG_AsInt(obj2
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 arg4
= wxString_in_helper(obj3
);
4496 if (arg4
== NULL
) SWIG_fail
;
4502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4512 arg7
= (long) SWIG_AsLong(obj6
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4517 arg8
= wxString_in_helper(obj7
);
4518 if (arg8
== NULL
) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4557 wxVisualAttributes result
;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "variant", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4565 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 wxVisualAttributes
* resultptr
;
4577 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4586 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4591 return Py_BuildValue((char *)"");
4593 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxWindow
*arg1
= (wxWindow
*) 0 ;
4597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4601 long arg5
= (long) wxLI_HORIZONTAL
;
4602 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4604 wxStaticLine
*result
;
4607 bool temp6
= False
;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 PyObject
* obj2
= 0 ;
4611 PyObject
* obj3
= 0 ;
4612 PyObject
* obj4
= 0 ;
4613 PyObject
* obj5
= 0 ;
4615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 arg2
= (int) SWIG_AsInt(obj1
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4636 arg5
= (long) SWIG_AsLong(obj4
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4641 arg6
= wxString_in_helper(obj5
);
4642 if (arg6
== NULL
) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4668 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxStaticLine
*result
;
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxStaticLine
*)new wxStaticLine();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4690 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4693 wxWindow
*arg2
= (wxWindow
*) 0 ;
4695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4699 long arg6
= (long) wxLI_HORIZONTAL
;
4700 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4705 bool temp7
= False
;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4710 PyObject
* obj4
= 0 ;
4711 PyObject
* obj5
= 0 ;
4712 PyObject
* obj6
= 0 ;
4714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 arg3
= (int) SWIG_AsInt(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4737 arg6
= (long) SWIG_AsLong(obj5
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4742 arg7
= wxString_in_helper(obj6
);
4743 if (arg7
== NULL
) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4771 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (int)wxStaticLine::GetDefaultSize();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_FromInt((int)result
);
4821 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4824 wxVisualAttributes result
;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "variant", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4832 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 wxVisualAttributes
* resultptr
;
4844 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4853 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4856 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4858 return Py_BuildValue((char *)"");
4860 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxWindow
*arg1
= (wxWindow
*) 0 ;
4864 wxString
*arg3
= 0 ;
4865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4869 long arg6
= (long) 0 ;
4870 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4872 wxStaticText
*result
;
4873 bool temp3
= False
;
4876 bool temp7
= False
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4881 PyObject
* obj4
= 0 ;
4882 PyObject
* obj5
= 0 ;
4883 PyObject
* obj6
= 0 ;
4885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 arg2
= (int) SWIG_AsInt(obj1
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 arg3
= wxString_in_helper(obj2
);
4895 if (arg3
== NULL
) SWIG_fail
;
4901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4911 arg6
= (long) SWIG_AsLong(obj5
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 arg7
= wxString_in_helper(obj6
);
4917 if (arg7
== NULL
) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4951 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxStaticText
*result
;
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (wxStaticText
*)new wxStaticText();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4973 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4976 wxWindow
*arg2
= (wxWindow
*) 0 ;
4978 wxString
*arg4
= 0 ;
4979 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4980 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4981 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4982 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4983 long arg7
= (long) 0 ;
4984 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4987 bool temp4
= False
;
4990 bool temp8
= False
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 PyObject
* obj2
= 0 ;
4994 PyObject
* obj3
= 0 ;
4995 PyObject
* obj4
= 0 ;
4996 PyObject
* obj5
= 0 ;
4997 PyObject
* obj6
= 0 ;
4998 PyObject
* obj7
= 0 ;
5000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg3
= (int) SWIG_AsInt(obj2
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 arg4
= wxString_in_helper(obj3
);
5012 if (arg4
== NULL
) SWIG_fail
;
5018 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5024 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5028 arg7
= (long) SWIG_AsLong(obj6
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5033 arg8
= wxString_in_helper(obj7
);
5034 if (arg8
== NULL
) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5070 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5073 wxVisualAttributes result
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "variant", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5081 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 wxVisualAttributes
* resultptr
;
5093 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5102 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5105 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5107 return Py_BuildValue((char *)"");
5109 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxWindow
*arg1
= (wxWindow
*) 0 ;
5113 wxBitmap
*arg3
= 0 ;
5114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5118 long arg6
= (long) 0 ;
5119 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5121 wxStaticBitmap
*result
;
5124 bool temp7
= False
;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5127 PyObject
* obj2
= 0 ;
5128 PyObject
* obj3
= 0 ;
5129 PyObject
* obj4
= 0 ;
5130 PyObject
* obj5
= 0 ;
5131 PyObject
* obj6
= 0 ;
5133 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 arg2
= (int) SWIG_AsInt(obj1
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5141 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5145 PyErr_SetString(PyExc_TypeError
,"null reference");
5151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5161 arg6
= (long) SWIG_AsLong(obj5
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5166 arg7
= wxString_in_helper(obj6
);
5167 if (arg7
== NULL
) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5193 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStaticBitmap
*result
;
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5215 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5218 wxWindow
*arg2
= (wxWindow
*) 0 ;
5220 wxBitmap
*arg4
= 0 ;
5221 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5222 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5223 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5224 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5225 long arg7
= (long) 0 ;
5226 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5231 bool temp8
= False
;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 PyObject
* obj2
= 0 ;
5235 PyObject
* obj3
= 0 ;
5236 PyObject
* obj4
= 0 ;
5237 PyObject
* obj5
= 0 ;
5238 PyObject
* obj6
= 0 ;
5239 PyObject
* obj7
= 0 ;
5241 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg3
= (int) SWIG_AsInt(obj2
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5255 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5271 arg7
= (long) SWIG_AsLong(obj6
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 arg8
= wxString_in_helper(obj7
);
5277 if (arg8
== NULL
) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (arg1
)->GetBitmap();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 wxBitmap
* resultptr
;
5326 resultptr
= new wxBitmap((wxBitmap
&) result
);
5327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5335 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5338 wxBitmap
*arg2
= 0 ;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5342 (char *) "self",(char *) "bitmap", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5352 PyErr_SetString(PyExc_TypeError
,"null reference");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "icon", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5386 PyErr_SetString(PyExc_TypeError
,"null reference");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5406 wxVisualAttributes result
;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "variant", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5414 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxVisualAttributes
* resultptr
;
5426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5435 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5438 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5440 return Py_BuildValue((char *)"");
5442 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5443 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5448 static PyObject
*_wrap_ListBoxNameStr_get() {
5453 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5455 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5462 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxWindow
*arg1
= (wxWindow
*) 0 ;
5466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5470 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5471 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5472 long arg6
= (long) 0 ;
5473 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5474 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5475 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5480 bool temp5
= False
;
5481 bool temp8
= False
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= (int) SWIG_AsInt(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5513 if (! PySequence_Check(obj4
)) {
5514 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5517 arg5
= new wxArrayString
;
5519 int i
, len
=PySequence_Length(obj4
);
5520 for (i
=0; i
<len
; i
++) {
5521 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5523 PyObject
* str
= PyObject_Unicode(item
);
5525 PyObject
* str
= PyObject_Str(item
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5528 arg5
->Add(Py2wxString(str
));
5535 arg6
= (long) SWIG_AsLong(obj5
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5543 PyErr_SetString(PyExc_TypeError
,"null reference");
5549 arg8
= wxString_in_helper(obj7
);
5550 if (arg8
== NULL
) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5563 if (temp5
) delete arg5
;
5572 if (temp5
) delete arg5
;
5582 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (wxListBox
*)new wxListBox();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5604 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxWindow
*arg2
= (wxWindow
*) 0 ;
5609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5613 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5614 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5615 long arg7
= (long) 0 ;
5616 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5617 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5618 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5619 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5623 bool temp6
= False
;
5624 bool temp9
= False
;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 PyObject
* obj2
= 0 ;
5628 PyObject
* obj3
= 0 ;
5629 PyObject
* obj4
= 0 ;
5630 PyObject
* obj5
= 0 ;
5631 PyObject
* obj6
= 0 ;
5632 PyObject
* obj7
= 0 ;
5633 PyObject
* obj8
= 0 ;
5635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 arg3
= (int) SWIG_AsInt(obj2
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5659 if (! PySequence_Check(obj5
)) {
5660 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5663 arg6
= new wxArrayString
;
5665 int i
, len
=PySequence_Length(obj5
);
5666 for (i
=0; i
<len
; i
++) {
5667 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5669 PyObject
* str
= PyObject_Unicode(item
);
5671 PyObject
* str
= PyObject_Str(item
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5674 arg6
->Add(Py2wxString(str
));
5681 arg7
= (long) SWIG_AsLong(obj6
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5689 PyErr_SetString(PyExc_TypeError
,"null reference");
5695 arg9
= wxString_in_helper(obj8
);
5696 if (arg9
== NULL
) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 if (temp6
) delete arg6
;
5720 if (temp6
) delete arg6
;
5730 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxListBox
*arg1
= (wxListBox
*) 0 ;
5733 wxString
*arg2
= 0 ;
5735 PyObject
*arg4
= (PyObject
*) NULL
;
5736 bool temp2
= False
;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5739 PyObject
* obj2
= 0 ;
5740 PyObject
* obj3
= 0 ;
5742 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= wxString_in_helper(obj1
);
5750 if (arg2
== NULL
) SWIG_fail
;
5753 arg3
= (int) SWIG_AsInt(obj2
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxListBox
*arg1
= (wxListBox
*) 0 ;
5783 wxArrayString
*arg2
= 0 ;
5785 bool temp2
= False
;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5788 PyObject
* obj2
= 0 ;
5790 (char *) "self",(char *) "items",(char *) "pos", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if (! PySequence_Check(obj1
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg2
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj1
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5807 PyObject
* str
= PyObject_Unicode(item
);
5809 PyObject
* str
= PyObject_Str(item
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5812 arg2
->Add(Py2wxString(str
));
5817 arg3
= (int) SWIG_AsInt(obj2
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 if (temp2
) delete arg2
;
5833 if (temp2
) delete arg2
;
5839 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxListBox
*arg1
= (wxListBox
*) 0 ;
5842 wxArrayString
*arg2
= 0 ;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "items", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 if (! PySequence_Check(obj1
)) {
5855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5858 arg2
= new wxArrayString
;
5860 int i
, len
=PySequence_Length(obj1
);
5861 for (i
=0; i
<len
; i
++) {
5862 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5864 PyObject
* str
= PyObject_Unicode(item
);
5866 PyObject
* str
= PyObject_Str(item
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5869 arg2
->Add(Py2wxString(str
));
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->Set((wxArrayString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 if (temp2
) delete arg2
;
5888 if (temp2
) delete arg2
;
5894 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxListBox
*arg1
= (wxListBox
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "n", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int) SWIG_AsInt(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxListBox
*arg1
= (wxListBox
*) 0 ;
5930 bool arg3
= (bool) True
;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5935 (char *) "self",(char *) "n",(char *) "select", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 arg2
= (int) SWIG_AsInt(obj1
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 arg3
= (bool) SWIG_AsBool(obj2
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 (arg1
)->SetSelection(arg2
,arg3
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxListBox
*arg1
= (wxListBox
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "n", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int) SWIG_AsInt(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->Select(arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxListBox
*arg1
= (wxListBox
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "n", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 arg2
= (int) SWIG_AsInt(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->Deselect(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxListBox
*arg1
= (wxListBox
*) 0 ;
6022 int arg2
= (int) -1 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "itemToLeaveSelected", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 arg2
= (int) SWIG_AsInt(obj1
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->DeselectAll(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxListBox
*arg1
= (wxListBox
*) 0 ;
6053 wxString
*arg2
= 0 ;
6054 bool arg3
= (bool) True
;
6056 bool temp2
= False
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6061 (char *) "self",(char *) "s",(char *) "select", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= wxString_in_helper(obj1
);
6069 if (arg2
== NULL
) SWIG_fail
;
6073 arg3
= (bool) SWIG_AsBool(obj2
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxListBox
*arg1
= (wxListBox
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6126 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "n", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (int) SWIG_AsInt(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetFirstItem(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxListBox
*arg1
= (wxListBox
*) 0 ;
6158 wxString
*arg2
= 0 ;
6159 bool temp2
= False
;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "s", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 arg2
= wxString_in_helper(obj1
);
6171 if (arg2
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxListBox
*arg1
= (wxListBox
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "n", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 arg2
= (int) SWIG_AsInt(obj1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->EnsureVisible(arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxListBox
*arg1
= (wxListBox
*) 0 ;
6228 wxString
*arg2
= 0 ;
6229 bool temp2
= False
;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "s", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= wxString_in_helper(obj1
);
6241 if (arg2
== NULL
) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxListBox
*arg1
= (wxListBox
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxListBox
*arg1
= (wxListBox
*) 0 ;
6298 wxColour
*arg3
= 0 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6302 PyObject
* obj2
= 0 ;
6304 (char *) "self",(char *) "item",(char *) "c", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 Py_INCREF(Py_None
); resultobj
= Py_None
;
6330 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxListBox
*arg1
= (wxListBox
*) 0 ;
6334 wxColour
*arg3
= 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "item",(char *) "c", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= (int) SWIG_AsInt(obj1
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxListBox
*arg1
= (wxListBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6375 (char *) "self",(char *) "item",(char *) "f", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 arg2
= (int) SWIG_AsInt(obj1
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6387 PyErr_SetString(PyExc_TypeError
,"null reference");
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6407 wxVisualAttributes result
;
6408 PyObject
* obj0
= 0 ;
6410 (char *) "variant", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6415 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 wxVisualAttributes
* resultptr
;
6427 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6436 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6441 return Py_BuildValue((char *)"");
6443 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxWindow
*arg1
= (wxWindow
*) 0 ;
6447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6451 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6452 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6453 long arg6
= (long) 0 ;
6454 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6455 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6456 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6458 wxCheckListBox
*result
;
6461 bool temp5
= False
;
6462 bool temp8
= False
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 PyObject
* obj3
= 0 ;
6467 PyObject
* obj4
= 0 ;
6468 PyObject
* obj5
= 0 ;
6469 PyObject
* obj6
= 0 ;
6470 PyObject
* obj7
= 0 ;
6472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= (int) SWIG_AsInt(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6494 if (! PySequence_Check(obj4
)) {
6495 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6498 arg5
= new wxArrayString
;
6500 int i
, len
=PySequence_Length(obj4
);
6501 for (i
=0; i
<len
; i
++) {
6502 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6504 PyObject
* str
= PyObject_Unicode(item
);
6506 PyObject
* str
= PyObject_Str(item
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6509 arg5
->Add(Py2wxString(str
));
6516 arg6
= (long) SWIG_AsLong(obj5
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6524 PyErr_SetString(PyExc_TypeError
,"null reference");
6530 arg8
= wxString_in_helper(obj7
);
6531 if (arg8
== NULL
) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6544 if (temp5
) delete arg5
;
6553 if (temp5
) delete arg5
;
6563 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxCheckListBox
*result
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxCheckListBox
*)new wxCheckListBox();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6585 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6588 wxWindow
*arg2
= (wxWindow
*) 0 ;
6590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6594 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6595 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6596 long arg7
= (long) 0 ;
6597 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6598 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6599 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6600 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6604 bool temp6
= False
;
6605 bool temp9
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6611 PyObject
* obj5
= 0 ;
6612 PyObject
* obj6
= 0 ;
6613 PyObject
* obj7
= 0 ;
6614 PyObject
* obj8
= 0 ;
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg3
= (int) SWIG_AsInt(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6640 if (! PySequence_Check(obj5
)) {
6641 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6644 arg6
= new wxArrayString
;
6646 int i
, len
=PySequence_Length(obj5
);
6647 for (i
=0; i
<len
; i
++) {
6648 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6650 PyObject
* str
= PyObject_Unicode(item
);
6652 PyObject
* str
= PyObject_Str(item
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6655 arg6
->Add(Py2wxString(str
));
6662 arg7
= (long) SWIG_AsLong(obj6
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6670 PyErr_SetString(PyExc_TypeError
,"null reference");
6676 arg9
= wxString_in_helper(obj8
);
6677 if (arg9
== NULL
) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6692 if (temp6
) delete arg6
;
6701 if (temp6
) delete arg6
;
6711 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "index", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg2
= (int) SWIG_AsInt(obj1
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)(arg1
)->IsChecked(arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6747 int arg3
= (int) True
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6752 (char *) "self",(char *) "index",(char *) "check", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (int) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 arg3
= (int) SWIG_AsInt(obj2
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->Check(arg2
,arg3
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (int)(arg1
)->GetItemHeight();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_FromInt((int)result
);
6804 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
*resultobj
;
6806 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6810 PyObject
* obj0
= 0 ;
6811 PyObject
* obj1
= 0 ;
6813 (char *) "self",(char *) "pt", NULL
6816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6825 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6827 wxPyEndAllowThreads(__tstate
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6830 resultobj
= SWIG_FromInt((int)result
);
6837 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
*resultobj
;
6839 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6845 PyObject
* obj2
= 0 ;
6847 (char *) "self",(char *) "x",(char *) "y", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6853 arg2
= (int) SWIG_AsInt(obj1
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6855 arg3
= (int) SWIG_AsInt(obj2
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 resultobj
= SWIG_FromInt((int)result
);
6871 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6876 return Py_BuildValue((char *)"");
6878 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6879 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6884 static PyObject
*_wrap_TextCtrlNameStr_get() {
6889 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6891 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6898 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6899 PyObject
*resultobj
;
6902 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxTextAttr
*)new wxTextAttr();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6917 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6918 PyObject
*resultobj
;
6919 wxColour
*arg1
= 0 ;
6920 wxColour
const &arg2_defvalue
= wxNullColour
;
6921 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6922 wxFont
const &arg3_defvalue
= wxNullFont
;
6923 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6924 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6928 PyObject
* obj0
= 0 ;
6929 PyObject
* obj1
= 0 ;
6930 PyObject
* obj2
= 0 ;
6931 PyObject
* obj3
= 0 ;
6933 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6936 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6941 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6945 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6949 PyErr_SetString(PyExc_TypeError
,"null reference");
6954 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6971 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6976 argc
= PyObject_Length(args
);
6977 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6978 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6981 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6983 if ((argc
>= 1) && (argc
<= 4)) {
6986 _v
= wxColour_typecheck(argv
[0]);
6990 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6993 _v
= wxColour_typecheck(argv
[1]);
6997 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7001 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
7010 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7012 _v
= SWIG_CheckInt(argv
[3]);
7014 return _wrap_new_TextAttr__SWIG_1(self
,args
);
7021 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7026 static PyObject
*_wrap_delete_TextAttr(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:delete_TextAttr",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_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7052 PyObject
*resultobj
;
7053 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7056 (char *) "self", NULL
7059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 wxPyEndAllowThreads(__tstate
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 Py_INCREF(Py_None
); resultobj
= Py_None
;
7076 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7079 wxColour
*arg2
= 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "colText", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7092 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7108 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7111 wxColour
*arg2
= 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "colBack", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7133 Py_INCREF(Py_None
); resultobj
= Py_None
;
7140 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7144 long arg3
= (long) wxTEXT_ATTR_FONT
;
7145 PyObject
* obj0
= 0 ;
7146 PyObject
* obj1
= 0 ;
7147 PyObject
* obj2
= 0 ;
7149 (char *) "self",(char *) "font",(char *) "flags", NULL
7152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7159 PyErr_SetString(PyExc_TypeError
,"null reference");
7163 arg3
= (long) SWIG_AsLong(obj2
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "alignment", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7193 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7202 Py_INCREF(Py_None
); resultobj
= Py_None
;
7209 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
*resultobj
;
7211 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7212 wxArrayInt
*arg2
= 0 ;
7213 bool temp2
= False
;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7217 (char *) "self",(char *) "tabs", NULL
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7224 if (! PySequence_Check(obj1
)) {
7225 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7228 arg2
= new wxArrayInt
;
7230 int i
, len
=PySequence_Length(obj1
);
7231 for (i
=0; i
<len
; i
++) {
7232 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7233 PyObject
* number
= PyNumber_Int(item
);
7234 arg2
->Add(PyInt_AS_LONG(number
));
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 if (temp2
) delete arg2
;
7253 if (temp2
) delete arg2
;
7259 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "indent", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 arg2
= (int) SWIG_AsInt(obj1
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 (arg1
)->SetLeftIndent(arg2
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7288 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7293 PyObject
* obj1
= 0 ;
7295 (char *) "self",(char *) "indent", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 arg2
= (int) SWIG_AsInt(obj1
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7305 (arg1
)->SetRightIndent(arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 Py_INCREF(Py_None
); resultobj
= Py_None
;
7317 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
;
7319 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7321 PyObject
* obj0
= 0 ;
7322 PyObject
* obj1
= 0 ;
7324 (char *) "self",(char *) "flags", NULL
7327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7330 arg2
= (long) SWIG_AsLong(obj1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->SetFlags(arg2
);
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 Py_INCREF(Py_None
); resultobj
= Py_None
;
7346 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7347 PyObject
*resultobj
;
7348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7350 PyObject
* obj0
= 0 ;
7352 (char *) "self", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7374 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7375 PyObject
*resultobj
;
7376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7378 PyObject
* obj0
= 0 ;
7380 (char *) "self", NULL
7383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7402 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7408 (char *) "self", NULL
7411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7430 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7431 PyObject
*resultobj
;
7432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7434 PyObject
* obj0
= 0 ;
7436 (char *) "self", NULL
7439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7446 wxPyEndAllowThreads(__tstate
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7458 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7486 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7514 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7542 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7547 PyObject
* obj0
= 0 ;
7548 PyObject
* obj1
= 0 ;
7550 (char *) "self",(char *) "flag", NULL
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7556 arg2
= (long) SWIG_AsLong(obj1
);
7557 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7574 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7590 result
= (wxColour
*) &_result_ref
;
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7603 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7609 (char *) "self", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7619 result
= (wxColour
*) &_result_ref
;
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7632 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7647 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7648 result
= (wxFont
*) &_result_ref
;
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 wxFont
* resultptr
= new wxFont(*result
);
7656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7664 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_FromInt((int)result
);
7690 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7705 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7706 result
= (wxArrayInt
*) &_result_ref
;
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= PyList_New(0);
7715 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7716 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7717 PyList_Append(resultobj
, val
);
7727 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_FromLong((long)result
);
7753 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_FromLong((long)result
);
7779 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 resultobj
= SWIG_FromLong((long)result
);
7805 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7806 PyObject
*resultobj
;
7807 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7809 PyObject
* obj0
= 0 ;
7811 (char *) "self", NULL
7814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7819 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7821 wxPyEndAllowThreads(__tstate
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7833 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxTextAttr
*arg1
= 0 ;
7836 wxTextAttr
*arg2
= 0 ;
7837 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7839 PyObject
* obj0
= 0 ;
7840 PyObject
* obj1
= 0 ;
7841 PyObject
* obj2
= 0 ;
7843 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7851 PyErr_SetString(PyExc_TypeError
,"null reference");
7854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7858 PyErr_SetString(PyExc_TypeError
,"null reference");
7861 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 wxTextAttr
* resultptr
;
7872 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7881 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7884 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7886 return Py_BuildValue((char *)"");
7888 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxWindow
*arg1
= (wxWindow
*) 0 ;
7892 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7898 long arg6
= (long) 0 ;
7899 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7900 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7901 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7902 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7904 bool temp3
= False
;
7907 bool temp8
= False
;
7908 PyObject
* obj0
= 0 ;
7909 PyObject
* obj1
= 0 ;
7910 PyObject
* obj2
= 0 ;
7911 PyObject
* obj3
= 0 ;
7912 PyObject
* obj4
= 0 ;
7913 PyObject
* obj5
= 0 ;
7914 PyObject
* obj6
= 0 ;
7915 PyObject
* obj7
= 0 ;
7917 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 arg2
= (int) SWIG_AsInt(obj1
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 arg3
= wxString_in_helper(obj2
);
7928 if (arg3
== NULL
) SWIG_fail
;
7935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7945 arg6
= (long) SWIG_AsLong(obj5
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7949 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7953 PyErr_SetString(PyExc_TypeError
,"null reference");
7959 arg8
= wxString_in_helper(obj7
);
7960 if (arg8
== NULL
) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7972 resultobj
= wxPyMake_wxObject(result
);
7996 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (wxTextCtrl
*)new wxTextCtrl();
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= wxPyMake_wxObject(result
);
8020 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8021 PyObject
*resultobj
;
8022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8023 wxWindow
*arg2
= (wxWindow
*) 0 ;
8025 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8026 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8027 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8028 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8029 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8030 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8031 long arg7
= (long) 0 ;
8032 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8033 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8034 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8035 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8037 bool temp4
= False
;
8040 bool temp9
= False
;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8044 PyObject
* obj3
= 0 ;
8045 PyObject
* obj4
= 0 ;
8046 PyObject
* obj5
= 0 ;
8047 PyObject
* obj6
= 0 ;
8048 PyObject
* obj7
= 0 ;
8049 PyObject
* obj8
= 0 ;
8051 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8059 arg3
= (int) SWIG_AsInt(obj2
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 arg4
= wxString_in_helper(obj3
);
8064 if (arg4
== NULL
) SWIG_fail
;
8071 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8077 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8081 arg7
= (long) SWIG_AsLong(obj6
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8085 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8089 PyErr_SetString(PyExc_TypeError
,"null reference");
8095 arg9
= wxString_in_helper(obj8
);
8096 if (arg9
== NULL
) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8132 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "self", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8148 wxPyEndAllowThreads(__tstate
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8153 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8155 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8164 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8167 wxString
*arg2
= 0 ;
8168 bool temp2
= False
;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8172 (char *) "self",(char *) "value", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 arg2
= wxString_in_helper(obj1
);
8180 if (arg2
== NULL
) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->SetValue((wxString
const &)*arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8211 PyObject
* obj0
= 0 ;
8212 PyObject
* obj1
= 0 ;
8213 PyObject
* obj2
= 0 ;
8215 (char *) "self",(char *) "from",(char *) "to", NULL
8218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8221 arg2
= (long) SWIG_AsLong(obj1
);
8222 if (PyErr_Occurred()) SWIG_fail
;
8223 arg3
= (long) SWIG_AsLong(obj2
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8227 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8229 wxPyEndAllowThreads(__tstate
);
8230 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8245 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "lineNo", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= (long) SWIG_AsLong(obj1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= SWIG_FromInt((int)result
);
8275 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "lineNo", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= (long) SWIG_AsLong(obj1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8311 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= SWIG_FromInt((int)result
);
8337 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "self", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8353 wxPyEndAllowThreads(__tstate
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8369 PyObject
* obj0
= 0 ;
8371 (char *) "self", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
;
8395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8397 PyObject
* obj0
= 0 ;
8399 (char *) "self", NULL
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8421 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8449 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8452 long *arg2
= (long *) 0 ;
8453 long *arg3
= (long *) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 Py_INCREF(Py_None
); resultobj
= Py_None
;
8475 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8476 resultobj
= t_output_helper(resultobj
,o
);
8479 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8480 resultobj
= t_output_helper(resultobj
,o
);
8488 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8509 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8511 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8520 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8523 PyObject
* obj0
= 0 ;
8525 (char *) "self", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8535 wxPyEndAllowThreads(__tstate
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 Py_INCREF(Py_None
); resultobj
= Py_None
;
8545 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
;
8547 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8550 wxString
*arg4
= 0 ;
8551 bool temp4
= False
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8555 PyObject
* obj3
= 0 ;
8557 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8563 arg2
= (long) SWIG_AsLong(obj1
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8565 arg3
= (long) SWIG_AsLong(obj2
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 arg4
= wxString_in_helper(obj3
);
8569 if (arg4
== NULL
) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 Py_INCREF(Py_None
); resultobj
= Py_None
;
8594 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8600 PyObject
* obj1
= 0 ;
8601 PyObject
* obj2
= 0 ;
8603 (char *) "self",(char *) "from",(char *) "to", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8609 arg2
= (long) SWIG_AsLong(obj1
);
8610 if (PyErr_Occurred()) SWIG_fail
;
8611 arg3
= (long) SWIG_AsLong(obj2
);
8612 if (PyErr_Occurred()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 (arg1
)->Remove(arg2
,arg3
);
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 Py_INCREF(Py_None
); resultobj
= Py_None
;
8627 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8630 wxString
*arg2
= 0 ;
8632 bool temp2
= False
;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8636 (char *) "self",(char *) "file", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8643 arg2
= wxString_in_helper(obj1
);
8644 if (arg2
== NULL
) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8651 wxPyEndAllowThreads(__tstate
);
8652 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8671 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8674 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8675 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8677 bool temp2
= False
;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "self",(char *) "file", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8689 arg2
= wxString_in_helper(obj1
);
8690 if (arg2
== NULL
) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8718 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8723 (char *) "self", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 (arg1
)->MarkDirty();
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 Py_INCREF(Py_None
); resultobj
= Py_None
;
8743 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8746 PyObject
* obj0
= 0 ;
8748 (char *) "self", NULL
8751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8756 (arg1
)->DiscardEdits();
8758 wxPyEndAllowThreads(__tstate
);
8759 if (PyErr_Occurred()) SWIG_fail
;
8761 Py_INCREF(Py_None
); resultobj
= Py_None
;
8768 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8769 PyObject
*resultobj
;
8770 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8771 unsigned long arg2
;
8772 PyObject
* obj0
= 0 ;
8773 PyObject
* obj1
= 0 ;
8775 (char *) "self",(char *) "len", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8781 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8785 (arg1
)->SetMaxLength(arg2
);
8787 wxPyEndAllowThreads(__tstate
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 Py_INCREF(Py_None
); resultobj
= Py_None
;
8797 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8798 PyObject
*resultobj
;
8799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8800 wxString
*arg2
= 0 ;
8801 bool temp2
= False
;
8802 PyObject
* obj0
= 0 ;
8803 PyObject
* obj1
= 0 ;
8805 (char *) "self",(char *) "text", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8812 arg2
= wxString_in_helper(obj1
);
8813 if (arg2
== NULL
) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->WriteText((wxString
const &)*arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8841 wxString
*arg2
= 0 ;
8842 bool temp2
= False
;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8846 (char *) "self",(char *) "text", NULL
8849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 arg2
= wxString_in_helper(obj1
);
8854 if (arg2
== NULL
) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->AppendText((wxString
const &)*arg2
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8882 wxKeyEvent
*arg2
= 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8887 (char *) "self",(char *) "event", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8897 PyErr_SetString(PyExc_TypeError
,"null reference");
8901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8902 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8916 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8921 wxTextAttr
*arg4
= 0 ;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8926 PyObject
* obj3
= 0 ;
8928 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 arg2
= (long) SWIG_AsLong(obj1
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8936 arg3
= (long) SWIG_AsLong(obj2
);
8937 if (PyErr_Occurred()) SWIG_fail
;
8938 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8942 PyErr_SetString(PyExc_TypeError
,"null reference");
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8961 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8965 wxTextAttr
*arg3
= 0 ;
8967 PyObject
* obj0
= 0 ;
8968 PyObject
* obj1
= 0 ;
8969 PyObject
* obj2
= 0 ;
8971 (char *) "self",(char *) "position",(char *) "style", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8977 arg2
= (long) SWIG_AsLong(obj1
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8979 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8983 PyErr_SetString(PyExc_TypeError
,"null reference");
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9002 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9003 PyObject
*resultobj
;
9004 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9005 wxTextAttr
*arg2
= 0 ;
9007 PyObject
* obj0
= 0 ;
9008 PyObject
* obj1
= 0 ;
9010 (char *) "self",(char *) "style", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9020 PyErr_SetString(PyExc_TypeError
,"null reference");
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9039 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9043 PyObject
* obj0
= 0 ;
9045 (char *) "self", NULL
9048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9055 result
= (wxTextAttr
*) &_result_ref
;
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9068 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9078 (char *) "self",(char *) "x",(char *) "y", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9084 arg2
= (long) SWIG_AsLong(obj1
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg3
= (long) SWIG_AsLong(obj2
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9090 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9092 wxPyEndAllowThreads(__tstate
);
9093 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= SWIG_FromLong((long)result
);
9102 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9103 PyObject
*resultobj
;
9104 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9106 long *arg3
= (long *) 0 ;
9107 long *arg4
= (long *) 0 ;
9110 PyObject
* obj0
= 0 ;
9111 PyObject
* obj1
= 0 ;
9113 (char *) "self",(char *) "pos", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 arg2
= (long) SWIG_AsLong(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9133 resultobj
= t_output_helper(resultobj
,o
);
9136 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9137 resultobj
= t_output_helper(resultobj
,o
);
9145 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "pos", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (long) SWIG_AsLong(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 (arg1
)->ShowPosition(arg2
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 Py_INCREF(Py_None
); resultobj
= Py_None
;
9174 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9178 long *arg3
= (long *) 0 ;
9179 long *arg4
= (long *) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9187 (char *) "self",(char *) "pt", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= SWIG_FromInt((int)result
);
9208 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9209 resultobj
= t_output_helper(resultobj
,o
);
9212 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9213 resultobj
= t_output_helper(resultobj
,o
);
9221 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) SWIG_fail
;
9239 Py_INCREF(Py_None
); resultobj
= Py_None
;
9246 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9251 (char *) "self", NULL
9254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 wxPyEndAllowThreads(__tstate
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 Py_INCREF(Py_None
); resultobj
= Py_None
;
9271 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9300 PyObject
* obj0
= 0 ;
9302 (char *) "self", NULL
9305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9310 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9330 (char *) "self", NULL
9333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9352 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9380 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9383 PyObject
* obj0
= 0 ;
9385 (char *) "self", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 Py_INCREF(Py_None
); resultobj
= Py_None
;
9405 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9430 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9458 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9462 PyObject
* obj0
= 0 ;
9464 (char *) "self", NULL
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9486 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9491 PyObject
* obj1
= 0 ;
9493 (char *) "self",(char *) "pos", NULL
9496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 arg2
= (long) SWIG_AsLong(obj1
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 (arg1
)->SetInsertionPoint(arg2
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9508 Py_INCREF(Py_None
); resultobj
= Py_None
;
9515 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 (arg1
)->SetInsertionPointEnd();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 Py_INCREF(Py_None
); resultobj
= Py_None
;
9540 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_FromLong((long)result
);
9566 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9570 PyObject
* obj0
= 0 ;
9572 (char *) "self", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_FromLong((long)result
);
9592 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9599 PyObject
* obj2
= 0 ;
9601 (char *) "self",(char *) "from",(char *) "to", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (long) SWIG_AsLong(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9609 arg3
= (long) SWIG_AsLong(obj2
);
9610 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 (arg1
)->SetSelection(arg2
,arg3
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 Py_INCREF(Py_None
); resultobj
= Py_None
;
9625 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9630 (char *) "self", NULL
9633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 (arg1
)->SelectAll();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 Py_INCREF(Py_None
); resultobj
= Py_None
;
9650 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9655 PyObject
* obj1
= 0 ;
9657 (char *) "self",(char *) "editable", NULL
9660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9663 arg2
= (bool) SWIG_AsBool(obj1
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->SetEditable(arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 Py_INCREF(Py_None
); resultobj
= Py_None
;
9679 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
*resultobj
;
9681 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9682 bool arg2
= (bool) True
;
9684 PyObject
* obj0
= 0 ;
9685 PyObject
* obj1
= 0 ;
9687 (char *) "self",(char *) "show", NULL
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9694 arg2
= (bool) SWIG_AsBool(obj1
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9713 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9719 (char *) "self", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (bool)(arg1
)->HideNativeCaret();
9729 wxPyEndAllowThreads(__tstate
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9741 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9742 PyObject
*resultobj
;
9743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9744 wxString
*arg2
= 0 ;
9745 bool temp2
= False
;
9746 PyObject
* obj0
= 0 ;
9747 PyObject
* obj1
= 0 ;
9749 (char *) "self",(char *) "text", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9756 arg2
= wxString_in_helper(obj1
);
9757 if (arg2
== NULL
) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 Py_INCREF(Py_None
); resultobj
= Py_None
;
9782 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9792 (char *) "self",(char *) "from",(char *) "to", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9798 arg2
= (long) SWIG_AsLong(obj1
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9800 arg3
= (long) SWIG_AsLong(obj2
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9822 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9823 PyObject
*resultobj
;
9824 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9825 wxVisualAttributes result
;
9826 PyObject
* obj0
= 0 ;
9828 (char *) "variant", NULL
9831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9833 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 wxVisualAttributes
* resultptr
;
9845 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9854 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9857 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9859 return Py_BuildValue((char *)"");
9861 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9864 wxMouseEvent
*arg2
= 0 ;
9867 wxTextUrlEvent
*result
;
9868 PyObject
* obj0
= 0 ;
9869 PyObject
* obj1
= 0 ;
9870 PyObject
* obj2
= 0 ;
9871 PyObject
* obj3
= 0 ;
9873 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9877 arg1
= (int) SWIG_AsInt(obj0
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9883 PyErr_SetString(PyExc_TypeError
,"null reference");
9886 arg3
= (long) SWIG_AsLong(obj2
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9888 arg4
= (long) SWIG_AsLong(obj3
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9904 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9907 wxMouseEvent
*result
;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",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();
9919 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9920 result
= (wxMouseEvent
*) &_result_ref
;
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9933 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_FromLong((long)result
);
9959 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_FromLong((long)result
);
9985 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9988 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9990 return Py_BuildValue((char *)"");
9992 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9993 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9998 static PyObject
*_wrap_ScrollBarNameStr_get() {
10003 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10005 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10012 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxWindow
*arg1
= (wxWindow
*) 0 ;
10015 int arg2
= (int) -1 ;
10016 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10017 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10018 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10019 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10020 long arg5
= (long) wxSB_HORIZONTAL
;
10021 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10022 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10023 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10024 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10025 wxScrollBar
*result
;
10028 bool temp7
= False
;
10029 PyObject
* obj0
= 0 ;
10030 PyObject
* obj1
= 0 ;
10031 PyObject
* obj2
= 0 ;
10032 PyObject
* obj3
= 0 ;
10033 PyObject
* obj4
= 0 ;
10034 PyObject
* obj5
= 0 ;
10035 PyObject
* obj6
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 arg2
= (int) SWIG_AsInt(obj1
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10050 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10056 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10060 arg5
= (long) SWIG_AsLong(obj4
);
10061 if (PyErr_Occurred()) SWIG_fail
;
10064 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10067 if (arg6
== NULL
) {
10068 PyErr_SetString(PyExc_TypeError
,"null reference");
10074 arg7
= wxString_in_helper(obj6
);
10075 if (arg7
== NULL
) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10101 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxScrollBar
*result
;
10104 char *kwnames
[] = {
10108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 result
= (wxScrollBar
*)new wxScrollBar();
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10123 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10126 wxWindow
*arg2
= (wxWindow
*) 0 ;
10127 int arg3
= (int) -1 ;
10128 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10129 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10130 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10131 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10132 long arg6
= (long) wxSB_HORIZONTAL
;
10133 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10134 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10135 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10140 bool temp8
= False
;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 PyObject
* obj2
= 0 ;
10144 PyObject
* obj3
= 0 ;
10145 PyObject
* obj4
= 0 ;
10146 PyObject
* obj5
= 0 ;
10147 PyObject
* obj6
= 0 ;
10148 PyObject
* obj7
= 0 ;
10149 char *kwnames
[] = {
10150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 arg3
= (int) SWIG_AsInt(obj2
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10175 arg6
= (long) SWIG_AsLong(obj5
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10179 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10182 if (arg7
== NULL
) {
10183 PyErr_SetString(PyExc_TypeError
,"null reference");
10189 arg8
= wxString_in_helper(obj7
);
10190 if (arg8
== NULL
) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10218 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_FromInt((int)result
);
10244 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_FromInt((int)result
);
10270 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_FromInt((int)result
);
10296 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_FromInt((int)result
);
10322 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 char *kwnames
[] = {
10328 (char *) "self", NULL
10331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10350 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 PyObject
* obj1
= 0 ;
10356 char *kwnames
[] = {
10357 (char *) "self",(char *) "viewStart", NULL
10360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 arg2
= (int) SWIG_AsInt(obj1
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetThumbPosition(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10386 bool arg6
= (bool) True
;
10387 PyObject
* obj0
= 0 ;
10388 PyObject
* obj1
= 0 ;
10389 PyObject
* obj2
= 0 ;
10390 PyObject
* obj3
= 0 ;
10391 PyObject
* obj4
= 0 ;
10392 PyObject
* obj5
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10400 arg2
= (int) SWIG_AsInt(obj1
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10402 arg3
= (int) SWIG_AsInt(obj2
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10404 arg4
= (int) SWIG_AsInt(obj3
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10406 arg5
= (int) SWIG_AsInt(obj4
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 arg6
= (bool) SWIG_AsBool(obj5
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 Py_INCREF(Py_None
); resultobj
= Py_None
;
10426 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10429 wxVisualAttributes result
;
10430 PyObject
* obj0
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "variant", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10437 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10448 wxVisualAttributes
* resultptr
;
10449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10458 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10463 return Py_BuildValue((char *)"");
10465 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10466 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10471 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10476 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10478 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10485 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10486 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10491 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10496 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10498 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10505 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxWindow
*arg1
= (wxWindow
*) 0 ;
10508 int arg2
= (int) -1 ;
10509 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10510 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10511 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10512 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10513 long arg5
= (long) wxSP_HORIZONTAL
;
10514 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10515 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10516 wxSpinButton
*result
;
10519 bool temp6
= False
;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 PyObject
* obj3
= 0 ;
10524 PyObject
* obj4
= 0 ;
10525 PyObject
* obj5
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 arg2
= (int) SWIG_AsInt(obj1
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10540 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10546 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10550 arg5
= (long) SWIG_AsLong(obj4
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10555 arg6
= wxString_in_helper(obj5
);
10556 if (arg6
== NULL
) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10582 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10583 PyObject
*resultobj
;
10584 wxSpinButton
*result
;
10585 char *kwnames
[] = {
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (wxSpinButton
*)new wxSpinButton();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10604 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10607 wxWindow
*arg2
= (wxWindow
*) 0 ;
10608 int arg3
= (int) -1 ;
10609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10613 long arg6
= (long) wxSP_HORIZONTAL
;
10614 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10615 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10619 bool temp7
= False
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 PyObject
* obj2
= 0 ;
10623 PyObject
* obj3
= 0 ;
10624 PyObject
* obj4
= 0 ;
10625 PyObject
* obj5
= 0 ;
10626 PyObject
* obj6
= 0 ;
10627 char *kwnames
[] = {
10628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10637 arg3
= (int) SWIG_AsInt(obj2
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10643 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10649 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10653 arg6
= (long) SWIG_AsLong(obj5
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10658 arg7
= wxString_in_helper(obj6
);
10659 if (arg7
== NULL
) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10687 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10688 PyObject
*resultobj
;
10689 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10691 PyObject
* obj0
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10706 resultobj
= SWIG_FromInt((int)result
);
10713 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10714 PyObject
*resultobj
;
10715 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10717 PyObject
* obj0
= 0 ;
10718 char *kwnames
[] = {
10719 (char *) "self", NULL
10722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10727 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_FromInt((int)result
);
10739 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
;
10741 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10743 PyObject
* obj0
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_FromInt((int)result
);
10765 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "val", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (int) SWIG_AsInt(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 (arg1
)->SetValue(arg2
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10787 Py_INCREF(Py_None
); resultobj
= Py_None
;
10794 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
;
10796 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 char *kwnames
[] = {
10801 (char *) "self",(char *) "minVal", NULL
10804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10807 arg2
= (int) SWIG_AsInt(obj1
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetMin(arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char *kwnames
[] = {
10830 (char *) "self",(char *) "maxVal", NULL
10833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 arg2
= (int) SWIG_AsInt(obj1
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 (arg1
)->SetMax(arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 char *kwnames
[] = {
10861 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10867 arg2
= (int) SWIG_AsInt(obj1
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10869 arg3
= (int) SWIG_AsInt(obj2
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10873 (arg1
)->SetRange(arg2
,arg3
);
10875 wxPyEndAllowThreads(__tstate
);
10876 if (PyErr_Occurred()) SWIG_fail
;
10878 Py_INCREF(Py_None
); resultobj
= Py_None
;
10885 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
;
10887 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10889 PyObject
* obj0
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10913 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
;
10915 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10916 wxVisualAttributes result
;
10917 PyObject
* obj0
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "variant", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10924 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10935 wxVisualAttributes
* resultptr
;
10936 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10945 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10948 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10950 return Py_BuildValue((char *)"");
10952 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
;
10954 wxWindow
*arg1
= (wxWindow
*) 0 ;
10955 int arg2
= (int) -1 ;
10956 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10957 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10958 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10959 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10960 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10961 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10962 long arg6
= (long) wxSP_ARROW_KEYS
;
10963 int arg7
= (int) 0 ;
10964 int arg8
= (int) 100 ;
10965 int arg9
= (int) 0 ;
10966 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10967 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10968 wxSpinCtrl
*result
;
10969 bool temp3
= False
;
10972 bool temp10
= False
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 PyObject
* obj3
= 0 ;
10977 PyObject
* obj4
= 0 ;
10978 PyObject
* obj5
= 0 ;
10979 PyObject
* obj6
= 0 ;
10980 PyObject
* obj7
= 0 ;
10981 PyObject
* obj8
= 0 ;
10982 PyObject
* obj9
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg2
= (int) SWIG_AsInt(obj1
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10996 arg3
= wxString_in_helper(obj2
);
10997 if (arg3
== NULL
) SWIG_fail
;
11004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11014 arg6
= (long) SWIG_AsLong(obj5
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 arg7
= (int) SWIG_AsInt(obj6
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 arg8
= (int) SWIG_AsInt(obj7
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11026 arg9
= (int) SWIG_AsInt(obj8
);
11027 if (PyErr_Occurred()) SWIG_fail
;
11031 arg10
= wxString_in_helper(obj9
);
11032 if (arg10
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11066 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxSpinCtrl
*result
;
11069 char *kwnames
[] = {
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11088 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11091 wxWindow
*arg2
= (wxWindow
*) 0 ;
11092 int arg3
= (int) -1 ;
11093 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11094 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11095 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11096 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11097 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11098 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11099 long arg7
= (long) wxSP_ARROW_KEYS
;
11100 int arg8
= (int) 0 ;
11101 int arg9
= (int) 100 ;
11102 int arg10
= (int) 0 ;
11103 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11104 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11106 bool temp4
= False
;
11109 bool temp11
= False
;
11110 PyObject
* obj0
= 0 ;
11111 PyObject
* obj1
= 0 ;
11112 PyObject
* obj2
= 0 ;
11113 PyObject
* obj3
= 0 ;
11114 PyObject
* obj4
= 0 ;
11115 PyObject
* obj5
= 0 ;
11116 PyObject
* obj6
= 0 ;
11117 PyObject
* obj7
= 0 ;
11118 PyObject
* obj8
= 0 ;
11119 PyObject
* obj9
= 0 ;
11120 PyObject
* obj10
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11131 arg3
= (int) SWIG_AsInt(obj2
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11136 arg4
= wxString_in_helper(obj3
);
11137 if (arg4
== NULL
) SWIG_fail
;
11144 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11150 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11154 arg7
= (long) SWIG_AsLong(obj6
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11158 arg8
= (int) SWIG_AsInt(obj7
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11162 arg9
= (int) SWIG_AsInt(obj8
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 arg10
= (int) SWIG_AsInt(obj9
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11171 arg11
= wxString_in_helper(obj10
);
11172 if (arg11
== NULL
) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11208 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11212 PyObject
* obj0
= 0 ;
11213 char *kwnames
[] = {
11214 (char *) "self", NULL
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= SWIG_FromInt((int)result
);
11234 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11238 PyObject
* obj0
= 0 ;
11239 PyObject
* obj1
= 0 ;
11240 char *kwnames
[] = {
11241 (char *) "self",(char *) "value", NULL
11244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11247 arg2
= (int) SWIG_AsInt(obj1
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 (arg1
)->SetValue(arg2
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 Py_INCREF(Py_None
); resultobj
= Py_None
;
11263 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11264 PyObject
*resultobj
;
11265 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11266 wxString
*arg2
= 0 ;
11267 bool temp2
= False
;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "text", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11278 arg2
= wxString_in_helper(obj1
);
11279 if (arg2
== NULL
) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 (arg1
)->SetValue((wxString
const &)*arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
;
11306 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 PyObject
* obj2
= 0 ;
11312 char *kwnames
[] = {
11313 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11319 arg2
= (int) SWIG_AsInt(obj1
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11321 arg3
= (int) SWIG_AsInt(obj2
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 (arg1
)->SetRange(arg2
,arg3
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 Py_INCREF(Py_None
); resultobj
= Py_None
;
11337 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 char *kwnames
[] = {
11343 (char *) "self", NULL
11346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11353 wxPyEndAllowThreads(__tstate
);
11354 if (PyErr_Occurred()) SWIG_fail
;
11356 resultobj
= SWIG_FromInt((int)result
);
11363 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11367 PyObject
* obj0
= 0 ;
11368 char *kwnames
[] = {
11369 (char *) "self", NULL
11372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_FromInt((int)result
);
11389 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11390 PyObject
*resultobj
;
11391 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 PyObject
* obj2
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "from",(char *) "to", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 arg2
= (long) SWIG_AsLong(obj1
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11406 arg3
= (long) SWIG_AsLong(obj2
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->SetSelection(arg2
,arg3
);
11412 wxPyEndAllowThreads(__tstate
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11415 Py_INCREF(Py_None
); resultobj
= Py_None
;
11422 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11425 wxVisualAttributes result
;
11426 PyObject
* obj0
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "variant", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11433 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 wxVisualAttributes
* resultptr
;
11445 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11454 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11459 return Py_BuildValue((char *)"");
11461 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11464 int arg2
= (int) 0 ;
11465 wxSpinEvent
*result
;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 char *kwnames
[] = {
11469 (char *) "commandType",(char *) "winid", NULL
11472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11474 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11478 arg2
= (int) SWIG_AsInt(obj1
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11495 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_FromInt((int)result
);
11521 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 PyObject
* obj1
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "pos", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 arg2
= (int) SWIG_AsInt(obj1
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 (arg1
)->SetPosition(arg2
);
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11543 Py_INCREF(Py_None
); resultobj
= Py_None
;
11550 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11553 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11555 return Py_BuildValue((char *)"");
11557 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11558 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11563 static PyObject
*_wrap_RadioBoxNameStr_get() {
11568 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11570 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11577 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11578 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11583 static PyObject
*_wrap_RadioButtonNameStr_get() {
11588 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11590 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11597 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxWindow
*arg1
= (wxWindow
*) 0 ;
11601 wxString
*arg3
= 0 ;
11602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11606 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11607 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11608 int arg7
= (int) 0 ;
11609 long arg8
= (long) wxRA_HORIZONTAL
;
11610 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11611 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11612 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11613 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11614 wxRadioBox
*result
;
11615 bool temp3
= False
;
11618 bool temp6
= False
;
11619 bool temp10
= False
;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 PyObject
* obj2
= 0 ;
11623 PyObject
* obj3
= 0 ;
11624 PyObject
* obj4
= 0 ;
11625 PyObject
* obj5
= 0 ;
11626 PyObject
* obj6
= 0 ;
11627 PyObject
* obj7
= 0 ;
11628 PyObject
* obj8
= 0 ;
11629 PyObject
* obj9
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11637 arg2
= (int) SWIG_AsInt(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 arg3
= wxString_in_helper(obj2
);
11641 if (arg3
== NULL
) SWIG_fail
;
11647 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11653 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11658 if (! PySequence_Check(obj5
)) {
11659 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11662 arg6
= new wxArrayString
;
11664 int i
, len
=PySequence_Length(obj5
);
11665 for (i
=0; i
<len
; i
++) {
11666 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11668 PyObject
* str
= PyObject_Unicode(item
);
11670 PyObject
* str
= PyObject_Str(item
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11673 arg6
->Add(Py2wxString(str
));
11680 arg7
= (int) SWIG_AsInt(obj6
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11684 arg8
= (long) SWIG_AsLong(obj7
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11688 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11691 if (arg9
== NULL
) {
11692 PyErr_SetString(PyExc_TypeError
,"null reference");
11698 arg10
= wxString_in_helper(obj9
);
11699 if (arg10
== NULL
) SWIG_fail
;
11704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11705 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
);
11707 wxPyEndAllowThreads(__tstate
);
11708 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11716 if (temp6
) delete arg6
;
11729 if (temp6
) delete arg6
;
11739 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxRadioBox
*result
;
11742 char *kwnames
[] = {
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11749 result
= (wxRadioBox
*)new wxRadioBox();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11761 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11764 wxWindow
*arg2
= (wxWindow
*) 0 ;
11766 wxString
*arg4
= 0 ;
11767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11771 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11772 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11773 int arg8
= (int) 0 ;
11774 long arg9
= (long) wxRA_HORIZONTAL
;
11775 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11776 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11777 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11778 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11780 bool temp4
= False
;
11783 bool temp7
= False
;
11784 bool temp11
= False
;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 PyObject
* obj2
= 0 ;
11788 PyObject
* obj3
= 0 ;
11789 PyObject
* obj4
= 0 ;
11790 PyObject
* obj5
= 0 ;
11791 PyObject
* obj6
= 0 ;
11792 PyObject
* obj7
= 0 ;
11793 PyObject
* obj8
= 0 ;
11794 PyObject
* obj9
= 0 ;
11795 PyObject
* obj10
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 arg3
= (int) SWIG_AsInt(obj2
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 arg4
= wxString_in_helper(obj3
);
11809 if (arg4
== NULL
) SWIG_fail
;
11815 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11821 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11826 if (! PySequence_Check(obj6
)) {
11827 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11830 arg7
= new wxArrayString
;
11832 int i
, len
=PySequence_Length(obj6
);
11833 for (i
=0; i
<len
; i
++) {
11834 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11836 PyObject
* str
= PyObject_Unicode(item
);
11838 PyObject
* str
= PyObject_Str(item
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11841 arg7
->Add(Py2wxString(str
));
11848 arg8
= (int) SWIG_AsInt(obj7
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 arg9
= (long) SWIG_AsLong(obj8
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11856 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11859 if (arg10
== NULL
) {
11860 PyErr_SetString(PyExc_TypeError
,"null reference");
11866 arg11
= wxString_in_helper(obj10
);
11867 if (arg11
== NULL
) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 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
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11886 if (temp7
) delete arg7
;
11899 if (temp7
) delete arg7
;
11909 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11913 PyObject
* obj0
= 0 ;
11914 PyObject
* obj1
= 0 ;
11915 char *kwnames
[] = {
11916 (char *) "self",(char *) "n", NULL
11919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11922 arg2
= (int) SWIG_AsInt(obj1
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 (arg1
)->SetSelection(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 Py_INCREF(Py_None
); resultobj
= Py_None
;
11938 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11942 PyObject
* obj0
= 0 ;
11943 char *kwnames
[] = {
11944 (char *) "self", NULL
11947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_FromInt((int)result
);
11964 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11968 PyObject
* obj0
= 0 ;
11969 char *kwnames
[] = {
11970 (char *) "self", NULL
11973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11996 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11999 wxString
*arg2
= 0 ;
12001 bool temp2
= False
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self",(char *) "s", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 arg2
= wxString_in_helper(obj1
);
12013 if (arg2
== NULL
) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 resultobj
= SWIG_FromInt((int)result
);
12066 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12069 wxString
*arg2
= 0 ;
12071 bool temp2
= False
;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "s", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 arg2
= wxString_in_helper(obj1
);
12083 if (arg2
== NULL
) SWIG_fail
;
12087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12088 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_FromInt((int)result
);
12108 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 PyObject
* obj1
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "n", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 arg2
= (int) SWIG_AsInt(obj1
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12135 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12144 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12148 wxString
*arg3
= 0 ;
12149 bool temp3
= False
;
12150 PyObject
* obj0
= 0 ;
12151 PyObject
* obj1
= 0 ;
12152 PyObject
* obj2
= 0 ;
12153 char *kwnames
[] = {
12154 (char *) "self",(char *) "n",(char *) "label", NULL
12157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12160 arg2
= (int) SWIG_AsInt(obj1
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 arg3
= wxString_in_helper(obj2
);
12164 if (arg3
== NULL
) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 Py_INCREF(Py_None
); resultobj
= Py_None
;
12189 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12193 bool arg3
= (bool) True
;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 PyObject
* obj2
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self",(char *) "n",(char *) "enable", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 arg2
= (int) SWIG_AsInt(obj1
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12207 arg3
= (bool) SWIG_AsBool(obj2
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12212 (arg1
)->Enable(arg2
,arg3
);
12214 wxPyEndAllowThreads(__tstate
);
12215 if (PyErr_Occurred()) SWIG_fail
;
12217 Py_INCREF(Py_None
); resultobj
= Py_None
;
12224 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12228 bool arg3
= (bool) True
;
12229 PyObject
* obj0
= 0 ;
12230 PyObject
* obj1
= 0 ;
12231 PyObject
* obj2
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "n",(char *) "show", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12239 arg2
= (int) SWIG_AsInt(obj1
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 arg3
= (bool) SWIG_AsBool(obj2
);
12243 if (PyErr_Occurred()) SWIG_fail
;
12246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12247 (arg1
)->Show(arg2
,arg3
);
12249 wxPyEndAllowThreads(__tstate
);
12250 if (PyErr_Occurred()) SWIG_fail
;
12252 Py_INCREF(Py_None
); resultobj
= Py_None
;
12259 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12273 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_FromInt((int)result
);
12285 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12286 PyObject
*resultobj
;
12287 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 char *kwnames
[] = {
12291 (char *) "self", NULL
12294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_FromInt((int)result
);
12311 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12318 PyObject
* obj0
= 0 ;
12319 PyObject
* obj1
= 0 ;
12320 PyObject
* obj2
= 0 ;
12321 PyObject
* obj3
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 arg2
= (int) SWIG_AsInt(obj1
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12331 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12333 arg4
= (long) SWIG_AsLong(obj3
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_FromInt((int)result
);
12349 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12352 wxVisualAttributes result
;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "variant", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12360 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 wxVisualAttributes
* resultptr
;
12372 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12381 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12384 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12386 return Py_BuildValue((char *)"");
12388 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxWindow
*arg1
= (wxWindow
*) 0 ;
12392 wxString
*arg3
= 0 ;
12393 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12394 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12395 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12396 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12397 long arg6
= (long) 0 ;
12398 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12399 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12400 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12401 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12402 wxRadioButton
*result
;
12403 bool temp3
= False
;
12406 bool temp8
= False
;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 PyObject
* obj2
= 0 ;
12410 PyObject
* obj3
= 0 ;
12411 PyObject
* obj4
= 0 ;
12412 PyObject
* obj5
= 0 ;
12413 PyObject
* obj6
= 0 ;
12414 PyObject
* obj7
= 0 ;
12415 char *kwnames
[] = {
12416 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 arg2
= (int) SWIG_AsInt(obj1
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 arg3
= wxString_in_helper(obj2
);
12426 if (arg3
== NULL
) SWIG_fail
;
12432 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12438 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12442 arg6
= (long) SWIG_AsLong(obj5
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12446 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12449 if (arg7
== NULL
) {
12450 PyErr_SetString(PyExc_TypeError
,"null reference");
12456 arg8
= wxString_in_helper(obj7
);
12457 if (arg8
== NULL
) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12491 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxRadioButton
*result
;
12494 char *kwnames
[] = {
12498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12501 result
= (wxRadioButton
*)new wxRadioButton();
12503 wxPyEndAllowThreads(__tstate
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12513 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12514 PyObject
*resultobj
;
12515 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12516 wxWindow
*arg2
= (wxWindow
*) 0 ;
12518 wxString
*arg4
= 0 ;
12519 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12520 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12521 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12522 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12523 long arg7
= (long) 0 ;
12524 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12525 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12526 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12527 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12529 bool temp4
= False
;
12532 bool temp9
= False
;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 PyObject
* obj2
= 0 ;
12536 PyObject
* obj3
= 0 ;
12537 PyObject
* obj4
= 0 ;
12538 PyObject
* obj5
= 0 ;
12539 PyObject
* obj6
= 0 ;
12540 PyObject
* obj7
= 0 ;
12541 PyObject
* obj8
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12551 arg3
= (int) SWIG_AsInt(obj2
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 arg4
= wxString_in_helper(obj3
);
12555 if (arg4
== NULL
) SWIG_fail
;
12561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12571 arg7
= (long) SWIG_AsLong(obj6
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12578 if (arg8
== NULL
) {
12579 PyErr_SetString(PyExc_TypeError
,"null reference");
12585 arg9
= wxString_in_helper(obj8
);
12586 if (arg9
== NULL
) SWIG_fail
;
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12594 wxPyEndAllowThreads(__tstate
);
12595 if (PyErr_Occurred()) SWIG_fail
;
12598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12622 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 char *kwnames
[] = {
12628 (char *) "self", NULL
12631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12636 result
= (bool)(arg1
)->GetValue();
12638 wxPyEndAllowThreads(__tstate
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12650 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 PyObject
* obj1
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self",(char *) "value", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 arg2
= (bool) SWIG_AsBool(obj1
);
12664 if (PyErr_Occurred()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 (arg1
)->SetValue(arg2
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 Py_INCREF(Py_None
); resultobj
= Py_None
;
12679 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12682 wxVisualAttributes result
;
12683 PyObject
* obj0
= 0 ;
12684 char *kwnames
[] = {
12685 (char *) "variant", NULL
12688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12690 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12701 wxVisualAttributes
* resultptr
;
12702 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12711 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12714 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12716 return Py_BuildValue((char *)"");
12718 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12719 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12724 static PyObject
*_wrap_SliderNameStr_get() {
12729 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12731 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12738 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
;
12740 wxWindow
*arg1
= (wxWindow
*) 0 ;
12745 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12746 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12747 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12748 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12749 long arg8
= (long) wxSL_HORIZONTAL
;
12750 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12751 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12752 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12753 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12757 bool temp10
= False
;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 PyObject
* obj2
= 0 ;
12761 PyObject
* obj3
= 0 ;
12762 PyObject
* obj4
= 0 ;
12763 PyObject
* obj5
= 0 ;
12764 PyObject
* obj6
= 0 ;
12765 PyObject
* obj7
= 0 ;
12766 PyObject
* obj8
= 0 ;
12767 PyObject
* obj9
= 0 ;
12768 char *kwnames
[] = {
12769 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 arg2
= (int) SWIG_AsInt(obj1
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12777 arg3
= (int) SWIG_AsInt(obj2
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12779 arg4
= (int) SWIG_AsInt(obj3
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12781 arg5
= (int) SWIG_AsInt(obj4
);
12782 if (PyErr_Occurred()) SWIG_fail
;
12786 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12792 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12796 arg8
= (long) SWIG_AsLong(obj7
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12803 if (arg9
== NULL
) {
12804 PyErr_SetString(PyExc_TypeError
,"null reference");
12810 arg10
= wxString_in_helper(obj9
);
12811 if (arg10
== NULL
) SWIG_fail
;
12816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12819 wxPyEndAllowThreads(__tstate
);
12820 if (PyErr_Occurred()) SWIG_fail
;
12822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12837 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12840 char *kwnames
[] = {
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 result
= (wxSlider
*)new wxSlider();
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12859 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxSlider
*arg1
= (wxSlider
*) 0 ;
12862 wxWindow
*arg2
= (wxWindow
*) 0 ;
12867 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12868 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12869 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12870 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12871 long arg9
= (long) wxSL_HORIZONTAL
;
12872 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12873 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12874 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12875 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12879 bool temp11
= False
;
12880 PyObject
* obj0
= 0 ;
12881 PyObject
* obj1
= 0 ;
12882 PyObject
* obj2
= 0 ;
12883 PyObject
* obj3
= 0 ;
12884 PyObject
* obj4
= 0 ;
12885 PyObject
* obj5
= 0 ;
12886 PyObject
* obj6
= 0 ;
12887 PyObject
* obj7
= 0 ;
12888 PyObject
* obj8
= 0 ;
12889 PyObject
* obj9
= 0 ;
12890 PyObject
* obj10
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12900 arg3
= (int) SWIG_AsInt(obj2
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12902 arg4
= (int) SWIG_AsInt(obj3
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12904 arg5
= (int) SWIG_AsInt(obj4
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12906 arg6
= (int) SWIG_AsInt(obj5
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12911 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12917 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12921 arg9
= (long) SWIG_AsLong(obj8
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12925 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12928 if (arg10
== NULL
) {
12929 PyErr_SetString(PyExc_TypeError
,"null reference");
12935 arg11
= wxString_in_helper(obj10
);
12936 if (arg11
== NULL
) SWIG_fail
;
12941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12942 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12944 wxPyEndAllowThreads(__tstate
);
12945 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12964 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxSlider
*arg1
= (wxSlider
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_FromInt((int)result
);
12990 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxSlider
*arg1
= (wxSlider
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char *kwnames
[] = {
12997 (char *) "self",(char *) "value", NULL
13000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 arg2
= (int) SWIG_AsInt(obj1
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 (arg1
)->SetValue(arg2
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 Py_INCREF(Py_None
); resultobj
= Py_None
;
13019 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxSlider
*arg1
= (wxSlider
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13034 arg2
= (int) SWIG_AsInt(obj1
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13036 arg3
= (int) SWIG_AsInt(obj2
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13040 (arg1
)->SetRange(arg2
,arg3
);
13042 wxPyEndAllowThreads(__tstate
);
13043 if (PyErr_Occurred()) SWIG_fail
;
13045 Py_INCREF(Py_None
); resultobj
= Py_None
;
13052 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxSlider
*arg1
= (wxSlider
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_FromInt((int)result
);
13078 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxSlider
*arg1
= (wxSlider
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_FromInt((int)result
);
13104 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxSlider
*arg1
= (wxSlider
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "minValue", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13117 arg2
= (int) SWIG_AsInt(obj1
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 (arg1
)->SetMin(arg2
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13126 Py_INCREF(Py_None
); resultobj
= Py_None
;
13133 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
;
13135 wxSlider
*arg1
= (wxSlider
*) 0 ;
13137 PyObject
* obj0
= 0 ;
13138 PyObject
* obj1
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "maxValue", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13146 arg2
= (int) SWIG_AsInt(obj1
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 (arg1
)->SetMax(arg2
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 Py_INCREF(Py_None
); resultobj
= Py_None
;
13162 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxSlider
*arg1
= (wxSlider
*) 0 ;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self",(char *) "lineSize", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13175 arg2
= (int) SWIG_AsInt(obj1
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 (arg1
)->SetLineSize(arg2
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 Py_INCREF(Py_None
); resultobj
= Py_None
;
13191 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxSlider
*arg1
= (wxSlider
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self",(char *) "pageSize", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 arg2
= (int) SWIG_AsInt(obj1
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 (arg1
)->SetPageSize(arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxSlider
*arg1
= (wxSlider
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_FromInt((int)result
);
13246 static PyObject
*_wrap_Slider_GetPageSize(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_GetPageSize",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
)->GetPageSize();
13262 wxPyEndAllowThreads(__tstate
);
13263 if (PyErr_Occurred()) SWIG_fail
;
13265 resultobj
= SWIG_FromInt((int)result
);
13272 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13273 PyObject
*resultobj
;
13274 wxSlider
*arg1
= (wxSlider
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 PyObject
* obj1
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self",(char *) "lenPixels", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13285 arg2
= (int) SWIG_AsInt(obj1
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 (arg1
)->SetThumbLength(arg2
);
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 Py_INCREF(Py_None
); resultobj
= Py_None
;
13301 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxSlider
*arg1
= (wxSlider
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_FromInt((int)result
);
13327 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxSlider
*arg1
= (wxSlider
*) 0 ;
13331 int arg3
= (int) 1 ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 PyObject
* obj2
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self",(char *) "n",(char *) "pos", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13342 arg2
= (int) SWIG_AsInt(obj1
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 arg3
= (int) SWIG_AsInt(obj2
);
13346 if (PyErr_Occurred()) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->SetTickFreq(arg2
,arg3
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxSlider
*arg1
= (wxSlider
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 char *kwnames
[] = {
13368 (char *) "self", NULL
13371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= SWIG_FromInt((int)result
);
13388 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxSlider
*arg1
= (wxSlider
*) 0 ;
13391 PyObject
* obj0
= 0 ;
13392 char *kwnames
[] = {
13393 (char *) "self", NULL
13396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13401 (arg1
)->ClearTicks();
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 Py_INCREF(Py_None
); resultobj
= Py_None
;
13413 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxSlider
*arg1
= (wxSlider
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "tickPos", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 arg2
= (int) SWIG_AsInt(obj1
);
13427 if (PyErr_Occurred()) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 (arg1
)->SetTick(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 Py_INCREF(Py_None
); resultobj
= Py_None
;
13442 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxSlider
*arg1
= (wxSlider
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13455 (arg1
)->ClearSel();
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 Py_INCREF(Py_None
); resultobj
= Py_None
;
13467 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxSlider
*arg1
= (wxSlider
*) 0 ;
13471 PyObject
* obj0
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13481 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13483 wxPyEndAllowThreads(__tstate
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13486 resultobj
= SWIG_FromInt((int)result
);
13493 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13494 PyObject
*resultobj
;
13495 wxSlider
*arg1
= (wxSlider
*) 0 ;
13497 PyObject
* obj0
= 0 ;
13498 char *kwnames
[] = {
13499 (char *) "self", NULL
13502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13507 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13509 wxPyEndAllowThreads(__tstate
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 resultobj
= SWIG_FromInt((int)result
);
13519 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxSlider
*arg1
= (wxSlider
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 PyObject
* obj2
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "min",(char *) "max", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13534 arg2
= (int) SWIG_AsInt(obj1
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13536 arg3
= (int) SWIG_AsInt(obj2
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13540 (arg1
)->SetSelection(arg2
,arg3
);
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 Py_INCREF(Py_None
); resultobj
= Py_None
;
13552 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13555 wxVisualAttributes result
;
13556 PyObject
* obj0
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "variant", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13563 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13564 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 wxVisualAttributes
* resultptr
;
13575 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13584 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13587 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13589 return Py_BuildValue((char *)"");
13591 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13592 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13597 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13602 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13604 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13611 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxWindow
*arg1
= (wxWindow
*) 0 ;
13615 wxString
*arg3
= 0 ;
13616 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13617 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13618 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13619 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13620 long arg6
= (long) 0 ;
13621 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13622 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13623 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13624 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13625 wxToggleButton
*result
;
13626 bool temp3
= False
;
13629 bool temp8
= False
;
13630 PyObject
* obj0
= 0 ;
13631 PyObject
* obj1
= 0 ;
13632 PyObject
* obj2
= 0 ;
13633 PyObject
* obj3
= 0 ;
13634 PyObject
* obj4
= 0 ;
13635 PyObject
* obj5
= 0 ;
13636 PyObject
* obj6
= 0 ;
13637 PyObject
* obj7
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13645 arg2
= (int) SWIG_AsInt(obj1
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 arg3
= wxString_in_helper(obj2
);
13649 if (arg3
== NULL
) SWIG_fail
;
13655 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13661 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13665 arg6
= (long) SWIG_AsLong(obj5
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13672 if (arg7
== NULL
) {
13673 PyErr_SetString(PyExc_TypeError
,"null reference");
13679 arg8
= wxString_in_helper(obj7
);
13680 if (arg8
== NULL
) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13714 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxToggleButton
*result
;
13717 char *kwnames
[] = {
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (wxToggleButton
*)new wxToggleButton();
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13736 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13737 PyObject
*resultobj
;
13738 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13739 wxWindow
*arg2
= (wxWindow
*) 0 ;
13741 wxString
*arg4
= 0 ;
13742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13746 long arg7
= (long) 0 ;
13747 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13748 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13749 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13750 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13752 bool temp4
= False
;
13755 bool temp9
= False
;
13756 PyObject
* obj0
= 0 ;
13757 PyObject
* obj1
= 0 ;
13758 PyObject
* obj2
= 0 ;
13759 PyObject
* obj3
= 0 ;
13760 PyObject
* obj4
= 0 ;
13761 PyObject
* obj5
= 0 ;
13762 PyObject
* obj6
= 0 ;
13763 PyObject
* obj7
= 0 ;
13764 PyObject
* obj8
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13774 arg3
= (int) SWIG_AsInt(obj2
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 arg4
= wxString_in_helper(obj3
);
13778 if (arg4
== NULL
) SWIG_fail
;
13784 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13790 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13794 arg7
= (long) SWIG_AsLong(obj6
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13801 if (arg8
== NULL
) {
13802 PyErr_SetString(PyExc_TypeError
,"null reference");
13808 arg9
= wxString_in_helper(obj8
);
13809 if (arg9
== NULL
) SWIG_fail
;
13814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13815 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13817 wxPyEndAllowThreads(__tstate
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 char *kwnames
[] = {
13852 (char *) "self",(char *) "value", NULL
13855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 arg2
= (bool) SWIG_AsBool(obj1
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 (arg1
)->SetValue(arg2
);
13864 wxPyEndAllowThreads(__tstate
);
13865 if (PyErr_Occurred()) SWIG_fail
;
13867 Py_INCREF(Py_None
); resultobj
= Py_None
;
13874 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13875 PyObject
*resultobj
;
13876 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13878 PyObject
* obj0
= 0 ;
13879 char *kwnames
[] = {
13880 (char *) "self", NULL
13883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13902 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13903 PyObject
*resultobj
;
13904 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13905 wxString
*arg2
= 0 ;
13906 bool temp2
= False
;
13907 PyObject
* obj0
= 0 ;
13908 PyObject
* obj1
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "self",(char *) "label", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 (arg1
)->SetLabel((wxString
const &)*arg2
);
13925 wxPyEndAllowThreads(__tstate
);
13926 if (PyErr_Occurred()) SWIG_fail
;
13928 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13946 wxVisualAttributes result
;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "variant", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13954 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 wxVisualAttributes
* resultptr
;
13966 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13975 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13978 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13980 return Py_BuildValue((char *)"");
13982 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13983 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13988 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13993 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13995 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14002 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14003 PyObject
*resultobj
;
14004 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14006 PyObject
* obj0
= 0 ;
14007 char *kwnames
[] = {
14008 (char *) "self", NULL
14011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14028 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14029 PyObject
*resultobj
;
14030 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 PyObject
* obj1
= 0 ;
14035 char *kwnames
[] = {
14036 (char *) "self",(char *) "n", NULL
14039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14042 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= wxPyMake_wxObject(result
);
14060 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_FromInt((int)result
);
14086 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14090 wxString
*arg3
= 0 ;
14092 bool temp3
= False
;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 PyObject
* obj2
= 0 ;
14096 char *kwnames
[] = {
14097 (char *) "self",(char *) "n",(char *) "strText", NULL
14100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 arg3
= wxString_in_helper(obj2
);
14107 if (arg3
== NULL
) SWIG_fail
;
14111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14134 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
;
14136 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "n", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14148 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14152 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14154 wxPyEndAllowThreads(__tstate
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14170 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14171 PyObject
*resultobj
;
14172 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14173 wxImageList
*arg2
= (wxImageList
*) 0 ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "imageList", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14183 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 (arg1
)->SetImageList(arg2
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 Py_INCREF(Py_None
); resultobj
= Py_None
;
14199 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14202 wxImageList
*arg2
= (wxImageList
*) 0 ;
14203 PyObject
* obj0
= 0 ;
14204 PyObject
* obj1
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self",(char *) "imageList", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14213 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 (arg1
)->AssignImageList(arg2
);
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14221 Py_INCREF(Py_None
); resultobj
= Py_None
;
14228 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14229 PyObject
*resultobj
;
14230 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14231 wxImageList
*result
;
14232 PyObject
* obj0
= 0 ;
14233 char *kwnames
[] = {
14234 (char *) "self", NULL
14237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= wxPyMake_wxObject(result
);
14256 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14257 PyObject
*resultobj
;
14258 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14261 PyObject
* obj0
= 0 ;
14262 PyObject
* obj1
= 0 ;
14263 char *kwnames
[] = {
14264 (char *) "self",(char *) "n", NULL
14267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_FromInt((int)result
);
14286 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14287 PyObject
*resultobj
;
14288 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 PyObject
* obj2
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self",(char *) "n",(char *) "imageId", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14304 arg3
= (int) SWIG_AsInt(obj2
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14322 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14323 PyObject
*resultobj
;
14324 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 PyObject
* obj1
= 0 ;
14329 char *kwnames
[] = {
14330 (char *) "self",(char *) "size", NULL
14333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "sizePage", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14375 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14377 wxPyEndAllowThreads(__tstate
);
14378 if (PyErr_Occurred()) SWIG_fail
;
14381 wxSize
* resultptr
;
14382 resultptr
= new wxSize((wxSize
&) result
);
14383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14391 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "n", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (bool)(arg1
)->DeletePage(arg2
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14423 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "n", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14437 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14441 result
= (bool)(arg1
)->RemovePage(arg2
);
14443 wxPyEndAllowThreads(__tstate
);
14444 if (PyErr_Occurred()) SWIG_fail
;
14447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14455 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)(arg1
)->DeleteAllPages();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14483 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
;
14485 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14486 wxWindow
*arg2
= (wxWindow
*) 0 ;
14487 wxString
*arg3
= 0 ;
14488 bool arg4
= (bool) False
;
14489 int arg5
= (int) -1 ;
14491 bool temp3
= False
;
14492 PyObject
* obj0
= 0 ;
14493 PyObject
* obj1
= 0 ;
14494 PyObject
* obj2
= 0 ;
14495 PyObject
* obj3
= 0 ;
14496 PyObject
* obj4
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 arg3
= wxString_in_helper(obj2
);
14508 if (arg3
== NULL
) SWIG_fail
;
14512 arg4
= (bool) SWIG_AsBool(obj3
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14516 arg5
= (int) SWIG_AsInt(obj4
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14543 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14547 wxWindow
*arg3
= (wxWindow
*) 0 ;
14548 wxString
*arg4
= 0 ;
14549 bool arg5
= (bool) False
;
14550 int arg6
= (int) -1 ;
14552 bool temp4
= False
;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 PyObject
* obj2
= 0 ;
14556 PyObject
* obj3
= 0 ;
14557 PyObject
* obj4
= 0 ;
14558 PyObject
* obj5
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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
;
14568 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg4
= wxString_in_helper(obj3
);
14572 if (arg4
== NULL
) SWIG_fail
;
14576 arg5
= (bool) SWIG_AsBool(obj4
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14580 arg6
= (int) SWIG_AsInt(obj5
);
14581 if (PyErr_Occurred()) SWIG_fail
;
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "n", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (int)(arg1
)->SetSelection(arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_FromInt((int)result
);
14637 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
;
14639 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14640 bool arg2
= (bool) True
;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self",(char *) "forward", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 arg2
= (bool) SWIG_AsBool(obj1
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 (arg1
)->AdvanceSelection(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 Py_INCREF(Py_None
); resultobj
= Py_None
;
14668 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14671 wxVisualAttributes result
;
14672 PyObject
* obj0
= 0 ;
14673 char *kwnames
[] = {
14674 (char *) "variant", NULL
14677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14679 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14684 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14690 wxVisualAttributes
* resultptr
;
14691 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14692 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14700 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14703 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14705 return Py_BuildValue((char *)"");
14707 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14710 int arg2
= (int) 0 ;
14711 int arg3
= (int) -1 ;
14712 int arg4
= (int) -1 ;
14713 wxBookCtrlEvent
*result
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 char *kwnames
[] = {
14719 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14724 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 arg2
= (int) SWIG_AsInt(obj1
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg3
= (int) SWIG_AsInt(obj2
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 arg4
= (int) SWIG_AsInt(obj3
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14753 static PyObject
*_wrap_BookCtrlEvent_GetSelection(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_GetSelection",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
)->GetSelection();
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_FromInt((int)result
);
14779 static PyObject
*_wrap_BookCtrlEvent_SetSelection(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 *) "nSel", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",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
)->SetSelection(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 Py_INCREF(Py_None
); resultobj
= Py_None
;
14808 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= SWIG_FromInt((int)result
);
14834 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self",(char *) "nOldSel", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 arg2
= (int) SWIG_AsInt(obj1
);
14848 if (PyErr_Occurred()) SWIG_fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 (arg1
)->SetOldSelection(arg2
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 Py_INCREF(Py_None
); resultobj
= Py_None
;
14863 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14868 return Py_BuildValue((char *)"");
14870 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxWindow
*arg1
= (wxWindow
*) 0 ;
14873 int arg2
= (int) -1 ;
14874 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14875 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14876 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14877 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14878 long arg5
= (long) 0 ;
14879 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14880 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14881 wxNotebook
*result
;
14884 bool temp6
= False
;
14885 PyObject
* obj0
= 0 ;
14886 PyObject
* obj1
= 0 ;
14887 PyObject
* obj2
= 0 ;
14888 PyObject
* obj3
= 0 ;
14889 PyObject
* obj4
= 0 ;
14890 PyObject
* obj5
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (int) SWIG_AsInt(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14915 arg5
= (long) SWIG_AsLong(obj4
);
14916 if (PyErr_Occurred()) SWIG_fail
;
14920 arg6
= wxString_in_helper(obj5
);
14921 if (arg6
== NULL
) SWIG_fail
;
14926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14927 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14929 wxPyEndAllowThreads(__tstate
);
14930 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= wxPyMake_wxObject(result
);
14949 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxNotebook
*result
;
14952 char *kwnames
[] = {
14956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (wxNotebook
*)new wxNotebook();
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= wxPyMake_wxObject(result
);
14973 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14976 wxWindow
*arg2
= (wxWindow
*) 0 ;
14978 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14979 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14980 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14981 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14982 long arg6
= (long) 0 ;
14983 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14988 bool temp7
= False
;
14989 PyObject
* obj0
= 0 ;
14990 PyObject
* obj1
= 0 ;
14991 PyObject
* obj2
= 0 ;
14992 PyObject
* obj3
= 0 ;
14993 PyObject
* obj4
= 0 ;
14994 PyObject
* obj5
= 0 ;
14995 PyObject
* obj6
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15005 arg3
= (int) SWIG_AsInt(obj2
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15010 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15016 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15020 arg6
= (long) SWIG_AsLong(obj5
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15025 arg7
= wxString_in_helper(obj6
);
15026 if (arg7
== NULL
) SWIG_fail
;
15031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15032 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15034 wxPyEndAllowThreads(__tstate
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15054 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_FromInt((int)result
);
15080 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15085 PyObject
* obj0
= 0 ;
15086 PyObject
* obj1
= 0 ;
15087 char *kwnames
[] = {
15088 (char *) "self",(char *) "padding", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15096 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15102 wxPyEndAllowThreads(__tstate
);
15103 if (PyErr_Occurred()) SWIG_fail
;
15105 Py_INCREF(Py_None
); resultobj
= Py_None
;
15112 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15113 PyObject
*resultobj
;
15114 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "sz", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 Py_INCREF(Py_None
); resultobj
= Py_None
;
15144 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15147 wxPoint
*arg2
= 0 ;
15148 long *arg3
= (long *) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self",(char *) "pt", NULL
15159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15164 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= SWIG_FromInt((int)result
);
15175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15176 resultobj
= t_output_helper(resultobj
,o
);
15184 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15190 PyObject
* obj0
= 0 ;
15191 PyObject
* obj1
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self",(char *) "sizePage", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 wxSize
* resultptr
;
15212 resultptr
= new wxSize((wxSize
&) result
);
15213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15221 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15222 PyObject
*resultobj
;
15223 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15224 wxWindow
*arg2
= (wxWindow
*) 0 ;
15225 wxColour
*arg3
= 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "window",(char *) "colour", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15250 Py_INCREF(Py_None
); resultobj
= Py_None
;
15257 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15258 PyObject
*resultobj
;
15259 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15260 wxVisualAttributes result
;
15261 PyObject
* obj0
= 0 ;
15262 char *kwnames
[] = {
15263 (char *) "variant", NULL
15266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15268 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15275 wxPyEndAllowThreads(__tstate
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15279 wxVisualAttributes
* resultptr
;
15280 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15289 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15292 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15294 return Py_BuildValue((char *)"");
15296 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15299 int arg2
= (int) 0 ;
15300 int arg3
= (int) -1 ;
15301 int arg4
= (int) -1 ;
15302 wxNotebookEvent
*result
;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 PyObject
* obj2
= 0 ;
15306 PyObject
* obj3
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15313 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15317 arg2
= (int) SWIG_AsInt(obj1
);
15318 if (PyErr_Occurred()) SWIG_fail
;
15321 arg3
= (int) SWIG_AsInt(obj2
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 arg4
= (int) SWIG_AsInt(obj3
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15342 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15345 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15347 return Py_BuildValue((char *)"");
15349 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxWindow
*arg1
= (wxWindow
*) 0 ;
15352 int arg2
= (int) -1 ;
15353 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15354 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15355 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15356 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15357 long arg5
= (long) 0 ;
15358 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15359 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15360 wxListbook
*result
;
15363 bool temp6
= False
;
15364 PyObject
* obj0
= 0 ;
15365 PyObject
* obj1
= 0 ;
15366 PyObject
* obj2
= 0 ;
15367 PyObject
* obj3
= 0 ;
15368 PyObject
* obj4
= 0 ;
15369 PyObject
* obj5
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15378 arg2
= (int) SWIG_AsInt(obj1
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15384 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15390 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15394 arg5
= (long) SWIG_AsLong(obj4
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15399 arg6
= wxString_in_helper(obj5
);
15400 if (arg6
== NULL
) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15426 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxListbook
*result
;
15429 char *kwnames
[] = {
15433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 result
= (wxListbook
*)new wxListbook();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15448 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxListbook
*arg1
= (wxListbook
*) 0 ;
15451 wxWindow
*arg2
= (wxWindow
*) 0 ;
15453 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15454 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15455 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15456 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15457 long arg6
= (long) 0 ;
15458 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15459 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15463 bool temp7
= False
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 PyObject
* obj3
= 0 ;
15468 PyObject
* obj4
= 0 ;
15469 PyObject
* obj5
= 0 ;
15470 PyObject
* obj6
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15480 arg3
= (int) SWIG_AsInt(obj2
);
15481 if (PyErr_Occurred()) SWIG_fail
;
15485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15495 arg6
= (long) SWIG_AsLong(obj5
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15500 arg7
= wxString_in_helper(obj6
);
15501 if (arg7
== NULL
) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxListbook
*arg1
= (wxListbook
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15557 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15562 return Py_BuildValue((char *)"");
15564 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15567 int arg2
= (int) 0 ;
15568 int arg3
= (int) -1 ;
15569 int arg4
= (int) -1 ;
15570 wxListbookEvent
*result
;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 PyObject
* obj3
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15581 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 arg2
= (int) SWIG_AsInt(obj1
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 arg3
= (int) SWIG_AsInt(obj2
);
15590 if (PyErr_Occurred()) SWIG_fail
;
15593 arg4
= (int) SWIG_AsInt(obj3
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15600 wxPyEndAllowThreads(__tstate
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15610 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15613 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15615 return Py_BuildValue((char *)"");
15617 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
;
15619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15620 wxBookCtrlSizer
*result
;
15621 PyObject
* obj0
= 0 ;
15622 char *kwnames
[] = {
15623 (char *) "nb", NULL
15626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15631 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15633 wxPyEndAllowThreads(__tstate
);
15634 if (PyErr_Occurred()) SWIG_fail
;
15636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15643 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15646 PyObject
* obj0
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 (arg1
)->RecalcSizes();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 Py_INCREF(Py_None
); resultobj
= Py_None
;
15668 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= (arg1
)->CalcMin();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 wxSize
* resultptr
;
15689 resultptr
= new wxSize((wxSize
&) result
);
15690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15698 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15701 wxBookCtrl
*result
;
15702 PyObject
* obj0
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15724 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15729 return Py_BuildValue((char *)"");
15731 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15734 wxNotebookSizer
*result
;
15735 PyObject
* obj0
= 0 ;
15736 char *kwnames
[] = {
15737 (char *) "nb", NULL
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15757 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 char *kwnames
[] = {
15762 (char *) "self", NULL
15765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 (arg1
)->RecalcSizes();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 Py_INCREF(Py_None
); resultobj
= Py_None
;
15782 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (arg1
)->CalcMin();
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 wxSize
* resultptr
;
15803 resultptr
= new wxSize((wxSize
&) result
);
15804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15812 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15815 wxNotebook
*result
;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= wxPyMake_wxObject(result
);
15840 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15845 return Py_BuildValue((char *)"");
15847 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (int)(arg1
)->GetId();
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_FromInt((int)result
);
15873 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (wxControl
*)(arg1
)->GetControl();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= wxPyMake_wxObject(result
);
15901 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15904 wxToolBarBase
*result
;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= wxPyMake_wxObject(result
);
15929 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (int)(arg1
)->IsButton();
15945 wxPyEndAllowThreads(__tstate
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= SWIG_FromInt((int)result
);
15955 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
;
15957 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15959 PyObject
* obj0
= 0 ;
15960 char *kwnames
[] = {
15961 (char *) "self", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (int)(arg1
)->IsControl();
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_FromInt((int)result
);
15981 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15985 PyObject
* obj0
= 0 ;
15986 char *kwnames
[] = {
15987 (char *) "self", NULL
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 result
= (int)(arg1
)->IsSeparator();
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_FromInt((int)result
);
16007 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 result
= (int)(arg1
)->GetStyle();
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_FromInt((int)result
);
16033 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 char *kwnames
[] = {
16039 (char *) "self", NULL
16042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (int)(arg1
)->GetKind();
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= SWIG_FromInt((int)result
);
16059 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (bool)(arg1
)->IsEnabled();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16087 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (bool)(arg1
)->IsToggled();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16115 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (bool)(arg1
)->CanBeToggled();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16159 result
= (wxBitmap
*) &_result_ref
;
16162 wxPyEndAllowThreads(__tstate
);
16163 if (PyErr_Occurred()) SWIG_fail
;
16166 wxBitmap
* resultptr
= new wxBitmap(*result
);
16167 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16175 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
;
16177 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 char *kwnames
[] = {
16181 (char *) "self", NULL
16184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16191 result
= (wxBitmap
*) &_result_ref
;
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16198 wxBitmap
* resultptr
= new wxBitmap(*result
);
16199 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16207 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16208 PyObject
*resultobj
;
16209 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16211 PyObject
* obj0
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16221 result
= (arg1
)->GetBitmap();
16223 wxPyEndAllowThreads(__tstate
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16227 wxBitmap
* resultptr
;
16228 resultptr
= new wxBitmap((wxBitmap
&) result
);
16229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16237 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (arg1
)->GetLabel();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16269 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (arg1
)->GetShortHelp();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16301 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (arg1
)->GetLongHelp();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16333 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self",(char *) "enable", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 arg2
= (bool) SWIG_AsBool(obj1
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (bool)(arg1
)->Enable(arg2
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16365 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 Py_INCREF(Py_None
); resultobj
= Py_None
;
16390 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
;
16392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "toggle", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16404 arg2
= (bool) SWIG_AsBool(obj1
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (bool)(arg1
)->SetToggle(arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16425 wxString
*arg2
= 0 ;
16427 bool temp2
= False
;
16428 PyObject
* obj0
= 0 ;
16429 PyObject
* obj1
= 0 ;
16430 char *kwnames
[] = {
16431 (char *) "self",(char *) "help", NULL
16434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16438 arg2
= wxString_in_helper(obj1
);
16439 if (arg2
== NULL
) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16466 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16469 wxString
*arg2
= 0 ;
16471 bool temp2
= False
;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "help", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 arg2
= wxString_in_helper(obj1
);
16483 if (arg2
== NULL
) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16510 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16511 PyObject
*resultobj
;
16512 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16513 wxBitmap
*arg2
= 0 ;
16514 PyObject
* obj0
= 0 ;
16515 PyObject
* obj1
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self",(char *) "bmp", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16526 if (arg2
== NULL
) {
16527 PyErr_SetString(PyExc_TypeError
,"null reference");
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16544 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16547 wxBitmap
*arg2
= 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "bmp", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16560 if (arg2
== NULL
) {
16561 PyErr_SetString(PyExc_TypeError
,"null reference");
16565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16566 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16571 Py_INCREF(Py_None
); resultobj
= Py_None
;
16578 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16581 wxString
*arg2
= 0 ;
16582 bool temp2
= False
;
16583 PyObject
* obj0
= 0 ;
16584 PyObject
* obj1
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "self",(char *) "label", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 arg2
= wxString_in_helper(obj1
);
16594 if (arg2
== NULL
) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 (arg1
)->SetLabel((wxString
const &)*arg2
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16619 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16620 PyObject
*resultobj
;
16621 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 Py_INCREF(Py_None
); resultobj
= Py_None
;
16644 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16647 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16648 PyObject
* obj0
= 0 ;
16649 PyObject
* obj1
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self",(char *) "tbar", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 (arg1
)->Attach(arg2
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 Py_INCREF(Py_None
); resultobj
= Py_None
;
16673 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= result
;
16699 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16702 PyObject
*arg2
= (PyObject
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self",(char *) "clientData", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 Py_INCREF(Py_None
); resultobj
= Py_None
;
16727 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16730 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16732 return Py_BuildValue((char *)"");
16734 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16738 wxString
*arg3
= 0 ;
16739 wxBitmap
*arg4
= 0 ;
16740 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16741 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16742 int arg6
= (int) wxITEM_NORMAL
;
16743 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16745 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16746 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16747 PyObject
*arg9
= (PyObject
*) NULL
;
16748 wxToolBarToolBase
*result
;
16749 bool temp3
= False
;
16750 bool temp7
= False
;
16751 bool temp8
= False
;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 PyObject
* obj2
= 0 ;
16755 PyObject
* obj3
= 0 ;
16756 PyObject
* obj4
= 0 ;
16757 PyObject
* obj5
= 0 ;
16758 PyObject
* obj6
= 0 ;
16759 PyObject
* obj7
= 0 ;
16760 PyObject
* obj8
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 arg2
= (int) SWIG_AsInt(obj1
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 arg3
= wxString_in_helper(obj2
);
16772 if (arg3
== NULL
) SWIG_fail
;
16775 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16778 if (arg4
== NULL
) {
16779 PyErr_SetString(PyExc_TypeError
,"null reference");
16783 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16786 if (arg5
== NULL
) {
16787 PyErr_SetString(PyExc_TypeError
,"null reference");
16792 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16797 arg7
= wxString_in_helper(obj6
);
16798 if (arg7
== NULL
) SWIG_fail
;
16804 arg8
= wxString_in_helper(obj7
);
16805 if (arg8
== NULL
) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 resultobj
= wxPyMake_wxObject(result
);
16852 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16857 wxString
*arg4
= 0 ;
16858 wxBitmap
*arg5
= 0 ;
16859 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16860 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16861 int arg7
= (int) wxITEM_NORMAL
;
16862 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16863 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16864 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16865 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16866 PyObject
*arg10
= (PyObject
*) NULL
;
16867 wxToolBarToolBase
*result
;
16868 bool temp4
= False
;
16869 bool temp8
= False
;
16870 bool temp9
= False
;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 PyObject
* obj2
= 0 ;
16874 PyObject
* obj3
= 0 ;
16875 PyObject
* obj4
= 0 ;
16876 PyObject
* obj5
= 0 ;
16877 PyObject
* obj6
= 0 ;
16878 PyObject
* obj7
= 0 ;
16879 PyObject
* obj8
= 0 ;
16880 PyObject
* obj9
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16888 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16890 arg3
= (int) SWIG_AsInt(obj2
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 arg4
= wxString_in_helper(obj3
);
16894 if (arg4
== NULL
) SWIG_fail
;
16897 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16900 if (arg5
== NULL
) {
16901 PyErr_SetString(PyExc_TypeError
,"null reference");
16905 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16908 if (arg6
== NULL
) {
16909 PyErr_SetString(PyExc_TypeError
,"null reference");
16914 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16919 arg8
= wxString_in_helper(obj7
);
16920 if (arg8
== NULL
) SWIG_fail
;
16926 arg9
= wxString_in_helper(obj8
);
16927 if (arg9
== NULL
) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 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
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= wxPyMake_wxObject(result
);
16974 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
;
16976 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16977 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16978 wxToolBarToolBase
*result
;
16979 PyObject
* obj0
= 0 ;
16980 PyObject
* obj1
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self",(char *) "tool", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16988 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16992 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16994 wxPyEndAllowThreads(__tstate
);
16995 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= wxPyMake_wxObject(result
);
17006 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17010 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17011 wxToolBarToolBase
*result
;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 PyObject
* obj2
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "pos",(char *) "tool", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17022 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17024 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= wxPyMake_wxObject(result
);
17042 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17045 wxControl
*arg2
= (wxControl
*) 0 ;
17046 wxToolBarToolBase
*result
;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "self",(char *) "control", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= wxPyMake_wxObject(result
);
17074 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17078 wxControl
*arg3
= (wxControl
*) 0 ;
17079 wxToolBarToolBase
*result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 PyObject
* obj2
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self",(char *) "pos",(char *) "control", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17091 if (PyErr_Occurred()) SWIG_fail
;
17092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= wxPyMake_wxObject(result
);
17110 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "id", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17124 arg2
= (int) SWIG_AsInt(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= wxPyMake_wxObject(result
);
17142 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17145 wxToolBarToolBase
*result
;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= wxPyMake_wxObject(result
);
17170 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17171 PyObject
*resultobj
;
17172 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17174 wxToolBarToolBase
*result
;
17175 PyObject
* obj0
= 0 ;
17176 PyObject
* obj1
= 0 ;
17177 char *kwnames
[] = {
17178 (char *) "self",(char *) "pos", NULL
17181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17184 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= wxPyMake_wxObject(result
);
17202 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17203 PyObject
*resultobj
;
17204 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17206 wxToolBarToolBase
*result
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 char *kwnames
[] = {
17210 (char *) "self",(char *) "id", NULL
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17216 arg2
= (int) SWIG_AsInt(obj1
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 resultobj
= wxPyMake_wxObject(result
);
17234 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17235 PyObject
*resultobj
;
17236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj1
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "pos", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17266 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17267 PyObject
*resultobj
;
17268 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 PyObject
* obj1
= 0 ;
17273 char *kwnames
[] = {
17274 (char *) "self",(char *) "id", NULL
17277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 arg2
= (int) SWIG_AsInt(obj1
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17284 result
= (bool)(arg1
)->DeleteTool(arg2
);
17286 wxPyEndAllowThreads(__tstate
);
17287 if (PyErr_Occurred()) SWIG_fail
;
17290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17298 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17299 PyObject
*resultobj
;
17300 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17301 PyObject
* obj0
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "self", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 (arg1
)->ClearTools();
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 Py_INCREF(Py_None
); resultobj
= Py_None
;
17323 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= (bool)(arg1
)->Realize();
17339 wxPyEndAllowThreads(__tstate
);
17340 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17351 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self",(char *) "id",(char *) "enable", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 arg2
= (int) SWIG_AsInt(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17368 arg3
= (bool) SWIG_AsBool(obj2
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->EnableTool(arg2
,arg3
);
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 Py_INCREF(Py_None
); resultobj
= Py_None
;
17384 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 PyObject
* obj2
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self",(char *) "id",(char *) "toggle", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17399 arg2
= (int) SWIG_AsInt(obj1
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17401 arg3
= (bool) SWIG_AsBool(obj2
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 (arg1
)->ToggleTool(arg2
,arg3
);
17407 wxPyEndAllowThreads(__tstate
);
17408 if (PyErr_Occurred()) SWIG_fail
;
17410 Py_INCREF(Py_None
); resultobj
= Py_None
;
17417 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17422 PyObject
* obj0
= 0 ;
17423 PyObject
* obj1
= 0 ;
17424 PyObject
* obj2
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "id",(char *) "toggle", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (int) SWIG_AsInt(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17434 arg3
= (bool) SWIG_AsBool(obj2
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 (arg1
)->SetToggle(arg2
,arg3
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17450 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "id", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 arg2
= (int) SWIG_AsInt(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= result
;
17480 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17484 PyObject
*arg3
= (PyObject
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 PyObject
* obj2
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "id",(char *) "clientData", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg2
= (int) SWIG_AsInt(obj1
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 Py_INCREF(Py_None
); resultobj
= Py_None
;
17512 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self",(char *) "id", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17526 arg2
= (int) SWIG_AsInt(obj1
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_FromInt((int)result
);
17542 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "id", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 arg2
= (int) SWIG_AsInt(obj1
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (bool)(arg1
)->GetToolState(arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17574 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 PyObject
* obj1
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "id", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 arg2
= (int) SWIG_AsInt(obj1
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17592 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17606 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17610 wxString
*arg3
= 0 ;
17611 bool temp3
= False
;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 PyObject
* obj2
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "id",(char *) "helpString", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 arg2
= (int) SWIG_AsInt(obj1
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 arg3
= wxString_in_helper(obj2
);
17626 if (arg3
== NULL
) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17656 PyObject
* obj0
= 0 ;
17657 PyObject
* obj1
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self",(char *) "id", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 arg2
= (int) SWIG_AsInt(obj1
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (arg1
)->GetToolShortHelp(arg2
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17687 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17691 wxString
*arg3
= 0 ;
17692 bool temp3
= False
;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 PyObject
* obj2
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "id",(char *) "helpString", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 arg2
= (int) SWIG_AsInt(obj1
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 arg3
= wxString_in_helper(obj2
);
17707 if (arg3
== NULL
) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 Py_INCREF(Py_None
); resultobj
= Py_None
;
17732 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "id", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17746 arg2
= (int) SWIG_AsInt(obj1
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (arg1
)->GetToolLongHelp(arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17768 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self",(char *) "x",(char *) "y", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17783 arg2
= (int) SWIG_AsInt(obj1
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17785 arg3
= (int) SWIG_AsInt(obj2
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 (arg1
)->SetMargins(arg2
,arg3
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 Py_INCREF(Py_None
); resultobj
= Py_None
;
17801 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "size", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 Py_INCREF(Py_None
); resultobj
= Py_None
;
17833 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
;
17835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "packing", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17846 arg2
= (int) SWIG_AsInt(obj1
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 (arg1
)->SetToolPacking(arg2
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 Py_INCREF(Py_None
); resultobj
= Py_None
;
17862 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self",(char *) "separation", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 arg2
= (int) SWIG_AsInt(obj1
);
17876 if (PyErr_Occurred()) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->SetToolSeparation(arg2
);
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 Py_INCREF(Py_None
); resultobj
= Py_None
;
17891 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17892 PyObject
*resultobj
;
17893 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (arg1
)->GetToolMargins();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17911 wxSize
* resultptr
;
17912 resultptr
= new wxSize((wxSize
&) result
);
17913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17921 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (arg1
)->GetMargins();
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17941 wxSize
* resultptr
;
17942 resultptr
= new wxSize((wxSize
&) result
);
17943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17951 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 char *kwnames
[] = {
17957 (char *) "self", NULL
17960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (int)(arg1
)->GetToolPacking();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_FromInt((int)result
);
17977 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (int)(arg1
)->GetToolSeparation();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 resultobj
= SWIG_FromInt((int)result
);
18003 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "nRows", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 arg2
= (int) SWIG_AsInt(obj1
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 (arg1
)->SetRows(arg2
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 Py_INCREF(Py_None
); resultobj
= Py_None
;
18032 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18039 PyObject
* obj2
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self",(char *) "rows",(char *) "cols", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 arg2
= (int) SWIG_AsInt(obj1
);
18048 if (PyErr_Occurred()) SWIG_fail
;
18049 arg3
= (int) SWIG_AsInt(obj2
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 Py_INCREF(Py_None
); resultobj
= Py_None
;
18065 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (int)(arg1
)->GetMaxRows();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_FromInt((int)result
);
18091 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (int)(arg1
)->GetMaxCols();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_FromInt((int)result
);
18117 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
;
18119 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18122 PyObject
* obj0
= 0 ;
18123 PyObject
* obj1
= 0 ;
18124 char *kwnames
[] = {
18125 (char *) "self",(char *) "size", NULL
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18163 result
= (arg1
)->GetToolBitmapSize();
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18169 wxSize
* resultptr
;
18170 resultptr
= new wxSize((wxSize
&) result
);
18171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18179 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (arg1
)->GetToolSize();
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18199 wxSize
* resultptr
;
18200 resultptr
= new wxSize((wxSize
&) result
);
18201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18209 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18214 wxToolBarToolBase
*result
;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 PyObject
* obj2
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "x",(char *) "y", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18225 arg2
= (int) SWIG_AsInt(obj1
);
18226 if (PyErr_Occurred()) SWIG_fail
;
18227 arg3
= (int) SWIG_AsInt(obj2
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= wxPyMake_wxObject(result
);
18245 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18249 wxToolBarToolBase
*result
;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "toolid", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 arg2
= (int) SWIG_AsInt(obj1
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= wxPyMake_wxObject(result
);
18277 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (bool)(arg1
)->IsVertical();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18305 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18308 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18310 return Py_BuildValue((char *)"");
18312 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
;
18314 wxWindow
*arg1
= (wxWindow
*) 0 ;
18316 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18317 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18318 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18319 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18320 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18321 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18322 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18326 bool temp6
= False
;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 PyObject
* obj2
= 0 ;
18330 PyObject
* obj3
= 0 ;
18331 PyObject
* obj4
= 0 ;
18332 PyObject
* obj5
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 arg2
= (int) SWIG_AsInt(obj1
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18351 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18355 arg5
= (long) SWIG_AsLong(obj4
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18360 arg6
= wxString_in_helper(obj5
);
18361 if (arg6
== NULL
) SWIG_fail
;
18366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18367 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18369 wxPyEndAllowThreads(__tstate
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 resultobj
= wxPyMake_wxObject(result
);
18389 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18390 PyObject
*resultobj
;
18392 char *kwnames
[] = {
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (wxToolBar
*)new wxToolBar();
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= wxPyMake_wxObject(result
);
18413 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18416 wxWindow
*arg2
= (wxWindow
*) 0 ;
18418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18422 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18423 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18428 bool temp7
= False
;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 PyObject
* obj3
= 0 ;
18433 PyObject
* obj4
= 0 ;
18434 PyObject
* obj5
= 0 ;
18435 PyObject
* obj6
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18445 arg3
= (int) SWIG_AsInt(obj2
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18450 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18456 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18460 arg6
= (long) SWIG_AsLong(obj5
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18465 arg7
= wxString_in_helper(obj6
);
18466 if (arg7
== NULL
) SWIG_fail
;
18471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18472 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18474 wxPyEndAllowThreads(__tstate
);
18475 if (PyErr_Occurred()) SWIG_fail
;
18478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18494 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18495 PyObject
*resultobj
;
18496 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18499 wxToolBarToolBase
*result
;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18502 PyObject
* obj2
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "x",(char *) "y", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= (int) SWIG_AsInt(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18512 arg3
= (int) SWIG_AsInt(obj2
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= wxPyMake_wxObject(result
);
18530 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18533 wxVisualAttributes result
;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "variant", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18541 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18546 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18552 wxVisualAttributes
* resultptr
;
18553 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18562 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18565 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18567 return Py_BuildValue((char *)"");
18569 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18570 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18575 static PyObject
*_wrap_ListCtrlNameStr_get() {
18580 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18582 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18589 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 wxColour
const &arg1_defvalue
= wxNullColour
;
18592 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18593 wxColour
const &arg2_defvalue
= wxNullColour
;
18594 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18595 wxFont
const &arg3_defvalue
= wxNullFont
;
18596 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18597 wxListItemAttr
*result
;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18602 PyObject
* obj2
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18611 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18617 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18622 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18624 if (arg3
== NULL
) {
18625 PyErr_SetString(PyExc_TypeError
,"null reference");
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18643 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18646 wxColour
*arg2
= 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self",(char *) "colText", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18678 wxColour
*arg2
= 0 ;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self",(char *) "colBack", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "font", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18723 if (arg2
== NULL
) {
18724 PyErr_SetString(PyExc_TypeError
,"null reference");
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 (arg1
)->SetFont((wxFont
const &)*arg2
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18734 Py_INCREF(Py_None
); resultobj
= Py_None
;
18741 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18742 PyObject
*resultobj
;
18743 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18745 PyObject
* obj0
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= (bool)(arg1
)->HasTextColour();
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18769 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18773 PyObject
* obj0
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18783 result
= (bool)(arg1
)->HasBackgroundColour();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18797 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= (bool)(arg1
)->HasFont();
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18825 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18829 PyObject
* obj0
= 0 ;
18830 char *kwnames
[] = {
18831 (char *) "self", NULL
18834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= (arg1
)->GetTextColour();
18841 wxPyEndAllowThreads(__tstate
);
18842 if (PyErr_Occurred()) SWIG_fail
;
18845 wxColour
* resultptr
;
18846 resultptr
= new wxColour((wxColour
&) result
);
18847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18855 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18869 result
= (arg1
)->GetBackgroundColour();
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18875 wxColour
* resultptr
;
18876 resultptr
= new wxColour((wxColour
&) result
);
18877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18885 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (arg1
)->GetFont();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18905 wxFont
* resultptr
;
18906 resultptr
= new wxFont((wxFont
&) result
);
18907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18915 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 char *kwnames
[] = {
18920 (char *) "self", NULL
18923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 wxListItemAttr_Destroy(arg1
);
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18933 Py_INCREF(Py_None
); resultobj
= Py_None
;
18940 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18943 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18945 return Py_BuildValue((char *)"");
18947 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18948 PyObject
*resultobj
;
18949 wxListItem
*result
;
18950 char *kwnames
[] = {
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (wxListItem
*)new wxListItem();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= wxPyMake_wxObject(result
);
18971 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxListItem
*arg1
= (wxListItem
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18989 Py_INCREF(Py_None
); resultobj
= Py_None
;
18996 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxListItem
*arg1
= (wxListItem
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 Py_INCREF(Py_None
); resultobj
= Py_None
;
19021 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxListItem
*arg1
= (wxListItem
*) 0 ;
19024 PyObject
* obj0
= 0 ;
19025 char *kwnames
[] = {
19026 (char *) "self", NULL
19029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->ClearAttributes();
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxListItem
*arg1
= (wxListItem
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "mask", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 arg2
= (long) SWIG_AsLong(obj1
);
19060 if (PyErr_Occurred()) SWIG_fail
;
19062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19063 (arg1
)->SetMask(arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 Py_INCREF(Py_None
); resultobj
= Py_None
;
19075 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxListItem
*arg1
= (wxListItem
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self",(char *) "id", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19088 arg2
= (long) SWIG_AsLong(obj1
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 (arg1
)->SetId(arg2
);
19094 wxPyEndAllowThreads(__tstate
);
19095 if (PyErr_Occurred()) SWIG_fail
;
19097 Py_INCREF(Py_None
); resultobj
= Py_None
;
19104 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19105 PyObject
*resultobj
;
19106 wxListItem
*arg1
= (wxListItem
*) 0 ;
19108 PyObject
* obj0
= 0 ;
19109 PyObject
* obj1
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self",(char *) "col", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 arg2
= (int) SWIG_AsInt(obj1
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 (arg1
)->SetColumn(arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 Py_INCREF(Py_None
); resultobj
= Py_None
;
19133 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxListItem
*arg1
= (wxListItem
*) 0 ;
19137 PyObject
* obj0
= 0 ;
19138 PyObject
* obj1
= 0 ;
19139 char *kwnames
[] = {
19140 (char *) "self",(char *) "state", NULL
19143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 arg2
= (long) SWIG_AsLong(obj1
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->SetState(arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxListItem
*arg1
= (wxListItem
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 PyObject
* obj1
= 0 ;
19168 char *kwnames
[] = {
19169 (char *) "self",(char *) "stateMask", NULL
19172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 arg2
= (long) SWIG_AsLong(obj1
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetStateMask(arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxListItem
*arg1
= (wxListItem
*) 0 ;
19194 wxString
*arg2
= 0 ;
19195 bool temp2
= False
;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "text", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19206 arg2
= wxString_in_helper(obj1
);
19207 if (arg2
== NULL
) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetText((wxString
const &)*arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19232 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxListItem
*arg1
= (wxListItem
*) 0 ;
19236 PyObject
* obj0
= 0 ;
19237 PyObject
* obj1
= 0 ;
19238 char *kwnames
[] = {
19239 (char *) "self",(char *) "image", NULL
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19245 arg2
= (int) SWIG_AsInt(obj1
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->SetImage(arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 Py_INCREF(Py_None
); resultobj
= Py_None
;
19261 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxListItem
*arg1
= (wxListItem
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "data", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19274 arg2
= (long) SWIG_AsLong(obj1
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 (arg1
)->SetData(arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxListItem
*arg1
= (wxListItem
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "width", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19303 arg2
= (int) SWIG_AsInt(obj1
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->SetWidth(arg2
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxListItem
*arg1
= (wxListItem
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "align", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19332 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 Py_INCREF(Py_None
); resultobj
= Py_None
;
19348 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxListItem
*arg1
= (wxListItem
*) 0 ;
19351 wxColour
*arg2
= 0 ;
19353 PyObject
* obj0
= 0 ;
19354 PyObject
* obj1
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self",(char *) "colText", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19380 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxListItem
*arg1
= (wxListItem
*) 0 ;
19383 wxColour
*arg2
= 0 ;
19385 PyObject
* obj0
= 0 ;
19386 PyObject
* obj1
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self",(char *) "colBack", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19405 Py_INCREF(Py_None
); resultobj
= Py_None
;
19412 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxListItem
*arg1
= (wxListItem
*) 0 ;
19416 PyObject
* obj0
= 0 ;
19417 PyObject
* obj1
= 0 ;
19418 char *kwnames
[] = {
19419 (char *) "self",(char *) "font", NULL
19422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19428 if (arg2
== NULL
) {
19429 PyErr_SetString(PyExc_TypeError
,"null reference");
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetFont((wxFont
const &)*arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxListItem
*arg1
= (wxListItem
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (long)(arg1
)->GetMask();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= SWIG_FromLong((long)result
);
19472 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxListItem
*arg1
= (wxListItem
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 char *kwnames
[] = {
19478 (char *) "self", NULL
19481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19486 result
= (long)(arg1
)->GetId();
19488 wxPyEndAllowThreads(__tstate
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= SWIG_FromLong((long)result
);
19498 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19499 PyObject
*resultobj
;
19500 wxListItem
*arg1
= (wxListItem
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 result
= (int)(arg1
)->GetColumn();
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 resultobj
= SWIG_FromInt((int)result
);
19524 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxListItem
*arg1
= (wxListItem
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= (long)(arg1
)->GetState();
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 resultobj
= SWIG_FromLong((long)result
);
19550 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxListItem
*arg1
= (wxListItem
*) 0 ;
19554 PyObject
* obj0
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19565 wxString
const &_result_ref
= (arg1
)->GetText();
19566 result
= (wxString
*) &_result_ref
;
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19576 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19585 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxListItem
*arg1
= (wxListItem
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19599 result
= (int)(arg1
)->GetImage();
19601 wxPyEndAllowThreads(__tstate
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= SWIG_FromInt((int)result
);
19611 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19612 PyObject
*resultobj
;
19613 wxListItem
*arg1
= (wxListItem
*) 0 ;
19615 PyObject
* obj0
= 0 ;
19616 char *kwnames
[] = {
19617 (char *) "self", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= (long)(arg1
)->GetData();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_FromLong((long)result
);
19637 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxListItem
*arg1
= (wxListItem
*) 0 ;
19641 PyObject
* obj0
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (int)(arg1
)->GetWidth();
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= SWIG_FromInt((int)result
);
19663 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxListItem
*arg1
= (wxListItem
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (int)(arg1
)->GetAlign();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_FromInt((int)result
);
19689 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListItem
*arg1
= (wxListItem
*) 0 ;
19692 wxListItemAttr
*result
;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19715 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListItem
*arg1
= (wxListItem
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (bool)(arg1
)->HasAttributes();
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19743 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxListItem
*arg1
= (wxListItem
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 wxColour
* resultptr
;
19764 resultptr
= new wxColour((wxColour
&) result
);
19765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19773 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxListItem
*arg1
= (wxListItem
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 wxColour
* resultptr
;
19794 resultptr
= new wxColour((wxColour
&) result
);
19795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19803 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxListItem
*arg1
= (wxListItem
*) 0 ;
19807 PyObject
* obj0
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 result
= ((wxListItem
const *)arg1
)->GetFont();
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19823 wxFont
* resultptr
;
19824 resultptr
= new wxFont((wxFont
&) result
);
19825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19833 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxListItem
*arg1
= (wxListItem
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "m_mask", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 arg2
= (long) SWIG_AsLong(obj1
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19848 if (arg1
) (arg1
)->m_mask
= arg2
;
19850 Py_INCREF(Py_None
); resultobj
= Py_None
;
19857 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19858 PyObject
*resultobj
;
19859 wxListItem
*arg1
= (wxListItem
*) 0 ;
19861 PyObject
* obj0
= 0 ;
19862 char *kwnames
[] = {
19863 (char *) "self", NULL
19866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19869 result
= (long) ((arg1
)->m_mask
);
19871 resultobj
= SWIG_FromLong((long)result
);
19878 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxListItem
*arg1
= (wxListItem
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 PyObject
* obj1
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self",(char *) "m_itemId", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 arg2
= (long) SWIG_AsLong(obj1
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19893 if (arg1
) (arg1
)->m_itemId
= arg2
;
19895 Py_INCREF(Py_None
); resultobj
= Py_None
;
19902 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxListItem
*arg1
= (wxListItem
*) 0 ;
19906 PyObject
* obj0
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 result
= (long) ((arg1
)->m_itemId
);
19916 resultobj
= SWIG_FromLong((long)result
);
19923 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19924 PyObject
*resultobj
;
19925 wxListItem
*arg1
= (wxListItem
*) 0 ;
19927 PyObject
* obj0
= 0 ;
19928 PyObject
* obj1
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self",(char *) "m_col", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19936 arg2
= (int) SWIG_AsInt(obj1
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19938 if (arg1
) (arg1
)->m_col
= arg2
;
19940 Py_INCREF(Py_None
); resultobj
= Py_None
;
19947 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19948 PyObject
*resultobj
;
19949 wxListItem
*arg1
= (wxListItem
*) 0 ;
19951 PyObject
* obj0
= 0 ;
19952 char *kwnames
[] = {
19953 (char *) "self", NULL
19956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 result
= (int) ((arg1
)->m_col
);
19961 resultobj
= SWIG_FromInt((int)result
);
19968 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxListItem
*arg1
= (wxListItem
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 PyObject
* obj1
= 0 ;
19974 char *kwnames
[] = {
19975 (char *) "self",(char *) "m_state", NULL
19978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 arg2
= (long) SWIG_AsLong(obj1
);
19982 if (PyErr_Occurred()) SWIG_fail
;
19983 if (arg1
) (arg1
)->m_state
= arg2
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxListItem
*arg1
= (wxListItem
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20004 result
= (long) ((arg1
)->m_state
);
20006 resultobj
= SWIG_FromLong((long)result
);
20013 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxListItem
*arg1
= (wxListItem
*) 0 ;
20017 PyObject
* obj0
= 0 ;
20018 PyObject
* obj1
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self",(char *) "m_stateMask", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20026 arg2
= (long) SWIG_AsLong(obj1
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20028 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxListItem
*arg1
= (wxListItem
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20049 result
= (long) ((arg1
)->m_stateMask
);
20051 resultobj
= SWIG_FromLong((long)result
);
20058 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20060 wxListItem
*arg1
= (wxListItem
*) 0 ;
20061 wxString
*arg2
= (wxString
*) 0 ;
20062 bool temp2
= False
;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char *kwnames
[] = {
20066 (char *) "self",(char *) "m_text", NULL
20069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20073 arg2
= wxString_in_helper(obj1
);
20074 if (arg2
== NULL
) SWIG_fail
;
20077 if (arg1
) (arg1
)->m_text
= *arg2
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxListItem
*arg1
= (wxListItem
*) 0 ;
20098 PyObject
* obj0
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 result
= (wxString
*)& ((arg1
)->m_text
);
20110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20121 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxListItem
*arg1
= (wxListItem
*) 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "m_image", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 arg2
= (int) SWIG_AsInt(obj1
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20136 if (arg1
) (arg1
)->m_image
= arg2
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20145 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxListItem
*arg1
= (wxListItem
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20157 result
= (int) ((arg1
)->m_image
);
20159 resultobj
= SWIG_FromInt((int)result
);
20166 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxListItem
*arg1
= (wxListItem
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 PyObject
* obj1
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self",(char *) "m_data", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 arg2
= (long) SWIG_AsLong(obj1
);
20180 if (PyErr_Occurred()) SWIG_fail
;
20181 if (arg1
) (arg1
)->m_data
= arg2
;
20183 Py_INCREF(Py_None
); resultobj
= Py_None
;
20190 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxListItem
*arg1
= (wxListItem
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20202 result
= (long) ((arg1
)->m_data
);
20204 resultobj
= SWIG_FromLong((long)result
);
20211 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20212 PyObject
*resultobj
;
20213 wxListItem
*arg1
= (wxListItem
*) 0 ;
20215 PyObject
* obj0
= 0 ;
20216 PyObject
* obj1
= 0 ;
20217 char *kwnames
[] = {
20218 (char *) "self",(char *) "m_format", NULL
20221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20224 arg2
= (int) SWIG_AsInt(obj1
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20226 if (arg1
) (arg1
)->m_format
= arg2
;
20228 Py_INCREF(Py_None
); resultobj
= Py_None
;
20235 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
;
20237 wxListItem
*arg1
= (wxListItem
*) 0 ;
20239 PyObject
* obj0
= 0 ;
20240 char *kwnames
[] = {
20241 (char *) "self", NULL
20244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20247 result
= (int) ((arg1
)->m_format
);
20249 resultobj
= SWIG_FromInt((int)result
);
20256 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxListItem
*arg1
= (wxListItem
*) 0 ;
20260 PyObject
* obj0
= 0 ;
20261 PyObject
* obj1
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self",(char *) "m_width", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 arg2
= (int) SWIG_AsInt(obj1
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20271 if (arg1
) (arg1
)->m_width
= arg2
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 result
= (int) ((arg1
)->m_width
);
20294 resultobj
= SWIG_FromInt((int)result
);
20301 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20304 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20306 return Py_BuildValue((char *)"");
20308 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20311 int arg2
= (int) 0 ;
20312 wxListEvent
*result
;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "commandType",(char *) "id", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20321 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 arg2
= (int) SWIG_AsInt(obj1
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20342 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self",(char *) "m_code", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 arg2
= (int) SWIG_AsInt(obj1
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20357 if (arg1
) (arg1
)->m_code
= arg2
;
20359 Py_INCREF(Py_None
); resultobj
= Py_None
;
20366 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20370 PyObject
* obj0
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "self", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 result
= (int) ((arg1
)->m_code
);
20380 resultobj
= SWIG_FromInt((int)result
);
20387 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "m_oldItemIndex", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 arg2
= (long) SWIG_AsLong(obj1
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20402 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20404 Py_INCREF(Py_None
); resultobj
= Py_None
;
20411 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20413 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20423 result
= (long) ((arg1
)->m_oldItemIndex
);
20425 resultobj
= SWIG_FromLong((long)result
);
20432 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 PyObject
* obj1
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self",(char *) "m_itemIndex", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 arg2
= (long) SWIG_AsLong(obj1
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20447 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20449 Py_INCREF(Py_None
); resultobj
= Py_None
;
20456 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20460 PyObject
* obj0
= 0 ;
20461 char *kwnames
[] = {
20462 (char *) "self", NULL
20465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20468 result
= (long) ((arg1
)->m_itemIndex
);
20470 resultobj
= SWIG_FromLong((long)result
);
20477 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 PyObject
* obj1
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self",(char *) "m_col", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 arg2
= (int) SWIG_AsInt(obj1
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20492 if (arg1
) (arg1
)->m_col
= arg2
;
20494 Py_INCREF(Py_None
); resultobj
= Py_None
;
20501 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20502 PyObject
*resultobj
;
20503 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20505 PyObject
* obj0
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 result
= (int) ((arg1
)->m_col
);
20515 resultobj
= SWIG_FromInt((int)result
);
20522 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20525 wxPoint
*arg2
= (wxPoint
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "m_pointDrag", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20539 Py_INCREF(Py_None
); resultobj
= Py_None
;
20546 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20567 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20568 PyObject
*resultobj
;
20569 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20570 wxListItem
*result
;
20571 PyObject
* obj0
= 0 ;
20572 char *kwnames
[] = {
20573 (char *) "self", NULL
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 result
= (wxListItem
*)& ((arg1
)->m_item
);
20582 resultobj
= wxPyMake_wxObject(result
);
20590 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= (int)(arg1
)->GetKeyCode();
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20609 resultobj
= SWIG_FromInt((int)result
);
20616 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 result
= (long)(arg1
)->GetIndex();
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_FromLong((long)result
);
20642 static PyObject
*_wrap_ListEvent_GetColumn(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_GetColumn",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();
20656 result
= (int)(arg1
)->GetColumn();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_FromInt((int)result
);
20668 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
;
20670 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 char *kwnames
[] = {
20674 (char *) "self", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (arg1
)->GetPoint();
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20688 wxPoint
* resultptr
;
20689 resultptr
= new wxPoint((wxPoint
&) result
);
20690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20698 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20702 PyObject
* obj0
= 0 ;
20703 char *kwnames
[] = {
20704 (char *) "self", NULL
20707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 wxString
const &_result_ref
= (arg1
)->GetLabel();
20714 result
= (wxString
*) &_result_ref
;
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20724 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20733 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20734 PyObject
*resultobj
;
20735 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20737 PyObject
* obj0
= 0 ;
20738 char *kwnames
[] = {
20739 (char *) "self", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20748 wxString
const &_result_ref
= (arg1
)->GetText();
20749 result
= (wxString
*) &_result_ref
;
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20768 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20769 PyObject
*resultobj
;
20770 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20772 PyObject
* obj0
= 0 ;
20773 char *kwnames
[] = {
20774 (char *) "self", NULL
20777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (int)(arg1
)->GetImage();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_FromInt((int)result
);
20794 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 result
= (long)(arg1
)->GetData();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 resultobj
= SWIG_FromLong((long)result
);
20820 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (long)(arg1
)->GetMask();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= SWIG_FromLong((long)result
);
20846 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20849 wxListItem
*result
;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20861 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20862 result
= (wxListItem
*) &_result_ref
;
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20875 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (long)(arg1
)->GetCacheFrom();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_FromLong((long)result
);
20901 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (long)(arg1
)->GetCacheTo();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_FromLong((long)result
);
20927 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20955 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 PyObject
* obj1
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self",(char *) "editCancelled", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 arg2
= (bool) SWIG_AsBool(obj1
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 (arg1
)->SetEditCanceled(arg2
);
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 Py_INCREF(Py_None
); resultobj
= Py_None
;
20984 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20987 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20989 return Py_BuildValue((char *)"");
20991 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxWindow
*arg1
= (wxWindow
*) 0 ;
20994 int arg2
= (int) -1 ;
20995 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20996 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20997 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20998 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20999 long arg5
= (long) wxLC_ICON
;
21000 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21001 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21002 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21004 wxPyListCtrl
*result
;
21007 bool temp7
= False
;
21008 PyObject
* obj0
= 0 ;
21009 PyObject
* obj1
= 0 ;
21010 PyObject
* obj2
= 0 ;
21011 PyObject
* obj3
= 0 ;
21012 PyObject
* obj4
= 0 ;
21013 PyObject
* obj5
= 0 ;
21014 PyObject
* obj6
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 arg2
= (int) SWIG_AsInt(obj1
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21035 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21039 arg5
= (long) SWIG_AsLong(obj4
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21043 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21046 if (arg6
== NULL
) {
21047 PyErr_SetString(PyExc_TypeError
,"null reference");
21053 arg7
= wxString_in_helper(obj6
);
21054 if (arg7
== NULL
) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21080 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxPyListCtrl
*result
;
21083 char *kwnames
[] = {
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21102 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21105 wxWindow
*arg2
= (wxWindow
*) 0 ;
21106 int arg3
= (int) -1 ;
21107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21111 long arg6
= (long) wxLC_ICON
;
21112 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21113 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21114 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21115 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21119 bool temp8
= False
;
21120 PyObject
* obj0
= 0 ;
21121 PyObject
* obj1
= 0 ;
21122 PyObject
* obj2
= 0 ;
21123 PyObject
* obj3
= 0 ;
21124 PyObject
* obj4
= 0 ;
21125 PyObject
* obj5
= 0 ;
21126 PyObject
* obj6
= 0 ;
21127 PyObject
* obj7
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21138 arg3
= (int) SWIG_AsInt(obj2
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21144 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21150 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21154 arg6
= (long) SWIG_AsLong(obj5
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21161 if (arg7
== NULL
) {
21162 PyErr_SetString(PyExc_TypeError
,"null reference");
21168 arg8
= wxString_in_helper(obj7
);
21169 if (arg8
== NULL
) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21197 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21200 PyObject
*arg2
= (PyObject
*) 0 ;
21201 PyObject
*arg3
= (PyObject
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 PyObject
* obj2
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self",(char *) "self",(char *) "_class", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21216 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21218 wxPyEndAllowThreads(__tstate
);
21219 if (PyErr_Occurred()) SWIG_fail
;
21221 Py_INCREF(Py_None
); resultobj
= Py_None
;
21228 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21230 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21231 wxColour
*arg2
= 0 ;
21234 PyObject
* obj0
= 0 ;
21235 PyObject
* obj1
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self",(char *) "col", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21263 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21265 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21266 wxColour
*arg2
= 0 ;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "col", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21286 wxPyEndAllowThreads(__tstate
);
21287 if (PyErr_Occurred()) SWIG_fail
;
21290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21298 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21302 wxListItem
*result
;
21303 PyObject
* obj0
= 0 ;
21304 PyObject
* obj1
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self",(char *) "col", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 arg2
= (int) SWIG_AsInt(obj1
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21318 wxPyEndAllowThreads(__tstate
);
21319 if (PyErr_Occurred()) SWIG_fail
;
21322 resultobj
= wxPyMake_wxObject(result
);
21330 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21334 wxListItem
*arg3
= 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self",(char *) "col",(char *) "item", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21346 arg2
= (int) SWIG_AsInt(obj1
);
21347 if (PyErr_Occurred()) SWIG_fail
;
21348 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21351 if (arg3
== NULL
) {
21352 PyErr_SetString(PyExc_TypeError
,"null reference");
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21371 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
;
21373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 PyObject
* obj1
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "col", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 arg2
= (int) SWIG_AsInt(obj1
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_FromInt((int)result
);
21401 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 PyObject
* obj1
= 0 ;
21409 PyObject
* obj2
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self",(char *) "col",(char *) "width", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21417 arg2
= (int) SWIG_AsInt(obj1
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21419 arg3
= (int) SWIG_AsInt(obj2
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21437 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_FromInt((int)result
);
21463 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 wxRect
* resultptr
;
21484 resultptr
= new wxRect((wxRect
&) result
);
21485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21493 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21496 wxTextCtrl
*result
;
21497 PyObject
* obj0
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "self", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21513 resultobj
= wxPyMake_wxObject(result
);
21521 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21525 int arg3
= (int) 0 ;
21526 wxListItem
*result
;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 PyObject
* obj2
= 0 ;
21530 char *kwnames
[] = {
21531 (char *) "self",(char *) "itemId",(char *) "col", NULL
21534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21537 arg2
= (long) SWIG_AsLong(obj1
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 arg3
= (int) SWIG_AsInt(obj2
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21545 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= wxPyMake_wxObject(result
);
21559 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21562 wxListItem
*arg2
= 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char *kwnames
[] = {
21567 (char *) "self",(char *) "info", NULL
21570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21576 if (arg2
== NULL
) {
21577 PyErr_SetString(PyExc_TypeError
,"null reference");
21581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 result
= (bool)(arg1
)->SetItem(*arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21596 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21601 wxString
*arg4
= 0 ;
21602 int arg5
= (int) -1 ;
21604 bool temp4
= False
;
21605 PyObject
* obj0
= 0 ;
21606 PyObject
* obj1
= 0 ;
21607 PyObject
* obj2
= 0 ;
21608 PyObject
* obj3
= 0 ;
21609 PyObject
* obj4
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21617 arg2
= (long) SWIG_AsLong(obj1
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21619 arg3
= (int) SWIG_AsInt(obj2
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 arg4
= wxString_in_helper(obj3
);
21623 if (arg4
== NULL
) SWIG_fail
;
21627 arg5
= (int) SWIG_AsInt(obj4
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21637 resultobj
= SWIG_FromLong((long)result
);
21652 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21653 PyObject
*resultobj
;
21654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21668 arg2
= (long) SWIG_AsLong(obj1
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21670 arg3
= (long) SWIG_AsLong(obj2
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_FromInt((int)result
);
21686 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 PyObject
* obj3
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 arg2
= (long) SWIG_AsLong(obj1
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21706 arg3
= (long) SWIG_AsLong(obj2
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21708 arg4
= (long) SWIG_AsLong(obj3
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21726 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 PyObject
* obj2
= 0 ;
21736 PyObject
* obj3
= 0 ;
21737 char *kwnames
[] = {
21738 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21744 arg2
= (long) SWIG_AsLong(obj1
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21746 arg3
= (int) SWIG_AsInt(obj2
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21748 arg4
= (int) SWIG_AsInt(obj3
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21752 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21766 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21767 PyObject
*resultobj
;
21768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21771 PyObject
* obj0
= 0 ;
21772 PyObject
* obj1
= 0 ;
21773 char *kwnames
[] = {
21774 (char *) "self",(char *) "item", NULL
21777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 arg2
= (long) SWIG_AsLong(obj1
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21802 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21806 wxString
*arg3
= 0 ;
21807 bool temp3
= False
;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 PyObject
* obj2
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "item",(char *) "str", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21818 arg2
= (long) SWIG_AsLong(obj1
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 arg3
= wxString_in_helper(obj2
);
21822 if (arg3
== NULL
) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self",(char *) "item", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 arg2
= (long) SWIG_AsLong(obj1
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_FromLong((long)result
);
21877 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "item",(char *) "data", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 arg2
= (long) SWIG_AsLong(obj1
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21895 arg3
= (long) SWIG_AsLong(obj2
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21899 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21913 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 char *kwnames
[] = {
21921 (char *) "self",(char *) "item", NULL
21924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg2
= (long) SWIG_AsLong(obj1
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21931 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21933 wxPyEndAllowThreads(__tstate
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21937 wxPoint
* resultptr
;
21938 resultptr
= new wxPoint((wxPoint
&) result
);
21939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21947 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21948 PyObject
*resultobj
;
21949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21951 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21953 PyObject
* obj0
= 0 ;
21954 PyObject
* obj1
= 0 ;
21955 PyObject
* obj2
= 0 ;
21956 char *kwnames
[] = {
21957 (char *) "self",(char *) "item",(char *) "code", NULL
21960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21963 arg2
= (long) SWIG_AsLong(obj1
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 arg3
= (int) SWIG_AsInt(obj2
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21977 wxRect
* resultptr
;
21978 resultptr
= new wxRect((wxRect
&) result
);
21979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21987 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21991 wxPoint
*arg3
= 0 ;
21994 PyObject
* obj0
= 0 ;
21995 PyObject
* obj1
= 0 ;
21996 PyObject
* obj2
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self",(char *) "item",(char *) "pos", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",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
= (long) SWIG_AsLong(obj1
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22012 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_FromInt((int)result
);
22052 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22066 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_FromInt((int)result
);
22078 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 wxSize
* resultptr
;
22099 resultptr
= new wxSize((wxSize
&) result
);
22100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22108 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_FromInt((int)result
);
22134 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 wxColour
* resultptr
;
22155 resultptr
= new wxColour((wxColour
&) result
);
22156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22164 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22167 wxColour
*arg2
= 0 ;
22169 PyObject
* obj0
= 0 ;
22170 PyObject
* obj1
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self",(char *) "col", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22180 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22200 PyObject
* obj0
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_FromLong((long)result
);
22222 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22226 bool arg3
= (bool) True
;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 PyObject
* obj2
= 0 ;
22230 char *kwnames
[] = {
22231 (char *) "self",(char *) "style",(char *) "add", NULL
22234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22237 arg2
= (long) SWIG_AsLong(obj1
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 arg3
= (bool) SWIG_AsBool(obj2
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->SetSingleStyle(arg2
,arg3
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22257 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self",(char *) "style", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22270 arg2
= (long) SWIG_AsLong(obj1
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 (arg1
)->SetWindowStyleFlag(arg2
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 Py_INCREF(Py_None
); resultobj
= Py_None
;
22286 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22290 int arg3
= (int) wxLIST_NEXT_ALL
;
22291 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj2
= 0 ;
22296 PyObject
* obj3
= 0 ;
22297 char *kwnames
[] = {
22298 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 arg2
= (long) SWIG_AsLong(obj1
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 arg3
= (int) SWIG_AsInt(obj2
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 arg4
= (int) SWIG_AsInt(obj3
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 resultobj
= SWIG_FromLong((long)result
);
22328 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22332 wxImageList
*result
;
22333 PyObject
* obj0
= 0 ;
22334 PyObject
* obj1
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self",(char *) "which", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22342 arg2
= (int) SWIG_AsInt(obj1
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= wxPyMake_wxObject(result
);
22360 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22363 wxImageList
*arg2
= (wxImageList
*) 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 PyObject
* obj2
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "imageList",(char *) "which", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 arg3
= (int) SWIG_AsInt(obj2
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 (arg1
)->SetImageList(arg2
,arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 Py_INCREF(Py_None
); resultobj
= Py_None
;
22393 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22396 wxImageList
*arg2
= (wxImageList
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 PyObject
* obj1
= 0 ;
22400 PyObject
* obj2
= 0 ;
22401 char *kwnames
[] = {
22402 (char *) "self",(char *) "imageList",(char *) "which", NULL
22405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22409 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22410 arg3
= (int) SWIG_AsInt(obj2
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 (arg1
)->AssignImageList(arg2
,arg3
);
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 Py_INCREF(Py_None
); resultobj
= Py_None
;
22426 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 char *kwnames
[] = {
22432 (char *) "self", NULL
22435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22440 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22454 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22458 PyObject
* obj0
= 0 ;
22459 char *kwnames
[] = {
22460 (char *) "self", NULL
22463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22482 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
;
22484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self",(char *) "item", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22495 arg2
= (long) SWIG_AsLong(obj1
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 (arg1
)->RefreshItem(arg2
);
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22504 Py_INCREF(Py_None
); resultobj
= Py_None
;
22511 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22512 PyObject
*resultobj
;
22513 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 arg2
= (long) SWIG_AsLong(obj1
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22528 arg3
= (long) SWIG_AsLong(obj2
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 (arg1
)->RefreshItems(arg2
,arg3
);
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22547 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "flag", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22559 arg2
= (int) SWIG_AsInt(obj1
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (bool)(arg1
)->Arrange(arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "item", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 arg2
= (long) SWIG_AsLong(obj1
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 result
= (bool)(arg1
)->DeleteItem(arg2
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22610 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 char *kwnames
[] = {
22616 (char *) "self", NULL
22619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 result
= (bool)(arg1
)->DeleteAllItems();
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22638 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22639 PyObject
*resultobj
;
22640 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22643 PyObject
* obj0
= 0 ;
22644 PyObject
* obj1
= 0 ;
22645 char *kwnames
[] = {
22646 (char *) "self",(char *) "col", NULL
22649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",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
= (int) SWIG_AsInt(obj1
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22670 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22671 PyObject
*resultobj
;
22672 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22674 PyObject
* obj0
= 0 ;
22675 char *kwnames
[] = {
22676 (char *) "self", NULL
22679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22684 result
= (bool)(arg1
)->DeleteAllColumns();
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22698 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22699 PyObject
*resultobj
;
22700 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22701 PyObject
* obj0
= 0 ;
22702 char *kwnames
[] = {
22703 (char *) "self", NULL
22706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 (arg1
)->ClearAll();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 Py_INCREF(Py_None
); resultobj
= Py_None
;
22723 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22727 wxTextCtrl
*result
;
22728 PyObject
* obj0
= 0 ;
22729 PyObject
* obj1
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self",(char *) "item", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22737 arg2
= (long) SWIG_AsLong(obj1
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22747 resultobj
= wxPyMake_wxObject(result
);
22755 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
;
22757 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "cancel", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 arg2
= (bool) SWIG_AsBool(obj1
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22773 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22787 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "item", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22801 arg2
= (long) SWIG_AsLong(obj1
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22819 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22823 wxString
*arg3
= 0 ;
22824 bool arg4
= (bool) False
;
22826 bool temp3
= False
;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 PyObject
* obj2
= 0 ;
22830 PyObject
* obj3
= 0 ;
22831 char *kwnames
[] = {
22832 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22838 arg2
= (long) SWIG_AsLong(obj1
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 arg3
= wxString_in_helper(obj2
);
22842 if (arg3
== NULL
) SWIG_fail
;
22846 arg4
= (bool) SWIG_AsBool(obj3
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_FromLong((long)result
);
22871 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 PyObject
* obj1
= 0 ;
22879 PyObject
* obj2
= 0 ;
22880 char *kwnames
[] = {
22881 (char *) "self",(char *) "start",(char *) "data", NULL
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22887 arg2
= (long) SWIG_AsLong(obj1
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22889 arg3
= (long) SWIG_AsLong(obj2
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_FromLong((long)result
);
22905 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22909 wxPoint
*arg3
= 0 ;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 PyObject
* obj2
= 0 ;
22916 PyObject
* obj3
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 arg2
= (long) SWIG_AsLong(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22930 arg4
= (int) SWIG_AsInt(obj3
);
22931 if (PyErr_Occurred()) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_FromLong((long)result
);
22946 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22949 wxPoint
*arg2
= 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self",(char *) "point", NULL
22961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22970 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22972 wxPyEndAllowThreads(__tstate
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22975 resultobj
= SWIG_FromLong((long)result
);
22977 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22978 resultobj
= t_output_helper(resultobj
,o
);
22986 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22989 wxListItem
*arg2
= 0 ;
22991 PyObject
* obj0
= 0 ;
22992 PyObject
* obj1
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self",(char *) "info", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23003 if (arg2
== NULL
) {
23004 PyErr_SetString(PyExc_TypeError
,"null reference");
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (long)(arg1
)->InsertItem(*arg2
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_FromLong((long)result
);
23021 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23025 wxString
*arg3
= 0 ;
23027 bool temp3
= False
;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 PyObject
* obj2
= 0 ;
23031 char *kwnames
[] = {
23032 (char *) "self",(char *) "index",(char *) "label", NULL
23035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23038 arg2
= (long) SWIG_AsLong(obj1
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 arg3
= wxString_in_helper(obj2
);
23042 if (arg3
== NULL
) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 resultobj
= SWIG_FromLong((long)result
);
23067 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23068 PyObject
*resultobj
;
23069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23073 PyObject
* obj0
= 0 ;
23074 PyObject
* obj1
= 0 ;
23075 PyObject
* obj2
= 0 ;
23076 char *kwnames
[] = {
23077 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23083 arg2
= (long) SWIG_AsLong(obj1
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23085 arg3
= (int) SWIG_AsInt(obj2
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23091 wxPyEndAllowThreads(__tstate
);
23092 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= SWIG_FromLong((long)result
);
23101 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23102 PyObject
*resultobj
;
23103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23105 wxString
*arg3
= 0 ;
23108 bool temp3
= False
;
23109 PyObject
* obj0
= 0 ;
23110 PyObject
* obj1
= 0 ;
23111 PyObject
* obj2
= 0 ;
23112 PyObject
* obj3
= 0 ;
23113 char *kwnames
[] = {
23114 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23120 arg2
= (long) SWIG_AsLong(obj1
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 arg3
= wxString_in_helper(obj2
);
23124 if (arg3
== NULL
) SWIG_fail
;
23127 arg4
= (int) SWIG_AsInt(obj3
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23136 resultobj
= SWIG_FromLong((long)result
);
23151 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23155 wxListItem
*arg3
= 0 ;
23157 PyObject
* obj0
= 0 ;
23158 PyObject
* obj1
= 0 ;
23159 PyObject
* obj2
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "col",(char *) "info", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23167 arg2
= (long) SWIG_AsLong(obj1
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23169 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23172 if (arg3
== NULL
) {
23173 PyErr_SetString(PyExc_TypeError
,"null reference");
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_FromLong((long)result
);
23190 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23194 wxString
*arg3
= 0 ;
23195 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23196 int arg5
= (int) -1 ;
23198 bool temp3
= False
;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 PyObject
* obj2
= 0 ;
23202 PyObject
* obj3
= 0 ;
23203 PyObject
* obj4
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 arg2
= (long) SWIG_AsLong(obj1
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 arg3
= wxString_in_helper(obj2
);
23215 if (arg3
== NULL
) SWIG_fail
;
23219 arg4
= (int) SWIG_AsInt(obj3
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23223 arg5
= (int) SWIG_AsInt(obj4
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_FromLong((long)result
);
23248 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "count", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23261 arg2
= (long) SWIG_AsLong(obj1
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23265 (arg1
)->SetItemCount(arg2
);
23267 wxPyEndAllowThreads(__tstate
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23270 Py_INCREF(Py_None
); resultobj
= Py_None
;
23277 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23278 PyObject
*resultobj
;
23279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 PyObject
* obj1
= 0 ;
23285 PyObject
* obj2
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "dx",(char *) "dy", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 arg2
= (int) SWIG_AsInt(obj1
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23295 arg3
= (int) SWIG_AsInt(obj2
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23313 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23314 PyObject
*resultobj
;
23315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23317 wxColour
*arg3
= 0 ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 PyObject
* obj2
= 0 ;
23322 char *kwnames
[] = {
23323 (char *) "self",(char *) "item",(char *) "col", NULL
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 arg2
= (long) SWIG_AsLong(obj1
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23333 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23337 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 Py_INCREF(Py_None
); resultobj
= Py_None
;
23349 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "item", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 arg2
= (long) SWIG_AsLong(obj1
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23373 wxColour
* resultptr
;
23374 resultptr
= new wxColour((wxColour
&) result
);
23375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23383 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23387 wxColour
*arg3
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "item",(char *) "col", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 arg2
= (long) SWIG_AsLong(obj1
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23403 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 Py_INCREF(Py_None
); resultobj
= Py_None
;
23419 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "item", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23433 arg2
= (long) SWIG_AsLong(obj1
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23443 wxColour
* resultptr
;
23444 resultptr
= new wxColour((wxColour
&) result
);
23445 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23453 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23456 PyObject
*arg2
= (PyObject
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 PyObject
* obj1
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self",(char *) "func", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23470 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23472 wxPyEndAllowThreads(__tstate
);
23473 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23484 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23504 resultobj
= wxPyMake_wxObject(result
);
23512 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23515 wxVisualAttributes result
;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "variant", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23523 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23524 if (PyErr_Occurred()) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 wxVisualAttributes
* resultptr
;
23535 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23544 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23547 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23549 return Py_BuildValue((char *)"");
23551 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
;
23553 wxWindow
*arg1
= (wxWindow
*) 0 ;
23554 int arg2
= (int) -1 ;
23555 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23556 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23557 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23558 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23559 long arg5
= (long) wxLC_REPORT
;
23560 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23561 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23562 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23563 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23564 wxListView
*result
;
23567 bool temp7
= False
;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 PyObject
* obj2
= 0 ;
23571 PyObject
* obj3
= 0 ;
23572 PyObject
* obj4
= 0 ;
23573 PyObject
* obj5
= 0 ;
23574 PyObject
* obj6
= 0 ;
23575 char *kwnames
[] = {
23576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23583 arg2
= (int) SWIG_AsInt(obj1
);
23584 if (PyErr_Occurred()) SWIG_fail
;
23589 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23595 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23599 arg5
= (long) SWIG_AsLong(obj4
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23606 if (arg6
== NULL
) {
23607 PyErr_SetString(PyExc_TypeError
,"null reference");
23613 arg7
= wxString_in_helper(obj6
);
23614 if (arg7
== NULL
) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23640 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxListView
*result
;
23643 char *kwnames
[] = {
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (wxListView
*)new wxListView();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23662 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxListView
*arg1
= (wxListView
*) 0 ;
23665 wxWindow
*arg2
= (wxWindow
*) 0 ;
23666 int arg3
= (int) -1 ;
23667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23671 long arg6
= (long) wxLC_REPORT
;
23672 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23673 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23674 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23675 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23679 bool temp8
= False
;
23680 PyObject
* obj0
= 0 ;
23681 PyObject
* obj1
= 0 ;
23682 PyObject
* obj2
= 0 ;
23683 PyObject
* obj3
= 0 ;
23684 PyObject
* obj4
= 0 ;
23685 PyObject
* obj5
= 0 ;
23686 PyObject
* obj6
= 0 ;
23687 PyObject
* obj7
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 arg3
= (int) SWIG_AsInt(obj2
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23704 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23710 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23714 arg6
= (long) SWIG_AsLong(obj5
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23718 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23721 if (arg7
== NULL
) {
23722 PyErr_SetString(PyExc_TypeError
,"null reference");
23728 arg8
= wxString_in_helper(obj7
);
23729 if (arg8
== NULL
) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23757 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxListView
*arg1
= (wxListView
*) 0 ;
23761 bool arg3
= (bool) True
;
23762 PyObject
* obj0
= 0 ;
23763 PyObject
* obj1
= 0 ;
23764 PyObject
* obj2
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "n",(char *) "on", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 arg2
= (long) SWIG_AsLong(obj1
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23775 arg3
= (bool) SWIG_AsBool(obj2
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 (arg1
)->Select(arg2
,arg3
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 Py_INCREF(Py_None
); resultobj
= Py_None
;
23792 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxListView
*arg1
= (wxListView
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 PyObject
* obj1
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self",(char *) "index", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 arg2
= (long) SWIG_AsLong(obj1
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 (arg1
)->Focus(arg2
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 Py_INCREF(Py_None
); resultobj
= Py_None
;
23821 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
;
23823 wxListView
*arg1
= (wxListView
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= SWIG_FromLong((long)result
);
23847 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxListView
*arg1
= (wxListView
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "item", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 arg2
= (long) SWIG_AsLong(obj1
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_FromLong((long)result
);
23877 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxListView
*arg1
= (wxListView
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23891 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23893 wxPyEndAllowThreads(__tstate
);
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 resultobj
= SWIG_FromLong((long)result
);
23903 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23904 PyObject
*resultobj
;
23905 wxListView
*arg1
= (wxListView
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self",(char *) "index", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23917 arg2
= (long) SWIG_AsLong(obj1
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (bool)(arg1
)->IsSelected(arg2
);
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23935 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxListView
*arg1
= (wxListView
*) 0 ;
23940 PyObject
* obj0
= 0 ;
23941 PyObject
* obj1
= 0 ;
23942 PyObject
* obj2
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "col",(char *) "image", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 arg2
= (int) SWIG_AsInt(obj1
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23952 arg3
= (int) SWIG_AsInt(obj2
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->SetColumnImage(arg2
,arg3
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxListView
*arg1
= (wxListView
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "self",(char *) "col", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 arg2
= (int) SWIG_AsInt(obj1
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 (arg1
)->ClearColumnImage(arg2
);
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23990 Py_INCREF(Py_None
); resultobj
= Py_None
;
23997 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24002 return Py_BuildValue((char *)"");
24004 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
24005 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24010 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24015 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24017 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24024 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24025 PyObject
*resultobj
;
24026 wxTreeItemId
*result
;
24027 char *kwnames
[] = {
24031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxTreeItemId
*)new wxTreeItemId();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24046 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24049 PyObject
* obj0
= 0 ;
24050 char *kwnames
[] = {
24051 (char *) "self", NULL
24054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 Py_INCREF(Py_None
); resultobj
= Py_None
;
24071 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24099 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24102 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "other", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24131 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24132 PyObject
*resultobj
;
24133 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24134 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24136 PyObject
* obj0
= 0 ;
24137 PyObject
* obj1
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self",(char *) "other", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24163 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24166 void *arg2
= (void *) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "m_pItem", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24177 if (arg1
) (arg1
)->m_pItem
= arg2
;
24179 Py_INCREF(Py_None
); resultobj
= Py_None
;
24186 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24198 result
= (void *) ((arg1
)->m_pItem
);
24200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24207 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24210 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24212 return Py_BuildValue((char *)"");
24214 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 PyObject
*arg1
= (PyObject
*) NULL
;
24217 wxPyTreeItemData
*result
;
24218 PyObject
* obj0
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "obj", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24241 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24242 PyObject
*resultobj
;
24243 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 char *kwnames
[] = {
24247 (char *) "self", NULL
24250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 result
= (PyObject
*)(arg1
)->GetData();
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= result
;
24267 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24270 PyObject
*arg2
= (PyObject
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 char *kwnames
[] = {
24274 (char *) "self",(char *) "obj", NULL
24277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24283 (arg1
)->SetData(arg2
);
24285 wxPyEndAllowThreads(__tstate
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24288 Py_INCREF(Py_None
); resultobj
= Py_None
;
24295 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24298 wxTreeItemId
*result
;
24299 PyObject
* obj0
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24311 result
= (wxTreeItemId
*) &_result_ref
;
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24324 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24327 wxTreeItemId
*arg2
= 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 char *kwnames
[] = {
24331 (char *) "self",(char *) "id", NULL
24334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24340 if (arg2
== NULL
) {
24341 PyErr_SetString(PyExc_TypeError
,"null reference");
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24348 wxPyEndAllowThreads(__tstate
);
24349 if (PyErr_Occurred()) SWIG_fail
;
24351 Py_INCREF(Py_None
); resultobj
= Py_None
;
24358 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 wxPyTreeItemData_Destroy(arg1
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 Py_INCREF(Py_None
); resultobj
= Py_None
;
24383 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24386 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24388 return Py_BuildValue((char *)"");
24390 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24393 int arg2
= (int) 0 ;
24394 wxTreeEvent
*result
;
24395 PyObject
* obj0
= 0 ;
24396 PyObject
* obj1
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "commandType",(char *) "id", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24404 if (PyErr_Occurred()) SWIG_fail
;
24407 arg2
= (int) SWIG_AsInt(obj1
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24424 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24427 wxTreeItemId result
;
24428 PyObject
* obj0
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 wxTreeItemId
* resultptr
;
24445 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24454 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24457 wxTreeItemId
*arg2
= 0 ;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self",(char *) "item", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24470 if (arg2
== NULL
) {
24471 PyErr_SetString(PyExc_TypeError
,"null reference");
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24491 wxTreeItemId result
;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24502 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24508 wxTreeItemId
* resultptr
;
24509 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24518 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24521 wxTreeItemId
*arg2
= 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "item", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24534 if (arg2
== NULL
) {
24535 PyErr_SetString(PyExc_TypeError
,"null reference");
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 Py_INCREF(Py_None
); resultobj
= Py_None
;
24552 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 wxPoint
* resultptr
;
24573 resultptr
= new wxPoint((wxPoint
&) result
);
24574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24582 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24585 wxPoint
*arg2
= 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self",(char *) "pt", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 Py_INCREF(Py_None
); resultobj
= Py_None
;
24614 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24617 wxKeyEvent
*result
;
24618 PyObject
* obj0
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24630 result
= (wxKeyEvent
*) &_result_ref
;
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24643 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_FromInt((int)result
);
24669 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24672 wxKeyEvent
*arg2
= 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self",(char *) "evt", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24685 if (arg2
== NULL
) {
24686 PyErr_SetString(PyExc_TypeError
,"null reference");
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 Py_INCREF(Py_None
); resultobj
= Py_None
;
24703 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
;
24705 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24707 PyObject
* obj0
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24719 result
= (wxString
*) &_result_ref
;
24722 wxPyEndAllowThreads(__tstate
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24738 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24739 PyObject
*resultobj
;
24740 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24741 wxString
*arg2
= 0 ;
24742 bool temp2
= False
;
24743 PyObject
* obj0
= 0 ;
24744 PyObject
* obj1
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "label", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 arg2
= wxString_in_helper(obj1
);
24754 if (arg2
== NULL
) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 (arg1
)->SetLabel((wxString
const &)*arg2
);
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24764 Py_INCREF(Py_None
); resultobj
= Py_None
;
24779 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24780 PyObject
*resultobj
;
24781 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24783 PyObject
* obj0
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24807 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "editCancelled", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 arg2
= (bool) SWIG_AsBool(obj1
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 (arg1
)->SetEditCanceled(arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 Py_INCREF(Py_None
); resultobj
= Py_None
;
24836 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24839 wxString
*arg2
= 0 ;
24840 bool temp2
= False
;
24841 PyObject
* obj0
= 0 ;
24842 PyObject
* obj1
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self",(char *) "toolTip", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 arg2
= wxString_in_helper(obj1
);
24852 if (arg2
== NULL
) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24882 return Py_BuildValue((char *)"");
24884 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxWindow
*arg1
= (wxWindow
*) 0 ;
24887 int arg2
= (int) -1 ;
24888 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24889 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24890 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24891 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24892 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24893 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24894 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24895 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24897 wxPyTreeCtrl
*result
;
24900 bool temp7
= False
;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 PyObject
* obj2
= 0 ;
24904 PyObject
* obj3
= 0 ;
24905 PyObject
* obj4
= 0 ;
24906 PyObject
* obj5
= 0 ;
24907 PyObject
* obj6
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24916 arg2
= (int) SWIG_AsInt(obj1
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24922 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24928 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24932 arg5
= (long) SWIG_AsLong(obj4
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24936 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24939 if (arg6
== NULL
) {
24940 PyErr_SetString(PyExc_TypeError
,"null reference");
24946 arg7
= wxString_in_helper(obj6
);
24947 if (arg7
== NULL
) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24959 resultobj
= wxPyMake_wxObject(result
);
24975 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24976 PyObject
*resultobj
;
24977 wxPyTreeCtrl
*result
;
24978 char *kwnames
[] = {
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24991 resultobj
= wxPyMake_wxObject(result
);
24999 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25002 wxWindow
*arg2
= (wxWindow
*) 0 ;
25003 int arg3
= (int) -1 ;
25004 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25005 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25006 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25007 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25008 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25009 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25010 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25011 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25012 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25016 bool temp8
= False
;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 PyObject
* obj2
= 0 ;
25020 PyObject
* obj3
= 0 ;
25021 PyObject
* obj4
= 0 ;
25022 PyObject
* obj5
= 0 ;
25023 PyObject
* obj6
= 0 ;
25024 PyObject
* obj7
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25035 arg3
= (int) SWIG_AsInt(obj2
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25051 arg6
= (long) SWIG_AsLong(obj5
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25058 if (arg7
== NULL
) {
25059 PyErr_SetString(PyExc_TypeError
,"null reference");
25065 arg8
= wxString_in_helper(obj7
);
25066 if (arg8
== NULL
) SWIG_fail
;
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25094 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25095 PyObject
*resultobj
;
25096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25097 PyObject
*arg2
= (PyObject
*) 0 ;
25098 PyObject
*arg3
= (PyObject
*) 0 ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "self",(char *) "_class", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25118 Py_INCREF(Py_None
); resultobj
= Py_None
;
25125 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25151 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25152 PyObject
*resultobj
;
25153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25154 unsigned int result
;
25155 PyObject
* obj0
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25177 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25180 unsigned int arg2
;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "indent", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25190 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25191 if (PyErr_Occurred()) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetIndent(arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25209 unsigned int result
;
25210 PyObject
* obj0
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25232 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25235 unsigned int arg2
;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self",(char *) "spacing", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25245 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 (arg1
)->SetSpacing(arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25254 Py_INCREF(Py_None
); resultobj
= Py_None
;
25261 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25262 PyObject
*resultobj
;
25263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25264 wxImageList
*result
;
25265 PyObject
* obj0
= 0 ;
25266 char *kwnames
[] = {
25267 (char *) "self", NULL
25270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= wxPyMake_wxObject(result
);
25289 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25292 wxImageList
*result
;
25293 PyObject
* obj0
= 0 ;
25294 char *kwnames
[] = {
25295 (char *) "self", NULL
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25303 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25305 wxPyEndAllowThreads(__tstate
);
25306 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= wxPyMake_wxObject(result
);
25317 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25320 wxImageList
*arg2
= (wxImageList
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 PyObject
* obj1
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self",(char *) "imageList", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25334 (arg1
)->SetImageList(arg2
);
25336 wxPyEndAllowThreads(__tstate
);
25337 if (PyErr_Occurred()) SWIG_fail
;
25339 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25349 wxImageList
*arg2
= (wxImageList
*) 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "imageList", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 (arg1
)->SetStateImageList(arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 Py_INCREF(Py_None
); resultobj
= Py_None
;
25375 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
;
25377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25378 wxImageList
*arg2
= (wxImageList
*) 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "imageList", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25389 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 (arg1
)->AssignImageList(arg2
);
25394 wxPyEndAllowThreads(__tstate
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25397 Py_INCREF(Py_None
); resultobj
= Py_None
;
25404 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25405 PyObject
*resultobj
;
25406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25407 wxImageList
*arg2
= (wxImageList
*) 0 ;
25408 PyObject
* obj0
= 0 ;
25409 PyObject
* obj1
= 0 ;
25410 char *kwnames
[] = {
25411 (char *) "self",(char *) "imageList", NULL
25414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25418 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 (arg1
)->AssignStateImageList(arg2
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 Py_INCREF(Py_None
); resultobj
= Py_None
;
25433 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25436 wxTreeItemId
*arg2
= 0 ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "item", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25450 if (arg2
== NULL
) {
25451 PyErr_SetString(PyExc_TypeError
,"null reference");
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25474 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25477 wxTreeItemId
*arg2
= 0 ;
25478 int arg3
= (int) wxTreeItemIcon_Normal
;
25480 PyObject
* obj0
= 0 ;
25481 PyObject
* obj1
= 0 ;
25482 PyObject
* obj2
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "item",(char *) "which", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25493 if (arg2
== NULL
) {
25494 PyErr_SetString(PyExc_TypeError
,"null reference");
25498 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25503 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25505 wxPyEndAllowThreads(__tstate
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_FromInt((int)result
);
25515 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
;
25517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25518 wxTreeItemId
*arg2
= 0 ;
25519 wxPyTreeItemData
*result
;
25520 PyObject
* obj0
= 0 ;
25521 PyObject
* obj1
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self",(char *) "item", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25532 if (arg2
== NULL
) {
25533 PyErr_SetString(PyExc_TypeError
,"null reference");
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25538 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25540 wxPyEndAllowThreads(__tstate
);
25541 if (PyErr_Occurred()) SWIG_fail
;
25543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25550 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25553 wxTreeItemId
*arg2
= 0 ;
25555 PyObject
* obj0
= 0 ;
25556 PyObject
* obj1
= 0 ;
25557 char *kwnames
[] = {
25558 (char *) "self",(char *) "item", NULL
25561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25567 if (arg2
== NULL
) {
25568 PyErr_SetString(PyExc_TypeError
,"null reference");
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= result
;
25585 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25588 wxTreeItemId
*arg2
= 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char *kwnames
[] = {
25593 (char *) "self",(char *) "item", NULL
25596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 wxColour
* resultptr
;
25615 resultptr
= new wxColour((wxColour
&) result
);
25616 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25624 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25627 wxTreeItemId
*arg2
= 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "item", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25641 if (arg2
== NULL
) {
25642 PyErr_SetString(PyExc_TypeError
,"null reference");
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25653 wxColour
* resultptr
;
25654 resultptr
= new wxColour((wxColour
&) result
);
25655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25663 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25666 wxTreeItemId
*arg2
= 0 ;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self",(char *) "item", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25680 if (arg2
== NULL
) {
25681 PyErr_SetString(PyExc_TypeError
,"null reference");
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 wxFont
* resultptr
;
25693 resultptr
= new wxFont((wxFont
&) result
);
25694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25702 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25703 PyObject
*resultobj
;
25704 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25705 wxTreeItemId
*arg2
= 0 ;
25706 wxString
*arg3
= 0 ;
25707 bool temp3
= False
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 PyObject
* obj2
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "item",(char *) "text", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 arg3
= wxString_in_helper(obj2
);
25727 if (arg3
== NULL
) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 Py_INCREF(Py_None
); resultobj
= Py_None
;
25752 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
;
25754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25755 wxTreeItemId
*arg2
= 0 ;
25757 int arg4
= (int) wxTreeItemIcon_Normal
;
25758 PyObject
* obj0
= 0 ;
25759 PyObject
* obj1
= 0 ;
25760 PyObject
* obj2
= 0 ;
25761 PyObject
* obj3
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25772 if (arg2
== NULL
) {
25773 PyErr_SetString(PyExc_TypeError
,"null reference");
25776 arg3
= (int) SWIG_AsInt(obj2
);
25777 if (PyErr_Occurred()) SWIG_fail
;
25779 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25780 if (PyErr_Occurred()) SWIG_fail
;
25783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25784 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25786 wxPyEndAllowThreads(__tstate
);
25787 if (PyErr_Occurred()) SWIG_fail
;
25789 Py_INCREF(Py_None
); resultobj
= Py_None
;
25796 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
;
25798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25799 wxTreeItemId
*arg2
= 0 ;
25800 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25801 PyObject
* obj0
= 0 ;
25802 PyObject
* obj1
= 0 ;
25803 PyObject
* obj2
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "item",(char *) "data", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25814 if (arg2
== NULL
) {
25815 PyErr_SetString(PyExc_TypeError
,"null reference");
25818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25837 wxTreeItemId
*arg2
= 0 ;
25838 PyObject
*arg3
= (PyObject
*) 0 ;
25839 PyObject
* obj0
= 0 ;
25840 PyObject
* obj1
= 0 ;
25841 PyObject
* obj2
= 0 ;
25842 char *kwnames
[] = {
25843 (char *) "self",(char *) "item",(char *) "obj", NULL
25846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25852 if (arg2
== NULL
) {
25853 PyErr_SetString(PyExc_TypeError
,"null reference");
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 Py_INCREF(Py_None
); resultobj
= Py_None
;
25871 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25872 PyObject
*resultobj
;
25873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25874 wxTreeItemId
*arg2
= 0 ;
25875 bool arg3
= (bool) True
;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 PyObject
* obj2
= 0 ;
25879 char *kwnames
[] = {
25880 (char *) "self",(char *) "item",(char *) "has", NULL
25883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25889 if (arg2
== NULL
) {
25890 PyErr_SetString(PyExc_TypeError
,"null reference");
25894 arg3
= (bool) SWIG_AsBool(obj2
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25899 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25901 wxPyEndAllowThreads(__tstate
);
25902 if (PyErr_Occurred()) SWIG_fail
;
25904 Py_INCREF(Py_None
); resultobj
= Py_None
;
25911 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25912 PyObject
*resultobj
;
25913 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25914 wxTreeItemId
*arg2
= 0 ;
25915 bool arg3
= (bool) True
;
25916 PyObject
* obj0
= 0 ;
25917 PyObject
* obj1
= 0 ;
25918 PyObject
* obj2
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "item",(char *) "bold", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25929 if (arg2
== NULL
) {
25930 PyErr_SetString(PyExc_TypeError
,"null reference");
25934 arg3
= (bool) SWIG_AsBool(obj2
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 Py_INCREF(Py_None
); resultobj
= Py_None
;
25951 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25954 wxTreeItemId
*arg2
= 0 ;
25955 bool arg3
= (bool) True
;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 PyObject
* obj2
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "item",(char *) "highlight", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25969 if (arg2
== NULL
) {
25970 PyErr_SetString(PyExc_TypeError
,"null reference");
25974 arg3
= (bool) SWIG_AsBool(obj2
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25994 wxTreeItemId
*arg2
= 0 ;
25995 wxColour
*arg3
= 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 PyObject
* obj2
= 0 ;
26000 char *kwnames
[] = {
26001 (char *) "self",(char *) "item",(char *) "col", NULL
26004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26010 if (arg2
== NULL
) {
26011 PyErr_SetString(PyExc_TypeError
,"null reference");
26016 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26022 wxPyEndAllowThreads(__tstate
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 Py_INCREF(Py_None
); resultobj
= Py_None
;
26032 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
;
26034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26035 wxTreeItemId
*arg2
= 0 ;
26036 wxColour
*arg3
= 0 ;
26038 PyObject
* obj0
= 0 ;
26039 PyObject
* obj1
= 0 ;
26040 PyObject
* obj2
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self",(char *) "item",(char *) "col", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26051 if (arg2
== NULL
) {
26052 PyErr_SetString(PyExc_TypeError
,"null reference");
26057 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26061 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26063 wxPyEndAllowThreads(__tstate
);
26064 if (PyErr_Occurred()) SWIG_fail
;
26066 Py_INCREF(Py_None
); resultobj
= Py_None
;
26073 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26076 wxTreeItemId
*arg2
= 0 ;
26078 PyObject
* obj0
= 0 ;
26079 PyObject
* obj1
= 0 ;
26080 PyObject
* obj2
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self",(char *) "item",(char *) "font", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26091 if (arg2
== NULL
) {
26092 PyErr_SetString(PyExc_TypeError
,"null reference");
26095 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26098 if (arg3
== NULL
) {
26099 PyErr_SetString(PyExc_TypeError
,"null reference");
26103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26104 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26106 wxPyEndAllowThreads(__tstate
);
26107 if (PyErr_Occurred()) SWIG_fail
;
26109 Py_INCREF(Py_None
); resultobj
= Py_None
;
26116 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26119 wxTreeItemId
*arg2
= 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "item", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26133 if (arg2
== NULL
) {
26134 PyErr_SetString(PyExc_TypeError
,"null reference");
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26153 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26154 PyObject
*resultobj
;
26155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26156 wxTreeItemId
*arg2
= 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char *kwnames
[] = {
26161 (char *) "self",(char *) "item", NULL
26164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26170 if (arg2
== NULL
) {
26171 PyErr_SetString(PyExc_TypeError
,"null reference");
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26190 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26193 wxTreeItemId
*arg2
= 0 ;
26195 PyObject
* obj0
= 0 ;
26196 PyObject
* obj1
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "item", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26207 if (arg2
== NULL
) {
26208 PyErr_SetString(PyExc_TypeError
,"null reference");
26212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26213 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26215 wxPyEndAllowThreads(__tstate
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26227 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26228 PyObject
*resultobj
;
26229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26230 wxTreeItemId
*arg2
= 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char *kwnames
[] = {
26235 (char *) "self",(char *) "item", NULL
26238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26244 if (arg2
== NULL
) {
26245 PyErr_SetString(PyExc_TypeError
,"null reference");
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26264 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26267 wxTreeItemId
*arg2
= 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "item", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26281 if (arg2
== NULL
) {
26282 PyErr_SetString(PyExc_TypeError
,"null reference");
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26301 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26304 wxTreeItemId
*arg2
= 0 ;
26305 bool arg3
= (bool) True
;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 PyObject
* obj2
= 0 ;
26310 char *kwnames
[] = {
26311 (char *) "self",(char *) "item",(char *) "recursively", NULL
26314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26320 if (arg2
== NULL
) {
26321 PyErr_SetString(PyExc_TypeError
,"null reference");
26325 arg3
= (bool) SWIG_AsBool(obj2
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26342 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26345 wxTreeItemId result
;
26346 PyObject
* obj0
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 wxTreeItemId
* resultptr
;
26363 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26364 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26372 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26373 PyObject
*resultobj
;
26374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26375 wxTreeItemId result
;
26376 PyObject
* obj0
= 0 ;
26377 char *kwnames
[] = {
26378 (char *) "self", NULL
26381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26392 wxTreeItemId
* resultptr
;
26393 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26402 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= result
;
26428 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26431 wxTreeItemId
*arg2
= 0 ;
26432 wxTreeItemId result
;
26433 PyObject
* obj0
= 0 ;
26434 PyObject
* obj1
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self",(char *) "item", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26445 if (arg2
== NULL
) {
26446 PyErr_SetString(PyExc_TypeError
,"null reference");
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26457 wxTreeItemId
* resultptr
;
26458 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26467 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26470 wxTreeItemId
*arg2
= 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "item", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26484 if (arg2
== NULL
) {
26485 PyErr_SetString(PyExc_TypeError
,"null reference");
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= result
;
26502 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
;
26504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26505 wxTreeItemId
*arg2
= 0 ;
26506 void *arg3
= (void *) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 PyObject
* obj1
= 0 ;
26510 PyObject
* obj2
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self",(char *) "item",(char *) "cookie", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26521 if (arg2
== NULL
) {
26522 PyErr_SetString(PyExc_TypeError
,"null reference");
26525 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26528 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= result
;
26540 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26543 wxTreeItemId
*arg2
= 0 ;
26544 wxTreeItemId result
;
26545 PyObject
* obj0
= 0 ;
26546 PyObject
* obj1
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self",(char *) "item", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26557 if (arg2
== NULL
) {
26558 PyErr_SetString(PyExc_TypeError
,"null reference");
26562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26563 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26565 wxPyEndAllowThreads(__tstate
);
26566 if (PyErr_Occurred()) SWIG_fail
;
26569 wxTreeItemId
* resultptr
;
26570 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26579 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26582 wxTreeItemId
*arg2
= 0 ;
26583 wxTreeItemId result
;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self",(char *) "item", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26596 if (arg2
== NULL
) {
26597 PyErr_SetString(PyExc_TypeError
,"null reference");
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 wxTreeItemId
* resultptr
;
26609 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26618 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26621 wxTreeItemId
*arg2
= 0 ;
26622 wxTreeItemId result
;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "item", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26635 if (arg2
== NULL
) {
26636 PyErr_SetString(PyExc_TypeError
,"null reference");
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 wxTreeItemId
* resultptr
;
26648 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26657 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26660 wxTreeItemId result
;
26661 PyObject
* obj0
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 wxTreeItemId
* resultptr
;
26678 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26687 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26690 wxTreeItemId
*arg2
= 0 ;
26691 wxTreeItemId result
;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self",(char *) "item", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26704 if (arg2
== NULL
) {
26705 PyErr_SetString(PyExc_TypeError
,"null reference");
26709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26710 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26716 wxTreeItemId
* resultptr
;
26717 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26726 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
;
26728 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26729 wxTreeItemId
*arg2
= 0 ;
26730 wxTreeItemId result
;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "self",(char *) "item", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26743 if (arg2
== NULL
) {
26744 PyErr_SetString(PyExc_TypeError
,"null reference");
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 wxTreeItemId
* resultptr
;
26756 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26765 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26768 wxString
*arg2
= 0 ;
26769 int arg3
= (int) -1 ;
26770 int arg4
= (int) -1 ;
26771 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26772 wxTreeItemId result
;
26773 bool temp2
= False
;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 PyObject
* obj2
= 0 ;
26777 PyObject
* obj3
= 0 ;
26778 PyObject
* obj4
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 arg2
= wxString_in_helper(obj1
);
26788 if (arg2
== NULL
) SWIG_fail
;
26792 arg3
= (int) SWIG_AsInt(obj2
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 arg4
= (int) SWIG_AsInt(obj3
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26800 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26811 wxTreeItemId
* resultptr
;
26812 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26829 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26832 wxTreeItemId
*arg2
= 0 ;
26833 wxString
*arg3
= 0 ;
26834 int arg4
= (int) -1 ;
26835 int arg5
= (int) -1 ;
26836 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26837 wxTreeItemId result
;
26838 bool temp3
= False
;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 PyObject
* obj2
= 0 ;
26842 PyObject
* obj3
= 0 ;
26843 PyObject
* obj4
= 0 ;
26844 PyObject
* obj5
= 0 ;
26845 char *kwnames
[] = {
26846 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26855 if (arg2
== NULL
) {
26856 PyErr_SetString(PyExc_TypeError
,"null reference");
26860 arg3
= wxString_in_helper(obj2
);
26861 if (arg3
== NULL
) SWIG_fail
;
26865 arg4
= (int) SWIG_AsInt(obj3
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26869 arg5
= (int) SWIG_AsInt(obj4
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26873 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
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_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26903 PyObject
*resultobj
;
26904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26905 wxTreeItemId
*arg2
= 0 ;
26906 wxTreeItemId
*arg3
= 0 ;
26907 wxString
*arg4
= 0 ;
26908 int arg5
= (int) -1 ;
26909 int arg6
= (int) -1 ;
26910 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26911 wxTreeItemId result
;
26912 bool temp4
= False
;
26913 PyObject
* obj0
= 0 ;
26914 PyObject
* obj1
= 0 ;
26915 PyObject
* obj2
= 0 ;
26916 PyObject
* obj3
= 0 ;
26917 PyObject
* obj4
= 0 ;
26918 PyObject
* obj5
= 0 ;
26919 PyObject
* obj6
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26930 if (arg2
== NULL
) {
26931 PyErr_SetString(PyExc_TypeError
,"null reference");
26934 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26937 if (arg3
== NULL
) {
26938 PyErr_SetString(PyExc_TypeError
,"null reference");
26942 arg4
= wxString_in_helper(obj3
);
26943 if (arg4
== NULL
) SWIG_fail
;
26947 arg5
= (int) SWIG_AsInt(obj4
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 arg6
= (int) SWIG_AsInt(obj5
);
26952 if (PyErr_Occurred()) SWIG_fail
;
26955 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 wxTreeItemId
* resultptr
;
26967 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26984 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26987 wxTreeItemId
*arg2
= 0 ;
26989 wxString
*arg4
= 0 ;
26990 int arg5
= (int) -1 ;
26991 int arg6
= (int) -1 ;
26992 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26993 wxTreeItemId result
;
26994 bool temp4
= False
;
26995 PyObject
* obj0
= 0 ;
26996 PyObject
* obj1
= 0 ;
26997 PyObject
* obj2
= 0 ;
26998 PyObject
* obj3
= 0 ;
26999 PyObject
* obj4
= 0 ;
27000 PyObject
* obj5
= 0 ;
27001 PyObject
* obj6
= 0 ;
27002 char *kwnames
[] = {
27003 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27009 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27010 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27012 if (arg2
== NULL
) {
27013 PyErr_SetString(PyExc_TypeError
,"null reference");
27016 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 arg4
= wxString_in_helper(obj3
);
27020 if (arg4
== NULL
) SWIG_fail
;
27024 arg5
= (int) SWIG_AsInt(obj4
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 arg6
= (int) SWIG_AsInt(obj5
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27039 wxPyEndAllowThreads(__tstate
);
27040 if (PyErr_Occurred()) SWIG_fail
;
27043 wxTreeItemId
* resultptr
;
27044 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27061 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27064 wxTreeItemId
*arg2
= 0 ;
27065 wxString
*arg3
= 0 ;
27066 int arg4
= (int) -1 ;
27067 int arg5
= (int) -1 ;
27068 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27069 wxTreeItemId result
;
27070 bool temp3
= False
;
27071 PyObject
* obj0
= 0 ;
27072 PyObject
* obj1
= 0 ;
27073 PyObject
* obj2
= 0 ;
27074 PyObject
* obj3
= 0 ;
27075 PyObject
* obj4
= 0 ;
27076 PyObject
* obj5
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27087 if (arg2
== NULL
) {
27088 PyErr_SetString(PyExc_TypeError
,"null reference");
27092 arg3
= wxString_in_helper(obj2
);
27093 if (arg3
== NULL
) SWIG_fail
;
27097 arg4
= (int) SWIG_AsInt(obj3
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 arg5
= (int) SWIG_AsInt(obj4
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27105 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27116 wxTreeItemId
* resultptr
;
27117 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27134 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27137 wxTreeItemId
*arg2
= 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self",(char *) "item", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27150 if (arg2
== NULL
) {
27151 PyErr_SetString(PyExc_TypeError
,"null reference");
27155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27156 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27158 wxPyEndAllowThreads(__tstate
);
27159 if (PyErr_Occurred()) SWIG_fail
;
27161 Py_INCREF(Py_None
); resultobj
= Py_None
;
27168 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27169 PyObject
*resultobj
;
27170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27171 wxTreeItemId
*arg2
= 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "item", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27184 if (arg2
== NULL
) {
27185 PyErr_SetString(PyExc_TypeError
,"null reference");
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 Py_INCREF(Py_None
); resultobj
= Py_None
;
27202 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27205 PyObject
* obj0
= 0 ;
27206 char *kwnames
[] = {
27207 (char *) "self", NULL
27210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 (arg1
)->DeleteAllItems();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 Py_INCREF(Py_None
); resultobj
= Py_None
;
27227 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27230 wxTreeItemId
*arg2
= 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "self",(char *) "item", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27243 if (arg2
== NULL
) {
27244 PyErr_SetString(PyExc_TypeError
,"null reference");
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27251 wxPyEndAllowThreads(__tstate
);
27252 if (PyErr_Occurred()) SWIG_fail
;
27254 Py_INCREF(Py_None
); resultobj
= Py_None
;
27261 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27264 wxTreeItemId
*arg2
= 0 ;
27265 PyObject
* obj0
= 0 ;
27266 PyObject
* obj1
= 0 ;
27267 char *kwnames
[] = {
27268 (char *) "self",(char *) "item", NULL
27271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27277 if (arg2
== NULL
) {
27278 PyErr_SetString(PyExc_TypeError
,"null reference");
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 Py_INCREF(Py_None
); resultobj
= Py_None
;
27295 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27298 wxTreeItemId
*arg2
= 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "item", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27311 if (arg2
== NULL
) {
27312 PyErr_SetString(PyExc_TypeError
,"null reference");
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 Py_INCREF(Py_None
); resultobj
= Py_None
;
27329 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27332 wxTreeItemId
*arg2
= 0 ;
27333 PyObject
* obj0
= 0 ;
27334 PyObject
* obj1
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self",(char *) "item", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27345 if (arg2
== NULL
) {
27346 PyErr_SetString(PyExc_TypeError
,"null reference");
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27366 PyObject
* obj0
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 (arg1
)->Unselect();
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 Py_INCREF(Py_None
); resultobj
= Py_None
;
27388 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
;
27390 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27391 wxTreeItemId
*arg2
= 0 ;
27392 PyObject
* obj0
= 0 ;
27393 PyObject
* obj1
= 0 ;
27394 char *kwnames
[] = {
27395 (char *) "self",(char *) "item", NULL
27398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27404 if (arg2
== NULL
) {
27405 PyErr_SetString(PyExc_TypeError
,"null reference");
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27410 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 Py_INCREF(Py_None
); resultobj
= Py_None
;
27422 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27423 PyObject
*resultobj
;
27424 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27425 PyObject
* obj0
= 0 ;
27426 char *kwnames
[] = {
27427 (char *) "self", NULL
27430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 (arg1
)->UnselectAll();
27437 wxPyEndAllowThreads(__tstate
);
27438 if (PyErr_Occurred()) SWIG_fail
;
27440 Py_INCREF(Py_None
); resultobj
= Py_None
;
27447 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27448 PyObject
*resultobj
;
27449 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27450 wxTreeItemId
*arg2
= 0 ;
27451 bool arg3
= (bool) True
;
27452 PyObject
* obj0
= 0 ;
27453 PyObject
* obj1
= 0 ;
27454 PyObject
* obj2
= 0 ;
27455 char *kwnames
[] = {
27456 (char *) "self",(char *) "item",(char *) "select", NULL
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27465 if (arg2
== NULL
) {
27466 PyErr_SetString(PyExc_TypeError
,"null reference");
27470 arg3
= (bool) SWIG_AsBool(obj2
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 Py_INCREF(Py_None
); resultobj
= Py_None
;
27487 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
;
27489 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27490 wxTreeItemId
*arg2
= 0 ;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj1
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "item", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27503 if (arg2
== NULL
) {
27504 PyErr_SetString(PyExc_TypeError
,"null reference");
27508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27509 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 Py_INCREF(Py_None
); resultobj
= Py_None
;
27521 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27524 wxTreeItemId
*arg2
= 0 ;
27525 PyObject
* obj0
= 0 ;
27526 PyObject
* obj1
= 0 ;
27527 char *kwnames
[] = {
27528 (char *) "self",(char *) "item", NULL
27531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27537 if (arg2
== NULL
) {
27538 PyErr_SetString(PyExc_TypeError
,"null reference");
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 Py_INCREF(Py_None
); resultobj
= Py_None
;
27555 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27556 PyObject
*resultobj
;
27557 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27558 wxTreeItemId
*arg2
= 0 ;
27559 PyObject
* obj0
= 0 ;
27560 PyObject
* obj1
= 0 ;
27561 char *kwnames
[] = {
27562 (char *) "self",(char *) "item", NULL
27565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27571 if (arg2
== NULL
) {
27572 PyErr_SetString(PyExc_TypeError
,"null reference");
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 Py_INCREF(Py_None
); resultobj
= Py_None
;
27589 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27592 wxTreeItemId
*arg2
= 0 ;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self",(char *) "item", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27605 if (arg2
== NULL
) {
27606 PyErr_SetString(PyExc_TypeError
,"null reference");
27610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27611 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27616 Py_INCREF(Py_None
); resultobj
= Py_None
;
27623 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27624 PyObject
*resultobj
;
27625 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27626 wxTextCtrl
*result
;
27627 PyObject
* obj0
= 0 ;
27628 char *kwnames
[] = {
27629 (char *) "self", NULL
27632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= wxPyMake_wxObject(result
);
27651 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27654 wxTreeItemId
*arg2
= 0 ;
27655 bool arg3
= (bool) False
;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 char *kwnames
[] = {
27660 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27669 if (arg2
== NULL
) {
27670 PyErr_SetString(PyExc_TypeError
,"null reference");
27674 arg3
= (bool) SWIG_AsBool(obj2
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27694 wxTreeItemId
*arg2
= 0 ;
27695 PyObject
* obj0
= 0 ;
27696 PyObject
* obj1
= 0 ;
27697 char *kwnames
[] = {
27698 (char *) "self",(char *) "item", NULL
27701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27707 if (arg2
== NULL
) {
27708 PyErr_SetString(PyExc_TypeError
,"null reference");
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27728 wxPoint
*arg2
= 0 ;
27730 wxTreeItemId result
;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "point", NULL
27740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 wxTreeItemId
* resultptr
;
27756 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27760 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27761 resultobj
= t_output_helper(resultobj
,o
);
27769 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27772 wxTreeItemId
*arg2
= 0 ;
27773 bool arg3
= (bool) False
;
27775 PyObject
* obj0
= 0 ;
27776 PyObject
* obj1
= 0 ;
27777 PyObject
* obj2
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27788 if (arg2
== NULL
) {
27789 PyErr_SetString(PyExc_TypeError
,"null reference");
27793 arg3
= (bool) SWIG_AsBool(obj2
);
27794 if (PyErr_Occurred()) SWIG_fail
;
27797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27798 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27800 wxPyEndAllowThreads(__tstate
);
27801 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= result
;
27810 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27811 PyObject
*resultobj
;
27812 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27813 wxVisualAttributes result
;
27814 PyObject
* obj0
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "variant", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27821 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27822 if (PyErr_Occurred()) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27832 wxVisualAttributes
* resultptr
;
27833 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27842 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27845 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27847 return Py_BuildValue((char *)"");
27849 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27850 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27855 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27860 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27862 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27869 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxWindow
*arg1
= (wxWindow
*) 0 ;
27872 int arg2
= (int) (int)-1 ;
27873 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27879 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27880 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27882 int arg8
= (int) 0 ;
27883 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27884 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27885 wxGenericDirCtrl
*result
;
27886 bool temp3
= False
;
27889 bool temp7
= False
;
27890 bool temp9
= False
;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 PyObject
* obj2
= 0 ;
27894 PyObject
* obj3
= 0 ;
27895 PyObject
* obj4
= 0 ;
27896 PyObject
* obj5
= 0 ;
27897 PyObject
* obj6
= 0 ;
27898 PyObject
* obj7
= 0 ;
27899 PyObject
* obj8
= 0 ;
27900 char *kwnames
[] = {
27901 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 arg2
= (int const) SWIG_AsInt(obj1
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27913 arg3
= wxString_in_helper(obj2
);
27914 if (arg3
== NULL
) SWIG_fail
;
27921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27931 arg6
= (long) SWIG_AsLong(obj5
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27936 arg7
= wxString_in_helper(obj6
);
27937 if (arg7
== NULL
) SWIG_fail
;
27942 arg8
= (int) SWIG_AsInt(obj7
);
27943 if (PyErr_Occurred()) SWIG_fail
;
27947 arg9
= wxString_in_helper(obj8
);
27948 if (arg9
== NULL
) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27990 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxGenericDirCtrl
*result
;
27993 char *kwnames
[] = {
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28000 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28012 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28015 wxWindow
*arg2
= (wxWindow
*) 0 ;
28016 int arg3
= (int) (int)-1 ;
28017 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28018 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28019 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28020 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28021 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28022 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28023 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28024 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28025 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28026 int arg9
= (int) 0 ;
28027 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28028 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28030 bool temp4
= False
;
28033 bool temp8
= False
;
28034 bool temp10
= False
;
28035 PyObject
* obj0
= 0 ;
28036 PyObject
* obj1
= 0 ;
28037 PyObject
* obj2
= 0 ;
28038 PyObject
* obj3
= 0 ;
28039 PyObject
* obj4
= 0 ;
28040 PyObject
* obj5
= 0 ;
28041 PyObject
* obj6
= 0 ;
28042 PyObject
* obj7
= 0 ;
28043 PyObject
* obj8
= 0 ;
28044 PyObject
* obj9
= 0 ;
28045 char *kwnames
[] = {
28046 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 arg3
= (int const) SWIG_AsInt(obj2
);
28056 if (PyErr_Occurred()) SWIG_fail
;
28060 arg4
= wxString_in_helper(obj3
);
28061 if (arg4
== NULL
) SWIG_fail
;
28068 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28074 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28078 arg7
= (long) SWIG_AsLong(obj6
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28083 arg8
= wxString_in_helper(obj7
);
28084 if (arg8
== NULL
) SWIG_fail
;
28089 arg9
= (int) SWIG_AsInt(obj8
);
28090 if (PyErr_Occurred()) SWIG_fail
;
28094 arg10
= wxString_in_helper(obj9
);
28095 if (arg10
== NULL
) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28139 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
;
28141 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28142 wxString
*arg2
= 0 ;
28144 bool temp2
= False
;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 char *kwnames
[] = {
28148 (char *) "self",(char *) "path", NULL
28151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28155 arg2
= wxString_in_helper(obj1
);
28156 if (arg2
== NULL
) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28183 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28215 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28216 PyObject
*resultobj
;
28217 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28218 wxString
*arg2
= 0 ;
28219 bool temp2
= False
;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char *kwnames
[] = {
28223 (char *) "self",(char *) "path", NULL
28226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28230 arg2
= wxString_in_helper(obj1
);
28231 if (arg2
== NULL
) SWIG_fail
;
28235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28236 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28238 wxPyEndAllowThreads(__tstate
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28241 Py_INCREF(Py_None
); resultobj
= Py_None
;
28256 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
;
28258 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28260 PyObject
* obj0
= 0 ;
28261 char *kwnames
[] = {
28262 (char *) "self", NULL
28265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28288 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28292 PyObject
* obj0
= 0 ;
28293 char *kwnames
[] = {
28294 (char *) "self", NULL
28297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28320 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28323 wxString
*arg2
= 0 ;
28324 bool temp2
= False
;
28325 PyObject
* obj0
= 0 ;
28326 PyObject
* obj1
= 0 ;
28327 char *kwnames
[] = {
28328 (char *) "self",(char *) "path", NULL
28331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28335 arg2
= wxString_in_helper(obj1
);
28336 if (arg2
== NULL
) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 (arg1
)->SetPath((wxString
const &)*arg2
);
28343 wxPyEndAllowThreads(__tstate
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28346 Py_INCREF(Py_None
); resultobj
= Py_None
;
28361 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "self",(char *) "show", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 arg2
= (bool) SWIG_AsBool(obj1
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 (arg1
)->ShowHidden(arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28383 Py_INCREF(Py_None
); resultobj
= Py_None
;
28390 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28391 PyObject
*resultobj
;
28392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28394 PyObject
* obj0
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28404 result
= (bool)(arg1
)->GetShowHidden();
28406 wxPyEndAllowThreads(__tstate
);
28407 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28418 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
;
28420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28422 PyObject
* obj0
= 0 ;
28423 char *kwnames
[] = {
28424 (char *) "self", NULL
28427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28450 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28451 PyObject
*resultobj
;
28452 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28453 wxString
*arg2
= 0 ;
28454 bool temp2
= False
;
28455 PyObject
* obj0
= 0 ;
28456 PyObject
* obj1
= 0 ;
28457 char *kwnames
[] = {
28458 (char *) "self",(char *) "filter", NULL
28461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28465 arg2
= wxString_in_helper(obj1
);
28466 if (arg2
== NULL
) SWIG_fail
;
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->SetFilter((wxString
const &)*arg2
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 Py_INCREF(Py_None
); resultobj
= Py_None
;
28491 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28492 PyObject
*resultobj
;
28493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28495 PyObject
* obj0
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28505 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_FromInt((int)result
);
28517 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28518 PyObject
*resultobj
;
28519 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 char *kwnames
[] = {
28524 (char *) "self",(char *) "n", NULL
28527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28530 arg2
= (int) SWIG_AsInt(obj1
);
28531 if (PyErr_Occurred()) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 (arg1
)->SetFilterIndex(arg2
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28539 Py_INCREF(Py_None
); resultobj
= Py_None
;
28546 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28547 PyObject
*resultobj
;
28548 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28549 wxTreeItemId result
;
28550 PyObject
* obj0
= 0 ;
28551 char *kwnames
[] = {
28552 (char *) "self", NULL
28555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (arg1
)->GetRootId();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28566 wxTreeItemId
* resultptr
;
28567 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28568 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28576 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28577 PyObject
*resultobj
;
28578 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28579 wxPyTreeCtrl
*result
;
28580 PyObject
* obj0
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28590 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28592 wxPyEndAllowThreads(__tstate
);
28593 if (PyErr_Occurred()) SWIG_fail
;
28596 resultobj
= wxPyMake_wxObject(result
);
28604 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28607 wxDirFilterListCtrl
*result
;
28608 PyObject
* obj0
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28630 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28633 wxTreeItemId arg2
;
28634 wxString
*arg3
= 0 ;
28636 wxTreeItemId result
;
28637 wxTreeItemId
*argp2
;
28638 bool temp3
= False
;
28640 PyObject
* obj0
= 0 ;
28641 PyObject
* obj1
= 0 ;
28642 PyObject
* obj2
= 0 ;
28643 char *kwnames
[] = {
28644 (char *) "self",(char *) "parentId",(char *) "path", NULL
28648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28651 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28652 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28655 arg3
= wxString_in_helper(obj2
);
28656 if (arg3
== NULL
) SWIG_fail
;
28660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28661 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28663 wxPyEndAllowThreads(__tstate
);
28664 if (PyErr_Occurred()) SWIG_fail
;
28667 wxTreeItemId
* resultptr
;
28668 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28672 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28673 resultobj
= t_output_helper(resultobj
,o
);
28689 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
;
28691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28692 PyObject
* obj0
= 0 ;
28693 char *kwnames
[] = {
28694 (char *) "self", NULL
28697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 (arg1
)->DoResize();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 Py_INCREF(Py_None
); resultobj
= Py_None
;
28714 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 char *kwnames
[] = {
28719 (char *) "self", NULL
28722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->ReCreateTree();
28729 wxPyEndAllowThreads(__tstate
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 Py_INCREF(Py_None
); resultobj
= Py_None
;
28739 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28742 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28744 return Py_BuildValue((char *)"");
28746 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28747 PyObject
*resultobj
;
28748 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28749 int arg2
= (int) (int)-1 ;
28750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28754 long arg5
= (long) 0 ;
28755 wxDirFilterListCtrl
*result
;
28758 PyObject
* obj0
= 0 ;
28759 PyObject
* obj1
= 0 ;
28760 PyObject
* obj2
= 0 ;
28761 PyObject
* obj3
= 0 ;
28762 PyObject
* obj4
= 0 ;
28763 char *kwnames
[] = {
28764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28771 arg2
= (int const) SWIG_AsInt(obj1
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28787 arg5
= (long) SWIG_AsLong(obj4
);
28788 if (PyErr_Occurred()) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28804 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxDirFilterListCtrl
*result
;
28807 char *kwnames
[] = {
28811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28826 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28829 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28830 int arg3
= (int) (int)-1 ;
28831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28835 long arg6
= (long) 0 ;
28839 PyObject
* obj0
= 0 ;
28840 PyObject
* obj1
= 0 ;
28841 PyObject
* obj2
= 0 ;
28842 PyObject
* obj3
= 0 ;
28843 PyObject
* obj4
= 0 ;
28844 PyObject
* obj5
= 0 ;
28845 char *kwnames
[] = {
28846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28855 arg3
= (int const) SWIG_AsInt(obj2
);
28856 if (PyErr_Occurred()) SWIG_fail
;
28861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28871 arg6
= (long) SWIG_AsLong(obj5
);
28872 if (PyErr_Occurred()) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28890 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28893 wxString
*arg2
= 0 ;
28895 bool temp2
= False
;
28896 PyObject
* obj0
= 0 ;
28897 PyObject
* obj1
= 0 ;
28898 PyObject
* obj2
= 0 ;
28899 char *kwnames
[] = {
28900 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 arg2
= wxString_in_helper(obj1
);
28908 if (arg2
== NULL
) SWIG_fail
;
28911 arg3
= (int) SWIG_AsInt(obj2
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28917 wxPyEndAllowThreads(__tstate
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 Py_INCREF(Py_None
); resultobj
= Py_None
;
28935 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28938 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28940 return Py_BuildValue((char *)"");
28942 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28943 PyObject
*resultobj
;
28944 wxWindow
*arg1
= (wxWindow
*) 0 ;
28946 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28947 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28948 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28949 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28950 long arg5
= (long) 0 ;
28951 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28952 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28953 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28954 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28955 wxPyControl
*result
;
28958 bool temp7
= False
;
28959 PyObject
* obj0
= 0 ;
28960 PyObject
* obj1
= 0 ;
28961 PyObject
* obj2
= 0 ;
28962 PyObject
* obj3
= 0 ;
28963 PyObject
* obj4
= 0 ;
28964 PyObject
* obj5
= 0 ;
28965 PyObject
* obj6
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28973 arg2
= (int const) SWIG_AsInt(obj1
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28978 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28984 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28988 arg5
= (long) SWIG_AsLong(obj4
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28992 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28995 if (arg6
== NULL
) {
28996 PyErr_SetString(PyExc_TypeError
,"null reference");
29002 arg7
= wxString_in_helper(obj6
);
29003 if (arg7
== NULL
) SWIG_fail
;
29008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29009 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29011 wxPyEndAllowThreads(__tstate
);
29012 if (PyErr_Occurred()) SWIG_fail
;
29014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29029 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxPyControl
*result
;
29032 char *kwnames
[] = {
29036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxPyControl
*)new wxPyControl();
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29051 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29054 PyObject
*arg2
= (PyObject
*) 0 ;
29055 PyObject
*arg3
= (PyObject
*) 0 ;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 PyObject
* obj2
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self",(char *) "self",(char *) "_class", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29075 Py_INCREF(Py_None
); resultobj
= Py_None
;
29082 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29083 PyObject
*resultobj
;
29084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29087 PyObject
* obj0
= 0 ;
29088 PyObject
* obj1
= 0 ;
29089 char *kwnames
[] = {
29090 (char *) "self",(char *) "size", NULL
29093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29104 wxPyEndAllowThreads(__tstate
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29107 Py_INCREF(Py_None
); resultobj
= Py_None
;
29114 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 PyObject
* obj2
= 0 ;
29124 PyObject
* obj3
= 0 ;
29125 PyObject
* obj4
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29133 arg2
= (int) SWIG_AsInt(obj1
);
29134 if (PyErr_Occurred()) SWIG_fail
;
29135 arg3
= (int) SWIG_AsInt(obj2
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29137 arg4
= (int) SWIG_AsInt(obj3
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29139 arg5
= (int) SWIG_AsInt(obj4
);
29140 if (PyErr_Occurred()) SWIG_fail
;
29142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29143 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 Py_INCREF(Py_None
); resultobj
= Py_None
;
29155 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
;
29157 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29162 int arg6
= (int) wxSIZE_AUTO
;
29163 PyObject
* obj0
= 0 ;
29164 PyObject
* obj1
= 0 ;
29165 PyObject
* obj2
= 0 ;
29166 PyObject
* obj3
= 0 ;
29167 PyObject
* obj4
= 0 ;
29168 PyObject
* obj5
= 0 ;
29169 char *kwnames
[] = {
29170 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29176 arg2
= (int) SWIG_AsInt(obj1
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29178 arg3
= (int) SWIG_AsInt(obj2
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29180 arg4
= (int) SWIG_AsInt(obj3
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29182 arg5
= (int) SWIG_AsInt(obj4
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 arg6
= (int) SWIG_AsInt(obj5
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 Py_INCREF(Py_None
); resultobj
= Py_None
;
29202 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29207 PyObject
* obj0
= 0 ;
29208 PyObject
* obj1
= 0 ;
29209 PyObject
* obj2
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "self",(char *) "width",(char *) "height", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29217 arg2
= (int) SWIG_AsInt(obj1
);
29218 if (PyErr_Occurred()) SWIG_fail
;
29219 arg3
= (int) SWIG_AsInt(obj2
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29225 wxPyEndAllowThreads(__tstate
);
29226 if (PyErr_Occurred()) SWIG_fail
;
29228 Py_INCREF(Py_None
); resultobj
= Py_None
;
29235 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29236 PyObject
*resultobj
;
29237 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29240 PyObject
* obj0
= 0 ;
29241 PyObject
* obj1
= 0 ;
29242 PyObject
* obj2
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "x",(char *) "y", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29250 arg2
= (int) SWIG_AsInt(obj1
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29252 arg3
= (int) SWIG_AsInt(obj2
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29256 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29258 wxPyEndAllowThreads(__tstate
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29261 Py_INCREF(Py_None
); resultobj
= Py_None
;
29268 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29271 int *arg2
= (int *) 0 ;
29272 int *arg3
= (int *) 0 ;
29275 PyObject
* obj0
= 0 ;
29276 char *kwnames
[] = {
29277 (char *) "self", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29287 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 Py_INCREF(Py_None
); resultobj
= Py_None
;
29294 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29295 resultobj
= t_output_helper(resultobj
,o
);
29298 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29299 resultobj
= t_output_helper(resultobj
,o
);
29307 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29310 int *arg2
= (int *) 0 ;
29311 int *arg3
= (int *) 0 ;
29314 PyObject
* obj0
= 0 ;
29315 char *kwnames
[] = {
29316 (char *) "self", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 Py_INCREF(Py_None
); resultobj
= Py_None
;
29333 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29334 resultobj
= t_output_helper(resultobj
,o
);
29337 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29338 resultobj
= t_output_helper(resultobj
,o
);
29346 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29347 PyObject
*resultobj
;
29348 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29349 int *arg2
= (int *) 0 ;
29350 int *arg3
= (int *) 0 ;
29353 PyObject
* obj0
= 0 ;
29354 char *kwnames
[] = {
29355 (char *) "self", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29365 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29367 wxPyEndAllowThreads(__tstate
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 Py_INCREF(Py_None
); resultobj
= Py_None
;
29372 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29373 resultobj
= t_output_helper(resultobj
,o
);
29376 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29377 resultobj
= t_output_helper(resultobj
,o
);
29385 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29389 PyObject
* obj0
= 0 ;
29390 char *kwnames
[] = {
29391 (char *) "self", NULL
29394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29399 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29405 wxSize
* resultptr
;
29406 resultptr
= new wxSize((wxSize
&) result
);
29407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29415 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29416 PyObject
*resultobj
;
29417 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29419 PyObject
* obj0
= 0 ;
29420 char *kwnames
[] = {
29421 (char *) "self", NULL
29424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29435 wxSize
* resultptr
;
29436 resultptr
= new wxSize((wxSize
&) result
);
29437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29445 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29446 PyObject
*resultobj
;
29447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29448 PyObject
* obj0
= 0 ;
29449 char *kwnames
[] = {
29450 (char *) "self", NULL
29453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 (arg1
)->base_InitDialog();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 Py_INCREF(Py_None
); resultobj
= Py_None
;
29470 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29474 PyObject
* obj0
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (bool)(arg1
)->base_TransferDataToWindow();
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29498 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29502 PyObject
* obj0
= 0 ;
29503 char *kwnames
[] = {
29504 (char *) "self", NULL
29507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29526 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29530 PyObject
* obj0
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (bool)(arg1
)->base_Validate();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29554 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29582 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29586 PyObject
* obj0
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 wxSize
* resultptr
;
29631 resultptr
= new wxSize((wxSize
&) result
);
29632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29640 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29641 PyObject
*resultobj
;
29642 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29643 wxWindow
*arg2
= (wxWindow
*) 0 ;
29644 PyObject
* obj0
= 0 ;
29645 PyObject
* obj1
= 0 ;
29646 char *kwnames
[] = {
29647 (char *) "self",(char *) "child", NULL
29650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 (arg1
)->base_AddChild(arg2
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 Py_INCREF(Py_None
); resultobj
= Py_None
;
29669 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29672 wxWindow
*arg2
= (wxWindow
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char *kwnames
[] = {
29676 (char *) "self",(char *) "child", NULL
29679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 (arg1
)->base_RemoveChild(arg2
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 Py_INCREF(Py_None
); resultobj
= Py_None
;
29698 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29726 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29729 wxColour
*arg2
= 0 ;
29731 PyObject
* obj0
= 0 ;
29732 PyObject
* obj1
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "c", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29758 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29761 wxVisualAttributes result
;
29762 PyObject
* obj0
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (arg1
)->base_GetDefaultAttributes();
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 wxVisualAttributes
* resultptr
;
29779 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29788 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29791 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29793 return Py_BuildValue((char *)"");
29795 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
;
29797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29798 int arg2
= (int) 0 ;
29799 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29800 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29801 wxHelpEvent
*result
;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 PyObject
* obj2
= 0 ;
29806 char *kwnames
[] = {
29807 (char *) "type",(char *) "winid",(char *) "pt", NULL
29810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29812 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29816 arg2
= (int) SWIG_AsInt(obj1
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29839 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29840 PyObject
*resultobj
;
29841 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29843 PyObject
* obj0
= 0 ;
29844 char *kwnames
[] = {
29845 (char *) "self", NULL
29848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29853 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29859 wxPoint
* resultptr
;
29860 resultptr
= new wxPoint((wxPoint
&) result
);
29861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29869 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29872 wxPoint
*arg2
= 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char *kwnames
[] = {
29877 (char *) "self",(char *) "pos", NULL
29880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29891 wxPyEndAllowThreads(__tstate
);
29892 if (PyErr_Occurred()) SWIG_fail
;
29894 Py_INCREF(Py_None
); resultobj
= Py_None
;
29901 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29902 PyObject
*resultobj
;
29903 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29905 PyObject
* obj0
= 0 ;
29906 char *kwnames
[] = {
29907 (char *) "self", NULL
29910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29917 result
= (wxString
*) &_result_ref
;
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29925 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29927 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29936 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29937 PyObject
*resultobj
;
29938 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29939 wxString
*arg2
= 0 ;
29940 bool temp2
= False
;
29941 PyObject
* obj0
= 0 ;
29942 PyObject
* obj1
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "link", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29951 arg2
= wxString_in_helper(obj1
);
29952 if (arg2
== NULL
) SWIG_fail
;
29956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29957 (arg1
)->SetLink((wxString
const &)*arg2
);
29959 wxPyEndAllowThreads(__tstate
);
29960 if (PyErr_Occurred()) SWIG_fail
;
29962 Py_INCREF(Py_None
); resultobj
= Py_None
;
29977 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29978 PyObject
*resultobj
;
29979 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29981 PyObject
* obj0
= 0 ;
29982 char *kwnames
[] = {
29983 (char *) "self", NULL
29986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29993 result
= (wxString
*) &_result_ref
;
29996 wxPyEndAllowThreads(__tstate
);
29997 if (PyErr_Occurred()) SWIG_fail
;
30001 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30003 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30012 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30015 wxString
*arg2
= 0 ;
30016 bool temp2
= False
;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 char *kwnames
[] = {
30020 (char *) "self",(char *) "target", NULL
30023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30027 arg2
= wxString_in_helper(obj1
);
30028 if (arg2
== NULL
) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 (arg1
)->SetTarget((wxString
const &)*arg2
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 Py_INCREF(Py_None
); resultobj
= Py_None
;
30053 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
30055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30056 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30058 return Py_BuildValue((char *)"");
30060 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30061 PyObject
*resultobj
;
30062 wxWindow
*arg1
= (wxWindow
*) NULL
;
30063 bool arg2
= (bool) True
;
30064 wxContextHelp
*result
;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "window",(char *) "doNow", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30077 arg2
= (bool) SWIG_AsBool(obj1
);
30078 if (PyErr_Occurred()) SWIG_fail
;
30081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30082 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30094 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30095 PyObject
*resultobj
;
30096 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 char *kwnames
[] = {
30099 (char *) "self", NULL
30102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 Py_INCREF(Py_None
); resultobj
= Py_None
;
30119 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30122 wxWindow
*arg2
= (wxWindow
*) NULL
;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 char *kwnames
[] = {
30127 (char *) "self",(char *) "window", NULL
30130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30139 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30141 wxPyEndAllowThreads(__tstate
);
30142 if (PyErr_Occurred()) SWIG_fail
;
30145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30153 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30157 PyObject
* obj0
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30167 result
= (bool)(arg1
)->EndContextHelp();
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30181 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
30183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30184 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30186 return Py_BuildValue((char *)"");
30188 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
;
30190 wxWindow
*arg1
= (wxWindow
*) 0 ;
30191 int arg2
= (int) wxID_CONTEXT_HELP
;
30192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30196 long arg5
= (long) wxBU_AUTODRAW
;
30197 wxContextHelpButton
*result
;
30200 PyObject
* obj0
= 0 ;
30201 PyObject
* obj1
= 0 ;
30202 PyObject
* obj2
= 0 ;
30203 PyObject
* obj3
= 0 ;
30204 PyObject
* obj4
= 0 ;
30205 char *kwnames
[] = {
30206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30213 arg2
= (int) SWIG_AsInt(obj1
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30219 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30225 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30229 arg5
= (long) SWIG_AsLong(obj4
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30246 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30248 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30249 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30251 return Py_BuildValue((char *)"");
30253 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30254 PyObject
*resultobj
;
30255 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30256 wxHelpProvider
*result
;
30257 PyObject
* obj0
= 0 ;
30258 char *kwnames
[] = {
30259 (char *) "helpProvider", NULL
30262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30269 wxPyEndAllowThreads(__tstate
);
30270 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30279 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30280 PyObject
*resultobj
;
30281 wxHelpProvider
*result
;
30282 char *kwnames
[] = {
30286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30289 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30291 wxPyEndAllowThreads(__tstate
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30301 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30304 wxWindow
*arg2
= (wxWindow
*) 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "window", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30337 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30340 wxWindow
*arg2
= (wxWindow
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "window", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30355 result
= (bool)(arg1
)->ShowHelp(arg2
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30369 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30370 PyObject
*resultobj
;
30371 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30372 wxWindow
*arg2
= (wxWindow
*) 0 ;
30373 wxString
*arg3
= 0 ;
30374 bool temp3
= False
;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self",(char *) "window",(char *) "text", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30388 arg3
= wxString_in_helper(obj2
);
30389 if (arg3
== NULL
) SWIG_fail
;
30393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30394 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 Py_INCREF(Py_None
); resultobj
= Py_None
;
30414 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
;
30416 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30418 wxString
*arg3
= 0 ;
30419 bool temp3
= False
;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj2
= 0 ;
30423 char *kwnames
[] = {
30424 (char *) "self",(char *) "id",(char *) "text", NULL
30427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 arg2
= (int) SWIG_AsInt(obj1
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 arg3
= wxString_in_helper(obj2
);
30434 if (arg3
== NULL
) SWIG_fail
;
30438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30439 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 Py_INCREF(Py_None
); resultobj
= Py_None
;
30459 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30462 wxWindow
*arg2
= (wxWindow
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self",(char *) "window", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 (arg1
)->RemoveHelp(arg2
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30488 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30491 PyObject
* obj0
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30501 wxHelpProvider_Destroy(arg1
);
30503 wxPyEndAllowThreads(__tstate
);
30504 if (PyErr_Occurred()) SWIG_fail
;
30506 Py_INCREF(Py_None
); resultobj
= Py_None
;
30513 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30518 return Py_BuildValue((char *)"");
30520 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
;
30522 wxSimpleHelpProvider
*result
;
30523 char *kwnames
[] = {
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30542 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30545 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30547 return Py_BuildValue((char *)"");
30549 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30550 PyObject
*resultobj
;
30551 wxBitmap
*arg1
= 0 ;
30552 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30553 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30554 wxGenericDragImage
*result
;
30555 PyObject
* obj0
= 0 ;
30556 PyObject
* obj1
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "image",(char *) "cursor", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30565 if (arg1
== NULL
) {
30566 PyErr_SetString(PyExc_TypeError
,"null reference");
30570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30573 if (arg2
== NULL
) {
30574 PyErr_SetString(PyExc_TypeError
,"null reference");
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30592 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30595 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30596 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30597 wxGenericDragImage
*result
;
30598 PyObject
* obj0
= 0 ;
30599 PyObject
* obj1
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "image",(char *) "cursor", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30608 if (arg1
== NULL
) {
30609 PyErr_SetString(PyExc_TypeError
,"null reference");
30613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30616 if (arg2
== NULL
) {
30617 PyErr_SetString(PyExc_TypeError
,"null reference");
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30635 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxString
*arg1
= 0 ;
30638 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30639 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30640 wxGenericDragImage
*result
;
30641 bool temp1
= False
;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "str",(char *) "cursor", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30650 arg1
= wxString_in_helper(obj0
);
30651 if (arg1
== NULL
) SWIG_fail
;
30655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30658 if (arg2
== NULL
) {
30659 PyErr_SetString(PyExc_TypeError
,"null reference");
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30685 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxPyTreeCtrl
*arg1
= 0 ;
30688 wxTreeItemId
*arg2
= 0 ;
30689 wxGenericDragImage
*result
;
30690 PyObject
* obj0
= 0 ;
30691 PyObject
* obj1
= 0 ;
30692 char *kwnames
[] = {
30693 (char *) "treeCtrl",(char *) "id", NULL
30696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30700 if (arg1
== NULL
) {
30701 PyErr_SetString(PyExc_TypeError
,"null reference");
30704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30707 if (arg2
== NULL
) {
30708 PyErr_SetString(PyExc_TypeError
,"null reference");
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30725 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30726 PyObject
*resultobj
;
30727 wxPyListCtrl
*arg1
= 0 ;
30729 wxGenericDragImage
*result
;
30730 PyObject
* obj0
= 0 ;
30731 PyObject
* obj1
= 0 ;
30732 char *kwnames
[] = {
30733 (char *) "listCtrl",(char *) "id", NULL
30736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30740 if (arg1
== NULL
) {
30741 PyErr_SetString(PyExc_TypeError
,"null reference");
30744 arg2
= (long) SWIG_AsLong(obj1
);
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30760 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 Py_INCREF(Py_None
); resultobj
= Py_None
;
30785 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30788 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "bitmap", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 (arg1
)->SetBackingBitmap(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 Py_INCREF(Py_None
); resultobj
= Py_None
;
30814 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30817 wxPoint
*arg2
= 0 ;
30818 wxWindow
*arg3
= (wxWindow
*) 0 ;
30819 bool arg4
= (bool) False
;
30820 wxRect
*arg5
= (wxRect
*) NULL
;
30823 PyObject
* obj0
= 0 ;
30824 PyObject
* obj1
= 0 ;
30825 PyObject
* obj2
= 0 ;
30826 PyObject
* obj3
= 0 ;
30827 PyObject
* obj4
= 0 ;
30828 char *kwnames
[] = {
30829 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30839 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30842 arg4
= (bool) SWIG_AsBool(obj3
);
30843 if (PyErr_Occurred()) SWIG_fail
;
30846 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30865 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30868 wxPoint
*arg2
= 0 ;
30869 wxWindow
*arg3
= (wxWindow
*) 0 ;
30870 wxWindow
*arg4
= (wxWindow
*) 0 ;
30873 PyObject
* obj0
= 0 ;
30874 PyObject
* obj1
= 0 ;
30875 PyObject
* obj2
= 0 ;
30876 PyObject
* obj3
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30886 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30888 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30908 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30912 PyObject
* obj0
= 0 ;
30913 char *kwnames
[] = {
30914 (char *) "self", NULL
30917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)(arg1
)->EndDrag();
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30939 wxPoint
*arg2
= 0 ;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "self",(char *) "pt", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30957 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30959 wxPyEndAllowThreads(__tstate
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30971 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30972 PyObject
*resultobj
;
30973 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30975 PyObject
* obj0
= 0 ;
30976 char *kwnames
[] = {
30977 (char *) "self", NULL
30980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30985 result
= (bool)(arg1
)->Show();
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30999 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31000 PyObject
*resultobj
;
31001 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 char *kwnames
[] = {
31005 (char *) "self", NULL
31008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (bool)(arg1
)->Hide();
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31027 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31030 wxPoint
*arg2
= 0 ;
31033 PyObject
* obj0
= 0 ;
31034 PyObject
* obj1
= 0 ;
31035 char *kwnames
[] = {
31036 (char *) "self",(char *) "pos", NULL
31039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 wxRect
* resultptr
;
31055 resultptr
= new wxRect((wxRect
&) result
);
31056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31064 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31065 PyObject
*resultobj
;
31066 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31068 wxPoint
*arg3
= 0 ;
31071 PyObject
* obj0
= 0 ;
31072 PyObject
* obj1
= 0 ;
31073 PyObject
* obj2
= 0 ;
31074 char *kwnames
[] = {
31075 (char *) "self",(char *) "dc",(char *) "pos", NULL
31078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31084 if (arg2
== NULL
) {
31085 PyErr_SetString(PyExc_TypeError
,"null reference");
31090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31108 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31112 wxMemoryDC
*arg3
= 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 PyObject
* obj2
= 0 ;
31121 PyObject
* obj3
= 0 ;
31122 PyObject
* obj4
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31133 if (arg2
== NULL
) {
31134 PyErr_SetString(PyExc_TypeError
,"null reference");
31137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31140 if (arg3
== NULL
) {
31141 PyErr_SetString(PyExc_TypeError
,"null reference");
31146 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31150 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31154 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31156 wxPyEndAllowThreads(__tstate
);
31157 if (PyErr_Occurred()) SWIG_fail
;
31160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31168 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31171 wxPoint
*arg2
= 0 ;
31172 wxPoint
*arg3
= 0 ;
31178 PyObject
* obj0
= 0 ;
31179 PyObject
* obj1
= 0 ;
31180 PyObject
* obj2
= 0 ;
31181 PyObject
* obj3
= 0 ;
31182 PyObject
* obj4
= 0 ;
31183 char *kwnames
[] = {
31184 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31198 arg4
= (bool) SWIG_AsBool(obj3
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31200 arg5
= (bool) SWIG_AsBool(obj4
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31206 wxPyEndAllowThreads(__tstate
);
31207 if (PyErr_Occurred()) SWIG_fail
;
31210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31218 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
31220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31221 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31223 return Py_BuildValue((char *)"");
31225 static PyMethodDef SwigMethods
[] = {
31226 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
31229 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31233 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31248 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31254 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31258 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31260 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31268 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31276 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31283 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31289 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31303 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31308 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31309 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31315 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31317 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31320 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31328 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31338 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31344 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31351 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31354 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31356 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31360 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31361 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31363 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31368 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31373 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31390 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31403 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31447 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31448 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31452 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31454 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31464 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31466 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31477 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31489 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31493 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31511 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31518 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31544 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31545 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31552 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31573 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31579 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31590 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31592 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31597 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31599 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31604 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31609 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31616 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31628 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31636 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31639 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31643 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31659 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31684 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31690 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31702 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31734 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31754 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31756 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31761 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31781 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31787 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31795 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31800 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31802 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31811 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31813 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31831 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31832 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31833 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31834 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31835 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31836 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31837 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31838 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31839 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31840 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31841 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31842 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31843 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31844 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31845 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31846 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31847 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31848 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31849 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31850 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31851 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31852 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31853 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31854 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31855 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31856 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31857 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31858 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31859 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31860 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31861 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31862 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31863 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31864 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31865 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31866 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31867 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31868 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31869 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31870 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31871 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31872 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31873 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31874 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31875 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31876 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31877 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31878 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31879 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31880 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31881 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31882 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31883 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31884 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31885 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31886 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31887 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31888 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31889 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31890 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31891 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31892 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31893 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31894 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31895 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31896 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31897 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31898 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31899 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31900 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31901 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31902 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31903 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31904 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31905 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31906 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31907 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31908 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31909 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31910 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31911 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31912 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31913 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31914 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31915 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31916 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31917 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31918 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31919 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31920 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31921 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31922 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31923 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31924 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31925 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31926 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31927 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31928 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31929 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31930 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31931 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31932 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31933 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31934 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31935 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31936 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31937 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31938 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31939 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31940 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31941 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31942 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31943 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31944 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31945 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31946 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31947 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31948 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31949 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31950 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31951 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31952 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31953 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31954 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31955 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31956 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31957 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31958 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31959 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31960 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31961 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31962 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31963 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31964 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31965 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31966 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31967 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31968 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31969 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31970 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31971 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31972 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31973 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31974 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31975 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31976 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31977 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31978 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31979 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31980 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31981 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31982 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31983 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31984 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31985 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31986 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31987 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31988 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31989 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31990 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31991 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31992 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31993 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31994 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31995 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31996 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31997 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31998 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31999 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
32000 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
32001 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
32002 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
32003 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32004 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
32005 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
32006 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32007 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32008 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
32009 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
32010 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32011 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
32012 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
32013 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
32014 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
32015 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32016 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
32017 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
32018 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
32019 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
32020 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
32021 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
32022 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
32023 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
32024 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
32025 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
32026 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
32027 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32028 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
32029 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
32030 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
32031 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32032 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
32033 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
32034 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32035 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32036 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32037 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
32038 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
32039 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
32040 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
32041 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
32042 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
32043 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
32044 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
32045 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
32046 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
32047 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
32048 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
32049 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
32050 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
32051 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
32052 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32053 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
32054 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
32055 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
32056 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
32057 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
32058 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
32059 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
32060 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
32061 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
32062 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
32063 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
32064 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
32065 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
32066 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32067 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
32068 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
32069 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
32074 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32076 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32077 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32079 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32080 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32082 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32083 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32085 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32086 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32088 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32089 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32091 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32092 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32094 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32095 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32097 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32098 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32100 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32101 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32103 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32104 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32106 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32109 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32110 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32112 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32113 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32115 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32116 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32118 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32119 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32121 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32122 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32124 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32125 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32127 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32128 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32130 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32131 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32133 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32136 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32137 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32139 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32140 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32142 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32145 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32146 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32148 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32149 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32151 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32152 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32154 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32157 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32158 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32160 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32161 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32163 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32164 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32166 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32167 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32169 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32170 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32172 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32173 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32175 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32176 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32178 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32179 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32181 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32182 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32184 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32185 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32187 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32190 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32191 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32193 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32194 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32196 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32197 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32199 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32200 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32202 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32203 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32205 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32206 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32208 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32211 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32212 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32214 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32215 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32217 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32220 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32223 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32224 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32226 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32227 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32229 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32230 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32232 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32233 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32235 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32236 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32238 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32239 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32241 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32242 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32244 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32245 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32247 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32248 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32250 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32251 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32253 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32254 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32256 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32257 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32259 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32260 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32262 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32263 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32265 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32266 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32268 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32269 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32271 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32272 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32274 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32275 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32277 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32278 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32280 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32281 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32283 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32284 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32286 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32287 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32289 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32290 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32292 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32293 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32295 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32296 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32298 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32299 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32301 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32302 return (void *)((wxControl
*) ((wxGauge
*) x
));
32304 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32305 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32307 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32308 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32310 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32311 return (void *)((wxControl
*) ((wxButton
*) x
));
32313 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32314 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32316 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32317 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32319 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32320 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32322 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32323 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32325 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32326 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32328 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32329 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32331 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32332 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32334 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32335 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32337 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32338 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32340 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32341 return (void *)((wxControl
*) ((wxSlider
*) x
));
32343 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32344 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32346 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32347 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32349 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32350 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32352 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32353 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32355 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32356 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32358 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32359 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32361 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32362 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32364 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32365 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32367 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32368 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32370 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32371 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32373 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32374 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32376 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32377 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32379 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32380 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32382 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32385 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32386 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32388 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32389 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32391 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32392 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32394 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32395 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32397 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32398 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32400 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32403 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32406 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32407 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32409 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32410 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32412 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32415 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32416 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32418 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32419 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32421 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32422 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32424 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32425 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32427 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32428 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32430 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32431 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32433 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32434 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32436 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32439 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32440 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32442 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32445 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32448 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32451 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32452 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32454 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32457 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32458 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32460 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32463 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32466 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32469 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32472 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32475 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32476 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32478 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32481 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32484 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32487 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32490 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32493 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32496 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32497 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32499 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32500 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32502 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32503 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32505 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32506 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32508 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32509 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32511 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32512 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32514 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32515 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32517 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32518 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32520 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32521 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32523 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32524 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32526 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32527 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32529 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32530 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32532 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32533 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32535 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32536 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32538 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32541 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32544 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32545 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32547 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32548 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32550 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32551 return (void *)((wxObject
*) ((wxSizer
*) x
));
32553 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32554 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32556 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32557 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32559 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32562 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32563 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32565 static void *_p_wxEventTo_p_wxObject(void *x
) {
32566 return (void *)((wxObject
*) ((wxEvent
*) x
));
32568 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32569 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32571 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32572 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32574 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32575 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32577 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32580 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32581 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32583 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32584 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32586 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32587 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32589 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32590 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32592 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32593 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32595 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32596 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32598 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32599 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32601 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32602 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32604 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32605 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32607 static void *_p_wxControlTo_p_wxObject(void *x
) {
32608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32610 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32613 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32616 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32617 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32619 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32620 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32622 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32623 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32625 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32626 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32628 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32631 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32632 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32634 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32635 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32637 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32638 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32640 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32643 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32646 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32647 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32649 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32652 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32655 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32656 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32658 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32661 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32664 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32665 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32667 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32668 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32670 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32671 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32673 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32674 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32676 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32677 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32679 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32680 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32682 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32683 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32685 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32686 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32688 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32689 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32691 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32692 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32694 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32695 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32697 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32698 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32700 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32701 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32703 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32704 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32706 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32709 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32712 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32715 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32716 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32718 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32719 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32721 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32722 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32724 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32725 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32727 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32728 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32730 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32733 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32734 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32736 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32737 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32739 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32742 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32743 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32745 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32746 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32748 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32751 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32754 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32757 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32758 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32760 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32761 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32763 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32766 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32767 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32769 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32772 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32773 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32775 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32776 return (void *)((wxObject
*) ((wxListItem
*) x
));
32778 static void *_p_wxImageTo_p_wxObject(void *x
) {
32779 return (void *)((wxObject
*) ((wxImage
*) x
));
32781 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32782 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32784 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32785 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32787 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32790 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32791 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32793 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32794 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32796 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32797 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32799 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32800 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32802 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32803 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32805 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32806 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32808 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32809 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32811 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32812 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32814 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32815 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32817 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32820 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32821 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32823 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32826 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32827 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32829 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32830 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32832 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32833 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32835 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32836 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32838 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32839 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32841 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32844 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32847 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32848 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32850 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32853 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32854 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32856 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32857 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32859 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32862 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32865 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32866 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32868 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32869 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32871 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32872 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32874 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32875 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32877 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32878 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32880 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32881 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32883 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32884 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32886 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32887 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32889 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32890 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32892 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32893 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32895 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32896 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32898 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32899 return (void *)((wxWindow
*) ((wxControl
*) x
));
32901 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32902 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32904 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32905 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32907 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32908 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32910 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32911 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32913 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32914 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32916 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32917 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32919 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32920 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32922 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32923 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32925 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32926 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32928 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32929 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32931 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32932 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32934 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32935 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32937 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32938 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32940 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32941 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32943 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32944 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32946 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32947 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32949 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32950 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32952 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32953 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32955 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32956 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32958 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32959 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32961 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32962 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32964 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32965 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32967 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32968 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32970 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32971 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32973 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32974 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32976 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32977 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32979 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32980 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32982 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32983 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32985 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32986 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32988 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32989 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32991 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32992 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32994 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32995 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32997 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32998 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33000 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33001 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33003 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33004 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33006 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33007 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33009 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33010 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33012 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33013 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33015 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33016 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33018 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33019 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33021 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33022 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33024 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33025 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33027 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33028 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33030 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33031 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33033 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33034 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33036 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33037 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33039 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33040 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33042 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33043 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33045 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33046 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33048 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33049 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33051 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}};
33052 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}};
33053 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}};
33054 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}};
33055 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}};
33056 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}};
33057 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}};
33058 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}};
33059 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}};
33060 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}};
33061 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}};
33062 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}};
33063 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}};
33064 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}};
33065 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}};
33066 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}};
33067 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}};
33068 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}};
33069 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}};
33070 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}};
33071 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 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}};
33072 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}};
33073 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}};
33074 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}};
33075 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}};
33076 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}};
33077 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}};
33078 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}};
33079 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}};
33080 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}};
33081 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}};
33082 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}};
33083 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}};
33084 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}};
33085 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}};
33086 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}};
33087 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}};
33088 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}};
33089 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}};
33090 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}};
33091 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}};
33092 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}};
33093 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}};
33094 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}};
33095 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}};
33096 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}};
33097 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}};
33098 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}};
33099 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}};
33100 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}};
33101 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}};
33102 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}};
33103 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}};
33104 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}};
33105 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}};
33106 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}};
33107 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}};
33108 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}};
33109 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}};
33110 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}};
33111 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}};
33112 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}};
33113 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}};
33114 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}};
33115 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}};
33116 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}};
33117 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}};
33118 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}};
33119 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}};
33120 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}};
33121 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}};
33122 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}};
33123 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}};
33124 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}};
33125 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}};
33126 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}};
33127 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}};
33128 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}};
33129 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}};
33130 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 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}};
33131 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}};
33132 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}};
33133 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}};
33134 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}};
33135 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}};
33137 static swig_type_info
*swig_types_initial
[] = {
33138 _swigt__p_wxTextUrlEvent
,
33139 _swigt__p_wxBookCtrlEvent
,
33141 _swigt__p_wxCheckBox
,
33142 _swigt__p_wxPyTreeCtrl
,
33144 _swigt__p_wxGenericDirCtrl
,
33146 _swigt__p_wxPyTreeItemData
,
33147 _swigt__p_wxItemContainer
,
33148 _swigt__p_wxPyListCtrl
,
33149 _swigt__p_wxDirFilterListCtrl
,
33150 _swigt__p_wxStaticLine
,
33151 _swigt__p_wxControl
,
33152 _swigt__p_wxPyControl
,
33154 _swigt__p_wxToolBarBase
,
33156 _swigt__p_wxToggleButton
,
33157 _swigt__p_wxRadioButton
,
33158 _swigt__p_wxChoice
,
33159 _swigt__p_wxMemoryDC
,
33160 _swigt__p_wxListItemAttr
,
33165 _swigt__p_wxListView
,
33167 _swigt__p_wxVisualAttributes
,
33168 _swigt__p_wxTextCtrl
,
33169 _swigt__p_wxNotebook
,
33170 _swigt__p_wxNotifyEvent
,
33171 _swigt__p_wxArrayString
,
33172 _swigt__p_wxListbook
,
33173 _swigt__p_wxStaticBitmap
,
33174 _swigt__p_wxSlider
,
33175 _swigt__p_wxStaticBox
,
33176 _swigt__p_wxArrayInt
,
33177 _swigt__p_wxContextHelp
,
33179 _swigt__p_wxEvtHandler
,
33180 _swigt__p_wxListEvent
,
33181 _swigt__p_wxCheckListBox
,
33182 _swigt__p_wxListBox
,
33183 _swigt__p_wxBookCtrl
,
33184 _swigt__p_wxSpinButton
,
33185 _swigt__p_wxButton
,
33186 _swigt__p_wxBitmapButton
,
33188 _swigt__p_wxContextHelpButton
,
33189 _swigt__p_wxRadioBox
,
33190 _swigt__p_wxScrollBar
,
33192 _swigt__p_wxTreeItemId
,
33193 _swigt__p_wxComboBox
,
33194 _swigt__p_wxHelpEvent
,
33195 _swigt__p_wxListItem
,
33196 _swigt__p_wxNotebookSizer
,
33197 _swigt__p_wxSpinEvent
,
33198 _swigt__p_wxGenericDragImage
,
33199 _swigt__p_wxSpinCtrl
,
33200 _swigt__p_wxImageList
,
33201 _swigt__p_wxHelpProvider
,
33202 _swigt__p_wxTextAttr
,
33203 _swigt__p_wxSimpleHelpProvider
,
33205 _swigt__p_wxListbookEvent
,
33206 _swigt__p_wxNotebookEvent
,
33207 _swigt__p_wxObject
,
33208 _swigt__p_wxCursor
,
33209 _swigt__p_wxKeyEvent
,
33210 _swigt__p_wxWindow
,
33211 _swigt__p_wxString
,
33212 _swigt__p_wxBitmap
,
33213 _swigt__p_wxTreeEvent
,
33214 _swigt__p_wxMouseEvent
,
33215 _swigt__p_wxCommandEvent
,
33216 _swigt__p_wxStaticText
,
33217 _swigt__p_wxControlWithItems
,
33218 _swigt__p_wxToolBarToolBase
,
33219 _swigt__p_wxColour
,
33220 _swigt__p_wxToolBar
,
33221 _swigt__p_wxBookCtrlSizer
,
33222 _swigt__p_wxValidator
,
33227 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33229 static swig_const_info swig_const_table
[] = {
33239 SWIGEXPORT(void) SWIG_init(void) {
33240 static PyObject
*SWIG_globals
= 0;
33241 static int typeinit
= 0;
33244 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33245 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33246 d
= PyModule_GetDict(m
);
33249 for (i
= 0; swig_types_initial
[i
]; i
++) {
33250 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33254 SWIG_InstallConstants(d
,swig_const_table
);
33256 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33257 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33258 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33259 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33260 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33261 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33262 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33263 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33264 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33265 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33266 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33267 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33268 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33269 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33270 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33271 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33272 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33273 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33274 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33275 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33276 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33277 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33278 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33279 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33280 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33281 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33282 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33283 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33284 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33285 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33286 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33287 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33288 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33289 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33290 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33291 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33292 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33293 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33294 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33295 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33296 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33297 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33298 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33299 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33300 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33301 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33302 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33303 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33304 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33305 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33306 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33307 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33308 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33309 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33310 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33311 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33312 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33313 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33314 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33315 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33316 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33317 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33318 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33319 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33320 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33321 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33322 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33323 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33328 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33329 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33330 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33331 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33332 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33333 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33334 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33335 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33336 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33337 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33338 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33339 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33340 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33341 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33342 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33343 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33344 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33345 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33346 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33347 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33348 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33349 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33350 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33351 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33352 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33353 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33354 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33355 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33356 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33357 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33358 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33359 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33361 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33362 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33363 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33364 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33365 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33366 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33367 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33368 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33369 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33370 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33371 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33372 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33373 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33374 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33375 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33376 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33377 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33378 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33379 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33380 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33381 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33382 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33383 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33384 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33385 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33386 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33387 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33388 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33389 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33390 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33391 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33392 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33393 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33394 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33395 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33396 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33397 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33398 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33399 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33400 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33401 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33402 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33403 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33404 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33405 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33406 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33407 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33408 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33409 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33410 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33411 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33412 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33413 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33414 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33415 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33416 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33417 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33418 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33419 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33420 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33421 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33422 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33423 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33424 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33425 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33426 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33427 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33428 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33429 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33430 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33431 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33432 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33433 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33434 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33435 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33436 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33437 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33438 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33439 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33440 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33441 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33442 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33443 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33444 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33446 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33447 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33448 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33449 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33450 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33451 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33452 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33453 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33454 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33455 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33456 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33457 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33458 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33459 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33460 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33461 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33463 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33464 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33465 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33468 // Map renamed classes back to their common name for OOR
33469 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33471 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33472 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33473 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33474 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33475 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33476 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33477 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33478 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33479 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33480 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33481 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33482 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33483 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33484 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33485 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33486 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33487 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33488 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33489 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33490 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33491 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33492 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33493 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33494 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33495 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33496 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33497 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33498 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33499 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33500 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33501 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33502 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33503 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33504 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33505 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33506 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33507 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33508 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33509 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33510 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33511 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33512 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33513 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33514 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33515 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33516 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33517 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33518 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33519 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33521 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33522 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33523 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33524 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33528 // Map renamed classes back to their common name for OOR
33529 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33530 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33532 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33533 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33534 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33535 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33536 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33537 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33538 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33539 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33540 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33541 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33543 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");