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
) {}
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
961 DEC_PYCALLBACK__(InitDialog
);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
964 DEC_PYCALLBACK_BOOL_(Validate
);
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours
);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
990 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
993 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
994 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
995 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
998 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1005 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, ShouldInheritColours
);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1010 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1012 #include <wx/generic/dragimgg.h>
1017 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1018 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1023 static PyObject
*_wrap_ButtonNameStr_get() {
1028 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1030 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1037 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1038 PyObject
*resultobj
;
1039 wxWindow
*arg1
= (wxWindow
*) 0 ;
1041 wxString
*arg3
= 0 ;
1042 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1043 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1044 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1045 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1046 long arg6
= (long) 0 ;
1047 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1048 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1049 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1050 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1052 bool temp3
= False
;
1055 bool temp8
= False
;
1056 PyObject
* obj0
= 0 ;
1057 PyObject
* obj1
= 0 ;
1058 PyObject
* obj2
= 0 ;
1059 PyObject
* obj3
= 0 ;
1060 PyObject
* obj4
= 0 ;
1061 PyObject
* obj5
= 0 ;
1062 PyObject
* obj6
= 0 ;
1063 PyObject
* obj7
= 0 ;
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1071 arg2
= (int) SWIG_AsInt(obj1
);
1072 if (PyErr_Occurred()) SWIG_fail
;
1074 arg3
= wxString_in_helper(obj2
);
1075 if (arg3
== NULL
) SWIG_fail
;
1081 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1087 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1091 arg6
= (long) SWIG_AsLong(obj5
);
1092 if (PyErr_Occurred()) SWIG_fail
;
1095 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1099 PyErr_SetString(PyExc_TypeError
,"null reference");
1105 arg8
= wxString_in_helper(obj7
);
1106 if (arg8
== NULL
) SWIG_fail
;
1111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1112 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1114 wxPyEndAllowThreads(__tstate
);
1115 if (PyErr_Occurred()) SWIG_fail
;
1118 resultobj
= wxPyMake_wxObject(result
);
1142 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1143 PyObject
*resultobj
;
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= (wxButton
*)new wxButton();
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 resultobj
= wxPyMake_wxObject(result
);
1166 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1167 PyObject
*resultobj
;
1168 wxButton
*arg1
= (wxButton
*) 0 ;
1169 wxWindow
*arg2
= (wxWindow
*) 0 ;
1171 wxString
*arg4
= 0 ;
1172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1176 long arg7
= (long) 0 ;
1177 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1178 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1179 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1180 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1182 bool temp4
= False
;
1185 bool temp9
= False
;
1186 PyObject
* obj0
= 0 ;
1187 PyObject
* obj1
= 0 ;
1188 PyObject
* obj2
= 0 ;
1189 PyObject
* obj3
= 0 ;
1190 PyObject
* obj4
= 0 ;
1191 PyObject
* obj5
= 0 ;
1192 PyObject
* obj6
= 0 ;
1193 PyObject
* obj7
= 0 ;
1194 PyObject
* obj8
= 0 ;
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1204 arg3
= (int) SWIG_AsInt(obj2
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1207 arg4
= wxString_in_helper(obj3
);
1208 if (arg4
== NULL
) SWIG_fail
;
1214 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1220 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1224 arg7
= (long) SWIG_AsLong(obj6
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1228 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1229 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1232 PyErr_SetString(PyExc_TypeError
,"null reference");
1238 arg9
= wxString_in_helper(obj8
);
1239 if (arg9
== NULL
) SWIG_fail
;
1244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1245 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1247 wxPyEndAllowThreads(__tstate
);
1248 if (PyErr_Occurred()) SWIG_fail
;
1251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1275 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxButton
*arg1
= (wxButton
*) 0 ;
1278 PyObject
* obj0
= 0 ;
1280 (char *) "self", NULL
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1288 (arg1
)->SetDefault();
1290 wxPyEndAllowThreads(__tstate
);
1291 if (PyErr_Occurred()) SWIG_fail
;
1293 Py_INCREF(Py_None
); resultobj
= Py_None
;
1300 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1301 PyObject
*resultobj
;
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1310 result
= wxButton::GetDefaultSize();
1312 wxPyEndAllowThreads(__tstate
);
1313 if (PyErr_Occurred()) SWIG_fail
;
1317 resultptr
= new wxSize((wxSize
&) result
);
1318 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1326 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1331 return Py_BuildValue((char *)"");
1333 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1334 PyObject
*resultobj
;
1335 wxWindow
*arg1
= (wxWindow
*) 0 ;
1337 wxBitmap
*arg3
= 0 ;
1338 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1339 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1340 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1341 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1342 long arg6
= (long) wxBU_AUTODRAW
;
1343 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1344 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1345 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1346 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1347 wxBitmapButton
*result
;
1350 bool temp8
= False
;
1351 PyObject
* obj0
= 0 ;
1352 PyObject
* obj1
= 0 ;
1353 PyObject
* obj2
= 0 ;
1354 PyObject
* obj3
= 0 ;
1355 PyObject
* obj4
= 0 ;
1356 PyObject
* obj5
= 0 ;
1357 PyObject
* obj6
= 0 ;
1358 PyObject
* obj7
= 0 ;
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1366 arg2
= (int) SWIG_AsInt(obj1
);
1367 if (PyErr_Occurred()) SWIG_fail
;
1368 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1369 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1372 PyErr_SetString(PyExc_TypeError
,"null reference");
1378 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1384 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1388 arg6
= (long) SWIG_AsLong(obj5
);
1389 if (PyErr_Occurred()) SWIG_fail
;
1392 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1396 PyErr_SetString(PyExc_TypeError
,"null reference");
1402 arg8
= wxString_in_helper(obj7
);
1403 if (arg8
== NULL
) SWIG_fail
;
1408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1409 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1411 wxPyEndAllowThreads(__tstate
);
1412 if (PyErr_Occurred()) SWIG_fail
;
1415 resultobj
= wxPyMake_wxObject(result
);
1431 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
*resultobj
;
1433 wxBitmapButton
*result
;
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1441 result
= (wxBitmapButton
*)new wxBitmapButton();
1443 wxPyEndAllowThreads(__tstate
);
1444 if (PyErr_Occurred()) SWIG_fail
;
1447 resultobj
= wxPyMake_wxObject(result
);
1455 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1458 wxWindow
*arg2
= (wxWindow
*) 0 ;
1460 wxBitmap
*arg4
= 0 ;
1461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1465 long arg7
= (long) wxBU_AUTODRAW
;
1466 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1467 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1468 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1469 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1473 bool temp9
= False
;
1474 PyObject
* obj0
= 0 ;
1475 PyObject
* obj1
= 0 ;
1476 PyObject
* obj2
= 0 ;
1477 PyObject
* obj3
= 0 ;
1478 PyObject
* obj4
= 0 ;
1479 PyObject
* obj5
= 0 ;
1480 PyObject
* obj6
= 0 ;
1481 PyObject
* obj7
= 0 ;
1482 PyObject
* obj8
= 0 ;
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1492 arg3
= (int) SWIG_AsInt(obj2
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1494 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1498 PyErr_SetString(PyExc_TypeError
,"null reference");
1504 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1510 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1514 arg7
= (long) SWIG_AsLong(obj6
);
1515 if (PyErr_Occurred()) SWIG_fail
;
1518 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1522 PyErr_SetString(PyExc_TypeError
,"null reference");
1528 arg9
= wxString_in_helper(obj8
);
1529 if (arg9
== NULL
) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1557 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
*resultobj
;
1559 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1561 PyObject
* obj0
= 0 ;
1563 (char *) "self", NULL
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1571 result
= (arg1
)->GetBitmapLabel();
1573 wxPyEndAllowThreads(__tstate
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 wxBitmap
* resultptr
;
1578 resultptr
= new wxBitmap((wxBitmap
&) result
);
1579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1587 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
*resultobj
;
1589 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1591 PyObject
* obj0
= 0 ;
1593 (char *) "self", NULL
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1601 result
= (arg1
)->GetBitmapDisabled();
1603 wxPyEndAllowThreads(__tstate
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1607 wxBitmap
* resultptr
;
1608 resultptr
= new wxBitmap((wxBitmap
&) result
);
1609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1617 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1623 (char *) "self", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (arg1
)->GetBitmapFocus();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1637 wxBitmap
* resultptr
;
1638 resultptr
= new wxBitmap((wxBitmap
&) result
);
1639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1647 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1648 PyObject
*resultobj
;
1649 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "self", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 result
= (arg1
)->GetBitmapSelected();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1667 wxBitmap
* resultptr
;
1668 resultptr
= new wxBitmap((wxBitmap
&) result
);
1669 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1677 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1678 PyObject
*resultobj
;
1679 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1680 wxBitmap
*arg2
= 0 ;
1681 PyObject
* obj0
= 0 ;
1682 PyObject
* obj1
= 0 ;
1684 (char *) "self",(char *) "bitmap", NULL
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1694 PyErr_SetString(PyExc_TypeError
,"null reference");
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 Py_INCREF(Py_None
); resultobj
= Py_None
;
1711 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1714 wxBitmap
*arg2
= 0 ;
1715 PyObject
* obj0
= 0 ;
1716 PyObject
* obj1
= 0 ;
1718 (char *) "self",(char *) "bitmap", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1728 PyErr_SetString(PyExc_TypeError
,"null reference");
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1745 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1748 wxBitmap
*arg2
= 0 ;
1749 PyObject
* obj0
= 0 ;
1750 PyObject
* obj1
= 0 ;
1752 (char *) "self",(char *) "bitmap", NULL
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1762 PyErr_SetString(PyExc_TypeError
,"null reference");
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 Py_INCREF(Py_None
); resultobj
= Py_None
;
1779 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1781 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1782 wxBitmap
*arg2
= 0 ;
1783 PyObject
* obj0
= 0 ;
1784 PyObject
* obj1
= 0 ;
1786 (char *) "self",(char *) "bitmap", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1796 PyErr_SetString(PyExc_TypeError
,"null reference");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 Py_INCREF(Py_None
); resultobj
= Py_None
;
1813 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1820 PyObject
* obj2
= 0 ;
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1828 arg2
= (int) SWIG_AsInt(obj1
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1830 arg3
= (int) SWIG_AsInt(obj2
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1834 (arg1
)->SetMargins(arg2
,arg3
);
1836 wxPyEndAllowThreads(__tstate
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1839 Py_INCREF(Py_None
); resultobj
= Py_None
;
1846 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1847 PyObject
*resultobj
;
1848 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1850 PyObject
* obj0
= 0 ;
1852 (char *) "self", NULL
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 resultobj
= SWIG_FromInt((int)result
);
1872 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 resultobj
= SWIG_FromInt((int)result
);
1898 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1903 return Py_BuildValue((char *)"");
1905 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1906 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1911 static PyObject
*_wrap_CheckBoxNameStr_get() {
1916 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1918 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1925 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
*resultobj
;
1927 wxWindow
*arg1
= (wxWindow
*) 0 ;
1929 wxString
*arg3
= 0 ;
1930 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1931 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1932 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1933 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1934 long arg6
= (long) 0 ;
1935 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1936 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1937 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1938 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1940 bool temp3
= False
;
1943 bool temp8
= False
;
1944 PyObject
* obj0
= 0 ;
1945 PyObject
* obj1
= 0 ;
1946 PyObject
* obj2
= 0 ;
1947 PyObject
* obj3
= 0 ;
1948 PyObject
* obj4
= 0 ;
1949 PyObject
* obj5
= 0 ;
1950 PyObject
* obj6
= 0 ;
1951 PyObject
* obj7
= 0 ;
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1959 arg2
= (int) SWIG_AsInt(obj1
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 arg3
= wxString_in_helper(obj2
);
1963 if (arg3
== NULL
) SWIG_fail
;
1969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1979 arg6
= (long) SWIG_AsLong(obj5
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1987 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 arg8
= wxString_in_helper(obj7
);
1994 if (arg8
== NULL
) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2028 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (wxCheckBox
*)new wxCheckBox();
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2050 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2053 wxWindow
*arg2
= (wxWindow
*) 0 ;
2055 wxString
*arg4
= 0 ;
2056 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2057 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2058 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2059 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2060 long arg7
= (long) 0 ;
2061 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2062 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2063 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2064 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2066 bool temp4
= False
;
2069 bool temp9
= False
;
2070 PyObject
* obj0
= 0 ;
2071 PyObject
* obj1
= 0 ;
2072 PyObject
* obj2
= 0 ;
2073 PyObject
* obj3
= 0 ;
2074 PyObject
* obj4
= 0 ;
2075 PyObject
* obj5
= 0 ;
2076 PyObject
* obj6
= 0 ;
2077 PyObject
* obj7
= 0 ;
2078 PyObject
* obj8
= 0 ;
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 arg3
= (int) SWIG_AsInt(obj2
);
2089 if (PyErr_Occurred()) SWIG_fail
;
2091 arg4
= wxString_in_helper(obj3
);
2092 if (arg4
== NULL
) SWIG_fail
;
2098 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2104 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2108 arg7
= (long) SWIG_AsLong(obj6
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2112 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2113 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2116 PyErr_SetString(PyExc_TypeError
,"null reference");
2122 arg9
= wxString_in_helper(obj8
);
2123 if (arg9
== NULL
) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2159 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2163 PyObject
* obj0
= 0 ;
2165 (char *) "self", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (bool)(arg1
)->GetValue();
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2187 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2191 PyObject
* obj0
= 0 ;
2193 (char *) "self", NULL
2196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2201 result
= (bool)(arg1
)->IsChecked();
2203 wxPyEndAllowThreads(__tstate
);
2204 if (PyErr_Occurred()) SWIG_fail
;
2207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2215 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2219 PyObject
* obj0
= 0 ;
2220 PyObject
* obj1
= 0 ;
2222 (char *) "self",(char *) "state", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2228 arg2
= (bool const) SWIG_AsBool(obj1
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 (arg1
)->SetValue(arg2
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= SWIG_FromInt((int)result
);
2270 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 (char *) "self",(char *) "state", NULL
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2283 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) SWIG_fail
;
2292 Py_INCREF(Py_None
); resultobj
= Py_None
;
2299 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
*resultobj
;
2301 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2303 PyObject
* obj0
= 0 ;
2305 (char *) "self", NULL
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2313 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2327 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2329 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2331 PyObject
* obj0
= 0 ;
2333 (char *) "self", NULL
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2341 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2343 wxPyEndAllowThreads(__tstate
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2355 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2360 return Py_BuildValue((char *)"");
2362 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2363 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2368 static PyObject
*_wrap_ChoiceNameStr_get() {
2373 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2375 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2382 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxWindow
*arg1
= (wxWindow
*) 0 ;
2385 int arg2
= (int) -1 ;
2386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2390 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2391 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2392 long arg6
= (long) 0 ;
2393 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2394 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2395 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2396 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2400 bool temp5
= False
;
2401 bool temp8
= False
;
2402 PyObject
* obj0
= 0 ;
2403 PyObject
* obj1
= 0 ;
2404 PyObject
* obj2
= 0 ;
2405 PyObject
* obj3
= 0 ;
2406 PyObject
* obj4
= 0 ;
2407 PyObject
* obj5
= 0 ;
2408 PyObject
* obj6
= 0 ;
2409 PyObject
* obj7
= 0 ;
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2418 arg2
= (int) SWIG_AsInt(obj1
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2424 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2430 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2435 if (! PySequence_Check(obj4
)) {
2436 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2439 arg5
= new wxArrayString
;
2441 int i
, len
=PySequence_Length(obj4
);
2442 for (i
=0; i
<len
; i
++) {
2443 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2445 PyObject
* str
= PyObject_Unicode(item
);
2447 PyObject
* str
= PyObject_Str(item
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2450 arg5
->Add(Py2wxString(str
));
2457 arg6
= (long) SWIG_AsLong(obj5
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2465 PyErr_SetString(PyExc_TypeError
,"null reference");
2471 arg8
= wxString_in_helper(obj7
);
2472 if (arg8
== NULL
) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2485 if (temp5
) delete arg5
;
2494 if (temp5
) delete arg5
;
2504 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= (wxChoice
*)new wxChoice();
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2526 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxChoice
*arg1
= (wxChoice
*) 0 ;
2529 wxWindow
*arg2
= (wxWindow
*) 0 ;
2530 int arg3
= (int) -1 ;
2531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2535 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2536 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2537 long arg7
= (long) 0 ;
2538 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2539 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2540 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2541 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2545 bool temp6
= False
;
2546 bool temp9
= False
;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2550 PyObject
* obj3
= 0 ;
2551 PyObject
* obj4
= 0 ;
2552 PyObject
* obj5
= 0 ;
2553 PyObject
* obj6
= 0 ;
2554 PyObject
* obj7
= 0 ;
2555 PyObject
* obj8
= 0 ;
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 arg3
= (int) SWIG_AsInt(obj2
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2572 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2578 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2583 if (! PySequence_Check(obj5
)) {
2584 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2587 arg6
= new wxArrayString
;
2589 int i
, len
=PySequence_Length(obj5
);
2590 for (i
=0; i
<len
; i
++) {
2591 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2593 PyObject
* str
= PyObject_Unicode(item
);
2595 PyObject
* str
= PyObject_Str(item
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2598 arg6
->Add(Py2wxString(str
));
2605 arg7
= (long) SWIG_AsLong(obj6
);
2606 if (PyErr_Occurred()) SWIG_fail
;
2609 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2610 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2613 PyErr_SetString(PyExc_TypeError
,"null reference");
2619 arg9
= wxString_in_helper(obj8
);
2620 if (arg9
== NULL
) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2635 if (temp6
) delete arg6
;
2644 if (temp6
) delete arg6
;
2654 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxChoice
*arg1
= (wxChoice
*) 0 ;
2658 PyObject
* obj0
= 0 ;
2659 PyObject
* obj1
= 0 ;
2661 (char *) "self",(char *) "n", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2667 arg2
= (int const) SWIG_AsInt(obj1
);
2668 if (PyErr_Occurred()) SWIG_fail
;
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->SetSelection(arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 wxChoice
*arg1
= (wxChoice
*) 0 ;
2686 wxString
*arg2
= 0 ;
2687 bool temp2
= False
;
2688 PyObject
* obj0
= 0 ;
2689 PyObject
* obj1
= 0 ;
2691 (char *) "self",(char *) "string", NULL
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2698 arg2
= wxString_in_helper(obj1
);
2699 if (arg2
== NULL
) SWIG_fail
;
2703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2704 (arg1
)->SetStringSelection((wxString
const &)*arg2
);
2706 wxPyEndAllowThreads(__tstate
);
2707 if (PyErr_Occurred()) SWIG_fail
;
2709 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxChoice
*arg1
= (wxChoice
*) 0 ;
2728 wxString
*arg3
= 0 ;
2729 bool temp3
= False
;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2732 PyObject
* obj2
= 0 ;
2734 (char *) "self",(char *) "n",(char *) "string", NULL
2737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2740 arg2
= (int) SWIG_AsInt(obj1
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 arg3
= wxString_in_helper(obj2
);
2744 if (arg3
== NULL
) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 Py_INCREF(Py_None
); resultobj
= Py_None
;
2769 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2772 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2774 return Py_BuildValue((char *)"");
2776 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2777 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2782 static PyObject
*_wrap_ComboBoxNameStr_get() {
2787 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2789 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2796 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2797 PyObject
*resultobj
;
2798 wxWindow
*arg1
= (wxWindow
*) 0 ;
2799 int arg2
= (int) -1 ;
2800 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2801 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2806 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2807 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2808 long arg7
= (long) 0 ;
2809 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2810 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2811 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2812 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2814 bool temp3
= False
;
2817 bool temp6
= False
;
2818 bool temp9
= False
;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2821 PyObject
* obj2
= 0 ;
2822 PyObject
* obj3
= 0 ;
2823 PyObject
* obj4
= 0 ;
2824 PyObject
* obj5
= 0 ;
2825 PyObject
* obj6
= 0 ;
2826 PyObject
* obj7
= 0 ;
2827 PyObject
* obj8
= 0 ;
2829 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 arg2
= (int) SWIG_AsInt(obj1
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2841 arg3
= wxString_in_helper(obj2
);
2842 if (arg3
== NULL
) SWIG_fail
;
2849 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2855 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2860 if (! PySequence_Check(obj5
)) {
2861 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2864 arg6
= new wxArrayString
;
2866 int i
, len
=PySequence_Length(obj5
);
2867 for (i
=0; i
<len
; i
++) {
2868 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2870 PyObject
* str
= PyObject_Unicode(item
);
2872 PyObject
* str
= PyObject_Str(item
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2875 arg6
->Add(Py2wxString(str
));
2882 arg7
= (long) SWIG_AsLong(obj6
);
2883 if (PyErr_Occurred()) SWIG_fail
;
2886 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2890 PyErr_SetString(PyExc_TypeError
,"null reference");
2896 arg9
= wxString_in_helper(obj8
);
2897 if (arg9
== NULL
) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2914 if (temp6
) delete arg6
;
2927 if (temp6
) delete arg6
;
2937 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 result
= (wxComboBox
*)new wxComboBox();
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
2959 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
2962 wxWindow
*arg2
= (wxWindow
*) 0 ;
2963 int arg3
= (int) -1 ;
2964 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2965 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2966 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2967 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2968 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2969 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2970 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
2971 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
2972 long arg8
= (long) 0 ;
2973 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
2974 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
2975 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
2976 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
2978 bool temp4
= False
;
2981 bool temp7
= False
;
2982 bool temp10
= False
;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2985 PyObject
* obj2
= 0 ;
2986 PyObject
* obj3
= 0 ;
2987 PyObject
* obj4
= 0 ;
2988 PyObject
* obj5
= 0 ;
2989 PyObject
* obj6
= 0 ;
2990 PyObject
* obj7
= 0 ;
2991 PyObject
* obj8
= 0 ;
2992 PyObject
* obj9
= 0 ;
2994 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
2999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3003 arg3
= (int) SWIG_AsInt(obj2
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3008 arg4
= wxString_in_helper(obj3
);
3009 if (arg4
== NULL
) SWIG_fail
;
3016 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3022 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3027 if (! PySequence_Check(obj6
)) {
3028 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3031 arg7
= new wxArrayString
;
3033 int i
, len
=PySequence_Length(obj6
);
3034 for (i
=0; i
<len
; i
++) {
3035 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3037 PyObject
* str
= PyObject_Unicode(item
);
3039 PyObject
* str
= PyObject_Str(item
);
3041 if (PyErr_Occurred()) SWIG_fail
;
3042 arg7
->Add(Py2wxString(str
));
3049 arg8
= (long) SWIG_AsLong(obj7
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3053 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3057 PyErr_SetString(PyExc_TypeError
,"null reference");
3063 arg10
= wxString_in_helper(obj9
);
3064 if (arg10
== NULL
) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3083 if (temp7
) delete arg7
;
3096 if (temp7
) delete arg7
;
3106 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= ((wxComboBox
const *)arg1
)->GetValue();
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3138 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3141 wxString
*arg2
= 0 ;
3142 bool temp2
= False
;
3143 PyObject
* obj0
= 0 ;
3144 PyObject
* obj1
= 0 ;
3146 (char *) "self",(char *) "value", NULL
3149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3153 arg2
= wxString_in_helper(obj1
);
3154 if (arg2
== NULL
) SWIG_fail
;
3158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3159 (arg1
)->SetValue((wxString
const &)*arg2
);
3161 wxPyEndAllowThreads(__tstate
);
3162 if (PyErr_Occurred()) SWIG_fail
;
3164 Py_INCREF(Py_None
); resultobj
= Py_None
;
3179 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3181 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3184 (char *) "self", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3194 wxPyEndAllowThreads(__tstate
);
3195 if (PyErr_Occurred()) SWIG_fail
;
3197 Py_INCREF(Py_None
); resultobj
= Py_None
;
3204 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 Py_INCREF(Py_None
); resultobj
= Py_None
;
3229 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3231 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 Py_INCREF(Py_None
); resultobj
= Py_None
;
3254 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3261 (char *) "self",(char *) "pos", NULL
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3267 arg2
= (long) SWIG_AsLong(obj1
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 (arg1
)->SetInsertionPoint(arg2
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= SWIG_FromLong((long)result
);
3309 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= SWIG_FromLong((long)result
);
3335 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
*resultobj
;
3337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3340 wxString
*arg4
= 0 ;
3341 bool temp4
= False
;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3344 PyObject
* obj2
= 0 ;
3345 PyObject
* obj3
= 0 ;
3347 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3353 arg2
= (long) SWIG_AsLong(obj1
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3355 arg3
= (long) SWIG_AsLong(obj2
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 arg4
= wxString_in_helper(obj3
);
3359 if (arg4
== NULL
) SWIG_fail
;
3363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 Py_INCREF(Py_None
); resultobj
= Py_None
;
3384 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3389 PyObject
* obj1
= 0 ;
3391 (char *) "self",(char *) "n", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 arg2
= (int) SWIG_AsInt(obj1
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 (arg1
)->SetSelection(arg2
);
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3406 Py_INCREF(Py_None
); resultobj
= Py_None
;
3413 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3420 PyObject
* obj2
= 0 ;
3422 (char *) "self",(char *) "from",(char *) "to", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= (long) SWIG_AsLong(obj1
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3430 arg3
= (long) SWIG_AsLong(obj2
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetSelection(arg2
,arg3
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3446 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3447 PyObject
*resultobj
;
3448 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3450 PyObject
* obj0
= 0 ;
3451 PyObject
* obj1
= 0 ;
3453 (char *) "self",(char *) "editable", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3459 arg2
= (bool) SWIG_AsBool(obj1
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 (arg1
)->SetEditable(arg2
);
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "self", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3488 (arg1
)->SetInsertionPointEnd();
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 Py_INCREF(Py_None
); resultobj
= Py_None
;
3500 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3506 PyObject
* obj1
= 0 ;
3507 PyObject
* obj2
= 0 ;
3509 (char *) "self",(char *) "from",(char *) "to", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 arg2
= (long) SWIG_AsLong(obj1
);
3516 if (PyErr_Occurred()) SWIG_fail
;
3517 arg3
= (long) SWIG_AsLong(obj2
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 (arg1
)->Remove(arg2
,arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3536 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3538 return Py_BuildValue((char *)"");
3540 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3541 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3546 static PyObject
*_wrap_GaugeNameStr_get() {
3551 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3553 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3560 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3561 PyObject
*resultobj
;
3562 wxWindow
*arg1
= (wxWindow
*) 0 ;
3565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3569 long arg6
= (long) wxGA_HORIZONTAL
;
3570 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3571 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3572 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3577 bool temp8
= False
;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3581 PyObject
* obj3
= 0 ;
3582 PyObject
* obj4
= 0 ;
3583 PyObject
* obj5
= 0 ;
3584 PyObject
* obj6
= 0 ;
3585 PyObject
* obj7
= 0 ;
3587 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 arg2
= (int) SWIG_AsInt(obj1
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3595 arg3
= (int) SWIG_AsInt(obj2
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3600 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3606 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3610 arg6
= (long) SWIG_AsLong(obj5
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3614 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3618 PyErr_SetString(PyExc_TypeError
,"null reference");
3624 arg8
= wxString_in_helper(obj7
);
3625 if (arg8
== NULL
) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3651 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3652 PyObject
*resultobj
;
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 result
= (wxGauge
*)new wxGauge();
3663 wxPyEndAllowThreads(__tstate
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3673 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3674 PyObject
*resultobj
;
3675 wxGauge
*arg1
= (wxGauge
*) 0 ;
3676 wxWindow
*arg2
= (wxWindow
*) 0 ;
3679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3683 long arg7
= (long) wxGA_HORIZONTAL
;
3684 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3685 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3686 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3687 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3691 bool temp9
= False
;
3692 PyObject
* obj0
= 0 ;
3693 PyObject
* obj1
= 0 ;
3694 PyObject
* obj2
= 0 ;
3695 PyObject
* obj3
= 0 ;
3696 PyObject
* obj4
= 0 ;
3697 PyObject
* obj5
= 0 ;
3698 PyObject
* obj6
= 0 ;
3699 PyObject
* obj7
= 0 ;
3700 PyObject
* obj8
= 0 ;
3702 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3710 arg3
= (int) SWIG_AsInt(obj2
);
3711 if (PyErr_Occurred()) SWIG_fail
;
3712 arg4
= (int) SWIG_AsInt(obj3
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3717 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3723 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3727 arg7
= (long) SWIG_AsLong(obj6
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3735 PyErr_SetString(PyExc_TypeError
,"null reference");
3741 arg9
= wxString_in_helper(obj8
);
3742 if (arg9
== NULL
) SWIG_fail
;
3747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3770 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3771 PyObject
*resultobj
;
3772 wxGauge
*arg1
= (wxGauge
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3777 (char *) "self",(char *) "range", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3783 arg2
= (int) SWIG_AsInt(obj1
);
3784 if (PyErr_Occurred()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetRange(arg2
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3799 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3800 PyObject
*resultobj
;
3801 wxGauge
*arg1
= (wxGauge
*) 0 ;
3803 PyObject
* obj0
= 0 ;
3805 (char *) "self", NULL
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
3809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 result
= (int)((wxGauge
const *)arg1
)->GetRange();
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_FromInt((int)result
);
3825 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
;
3827 wxGauge
*arg1
= (wxGauge
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "self",(char *) "pos", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3838 arg2
= (int) SWIG_AsInt(obj1
);
3839 if (PyErr_Occurred()) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 (arg1
)->SetValue(arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 Py_INCREF(Py_None
); resultobj
= Py_None
;
3854 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxGauge
*arg1
= (wxGauge
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3860 (char *) "self", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
3864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 result
= (int)((wxGauge
const *)arg1
)->GetValue();
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 resultobj
= SWIG_FromInt((int)result
);
3880 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
*resultobj
;
3882 wxGauge
*arg1
= (wxGauge
*) 0 ;
3884 PyObject
* obj0
= 0 ;
3886 (char *) "self", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3894 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
3896 wxPyEndAllowThreads(__tstate
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3908 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
*resultobj
;
3910 wxGauge
*arg1
= (wxGauge
*) 0 ;
3912 PyObject
* obj0
= 0 ;
3913 PyObject
* obj1
= 0 ;
3915 (char *) "self",(char *) "w", NULL
3918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3921 arg2
= (int) SWIG_AsInt(obj1
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->SetShadowWidth(arg2
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 wxGauge
*arg1
= (wxGauge
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3956 resultobj
= SWIG_FromInt((int)result
);
3963 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
*resultobj
;
3965 wxGauge
*arg1
= (wxGauge
*) 0 ;
3967 PyObject
* obj0
= 0 ;
3968 PyObject
* obj1
= 0 ;
3970 (char *) "self",(char *) "w", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 (arg1
)->SetBezelFace(arg2
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
;
3994 wxGauge
*arg1
= (wxGauge
*) 0 ;
3996 PyObject
* obj0
= 0 ;
3998 (char *) "self", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_FromInt((int)result
);
4018 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4021 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4023 return Py_BuildValue((char *)"");
4025 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4026 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4031 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4036 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4038 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4045 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4046 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4051 static PyObject
*_wrap_StaticBoxNameStr_get() {
4056 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4058 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4065 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4066 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4071 static PyObject
*_wrap_StaticTextNameStr_get() {
4076 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4078 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4085 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxWindow
*arg1
= (wxWindow
*) 0 ;
4089 wxString
*arg3
= 0 ;
4090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4092 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4093 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4094 long arg6
= (long) 0 ;
4095 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4096 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4097 wxStaticBox
*result
;
4098 bool temp3
= False
;
4101 bool temp7
= False
;
4102 PyObject
* obj0
= 0 ;
4103 PyObject
* obj1
= 0 ;
4104 PyObject
* obj2
= 0 ;
4105 PyObject
* obj3
= 0 ;
4106 PyObject
* obj4
= 0 ;
4107 PyObject
* obj5
= 0 ;
4108 PyObject
* obj6
= 0 ;
4110 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 arg2
= (int) SWIG_AsInt(obj1
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 arg3
= wxString_in_helper(obj2
);
4120 if (arg3
== NULL
) SWIG_fail
;
4126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4136 arg6
= (long) SWIG_AsLong(obj5
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4141 arg7
= wxString_in_helper(obj6
);
4142 if (arg7
== NULL
) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= wxPyMake_wxObject(result
);
4178 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxStaticBox
*result
;
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 result
= (wxStaticBox
*)new wxStaticBox();
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4194 resultobj
= wxPyMake_wxObject(result
);
4202 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4203 PyObject
*resultobj
;
4204 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4205 wxWindow
*arg2
= (wxWindow
*) 0 ;
4207 wxString
*arg4
= 0 ;
4208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4212 long arg7
= (long) 0 ;
4213 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4214 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4216 bool temp4
= False
;
4219 bool temp8
= False
;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 PyObject
* obj2
= 0 ;
4223 PyObject
* obj3
= 0 ;
4224 PyObject
* obj4
= 0 ;
4225 PyObject
* obj5
= 0 ;
4226 PyObject
* obj6
= 0 ;
4227 PyObject
* obj7
= 0 ;
4229 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 arg3
= (int) SWIG_AsInt(obj2
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 arg4
= wxString_in_helper(obj3
);
4241 if (arg4
== NULL
) SWIG_fail
;
4247 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4253 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4257 arg7
= (long) SWIG_AsLong(obj6
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4262 arg8
= wxString_in_helper(obj7
);
4263 if (arg8
== NULL
) SWIG_fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4299 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4302 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4304 return Py_BuildValue((char *)"");
4306 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxWindow
*arg1
= (wxWindow
*) 0 ;
4310 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4311 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4312 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4313 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4314 long arg5
= (long) wxLI_HORIZONTAL
;
4315 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4316 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4317 wxStaticLine
*result
;
4320 bool temp6
= False
;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 PyObject
* obj2
= 0 ;
4324 PyObject
* obj3
= 0 ;
4325 PyObject
* obj4
= 0 ;
4326 PyObject
* obj5
= 0 ;
4328 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4334 arg2
= (int) SWIG_AsInt(obj1
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4339 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4345 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4349 arg5
= (long) SWIG_AsLong(obj4
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4354 arg6
= wxString_in_helper(obj5
);
4355 if (arg6
== NULL
) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4381 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4383 wxStaticLine
*result
;
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (wxStaticLine
*)new wxStaticLine();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4403 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4405 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4406 wxWindow
*arg2
= (wxWindow
*) 0 ;
4408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4412 long arg6
= (long) wxLI_HORIZONTAL
;
4413 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4414 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4418 bool temp7
= False
;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 PyObject
* obj2
= 0 ;
4422 PyObject
* obj3
= 0 ;
4423 PyObject
* obj4
= 0 ;
4424 PyObject
* obj5
= 0 ;
4425 PyObject
* obj6
= 0 ;
4427 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4435 arg3
= (int) SWIG_AsInt(obj2
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4440 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4446 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4450 arg6
= (long) SWIG_AsLong(obj5
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4455 arg7
= wxString_in_helper(obj6
);
4456 if (arg7
== NULL
) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4484 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4490 (char *) "self", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (int)wxStaticLine::GetDefaultSize();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 resultobj
= SWIG_FromInt((int)result
);
4534 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4539 return Py_BuildValue((char *)"");
4541 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4543 wxWindow
*arg1
= (wxWindow
*) 0 ;
4545 wxString
*arg3
= 0 ;
4546 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4547 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4548 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4549 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4550 long arg6
= (long) 0 ;
4551 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4552 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4553 wxStaticText
*result
;
4554 bool temp3
= False
;
4557 bool temp7
= False
;
4558 PyObject
* obj0
= 0 ;
4559 PyObject
* obj1
= 0 ;
4560 PyObject
* obj2
= 0 ;
4561 PyObject
* obj3
= 0 ;
4562 PyObject
* obj4
= 0 ;
4563 PyObject
* obj5
= 0 ;
4564 PyObject
* obj6
= 0 ;
4566 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 arg2
= (int) SWIG_AsInt(obj1
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4575 arg3
= wxString_in_helper(obj2
);
4576 if (arg3
== NULL
) SWIG_fail
;
4582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4592 arg6
= (long) SWIG_AsLong(obj5
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4597 arg7
= wxString_in_helper(obj6
);
4598 if (arg7
== NULL
) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4632 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxStaticText
*result
;
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxStaticText
*)new wxStaticText();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4654 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
*resultobj
;
4656 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4657 wxWindow
*arg2
= (wxWindow
*) 0 ;
4659 wxString
*arg4
= 0 ;
4660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4664 long arg7
= (long) 0 ;
4665 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4666 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4668 bool temp4
= False
;
4671 bool temp8
= False
;
4672 PyObject
* obj0
= 0 ;
4673 PyObject
* obj1
= 0 ;
4674 PyObject
* obj2
= 0 ;
4675 PyObject
* obj3
= 0 ;
4676 PyObject
* obj4
= 0 ;
4677 PyObject
* obj5
= 0 ;
4678 PyObject
* obj6
= 0 ;
4679 PyObject
* obj7
= 0 ;
4681 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4687 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 arg3
= (int) SWIG_AsInt(obj2
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 arg4
= wxString_in_helper(obj3
);
4693 if (arg4
== NULL
) SWIG_fail
;
4699 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4705 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4709 arg7
= (long) SWIG_AsLong(obj6
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4714 arg8
= wxString_in_helper(obj7
);
4715 if (arg8
== NULL
) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4751 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxWindow
*arg1
= (wxWindow
*) 0 ;
4762 wxBitmap
*arg3
= 0 ;
4763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4767 long arg6
= (long) 0 ;
4768 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
4769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4770 wxStaticBitmap
*result
;
4773 bool temp7
= False
;
4774 PyObject
* obj0
= 0 ;
4775 PyObject
* obj1
= 0 ;
4776 PyObject
* obj2
= 0 ;
4777 PyObject
* obj3
= 0 ;
4778 PyObject
* obj4
= 0 ;
4779 PyObject
* obj5
= 0 ;
4780 PyObject
* obj6
= 0 ;
4782 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 arg2
= (int) SWIG_AsInt(obj1
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
4791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4794 PyErr_SetString(PyExc_TypeError
,"null reference");
4800 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4806 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4810 arg6
= (long) SWIG_AsLong(obj5
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4815 arg7
= wxString_in_helper(obj6
);
4816 if (arg7
== NULL
) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4842 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
*resultobj
;
4844 wxStaticBitmap
*result
;
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (wxStaticBitmap
*)new wxStaticBitmap();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
4864 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4867 wxWindow
*arg2
= (wxWindow
*) 0 ;
4869 wxBitmap
*arg4
= 0 ;
4870 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4871 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4872 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4873 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4874 long arg7
= (long) 0 ;
4875 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
4876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4880 bool temp8
= False
;
4881 PyObject
* obj0
= 0 ;
4882 PyObject
* obj1
= 0 ;
4883 PyObject
* obj2
= 0 ;
4884 PyObject
* obj3
= 0 ;
4885 PyObject
* obj4
= 0 ;
4886 PyObject
* obj5
= 0 ;
4887 PyObject
* obj6
= 0 ;
4888 PyObject
* obj7
= 0 ;
4890 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4898 arg3
= (int) SWIG_AsInt(obj2
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4900 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
4901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4904 PyErr_SetString(PyExc_TypeError
,"null reference");
4910 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4916 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4920 arg7
= (long) SWIG_AsLong(obj6
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4925 arg8
= wxString_in_helper(obj7
);
4926 if (arg8
== NULL
) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4954 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (arg1
)->GetBitmap();
4970 wxPyEndAllowThreads(__tstate
);
4971 if (PyErr_Occurred()) SWIG_fail
;
4974 wxBitmap
* resultptr
;
4975 resultptr
= new wxBitmap((wxBitmap
&) result
);
4976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
4984 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
4987 wxBitmap
*arg2
= 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4991 (char *) "self",(char *) "bitmap", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5001 PyErr_SetString(PyExc_TypeError
,"null reference");
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 Py_INCREF(Py_None
); resultobj
= Py_None
;
5018 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5025 (char *) "self",(char *) "icon", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5035 PyErr_SetString(PyExc_TypeError
,"null reference");
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 Py_INCREF(Py_None
); resultobj
= Py_None
;
5052 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5057 return Py_BuildValue((char *)"");
5059 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5060 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5065 static PyObject
*_wrap_ListBoxNameStr_get() {
5070 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5072 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5079 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxWindow
*arg1
= (wxWindow
*) 0 ;
5083 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5084 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5085 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5086 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5087 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5088 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5089 long arg6
= (long) 0 ;
5090 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5091 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5092 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5093 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5097 bool temp5
= False
;
5098 bool temp8
= False
;
5099 PyObject
* obj0
= 0 ;
5100 PyObject
* obj1
= 0 ;
5101 PyObject
* obj2
= 0 ;
5102 PyObject
* obj3
= 0 ;
5103 PyObject
* obj4
= 0 ;
5104 PyObject
* obj5
= 0 ;
5105 PyObject
* obj6
= 0 ;
5106 PyObject
* obj7
= 0 ;
5108 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5114 arg2
= (int) SWIG_AsInt(obj1
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5125 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5130 if (! PySequence_Check(obj4
)) {
5131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5134 arg5
= new wxArrayString
;
5136 int i
, len
=PySequence_Length(obj4
);
5137 for (i
=0; i
<len
; i
++) {
5138 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5140 PyObject
* str
= PyObject_Unicode(item
);
5142 PyObject
* str
= PyObject_Str(item
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5145 arg5
->Add(Py2wxString(str
));
5152 arg6
= (long) SWIG_AsLong(obj5
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5156 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5160 PyErr_SetString(PyExc_TypeError
,"null reference");
5166 arg8
= wxString_in_helper(obj7
);
5167 if (arg8
== NULL
) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5180 if (temp5
) delete arg5
;
5189 if (temp5
) delete arg5
;
5199 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5200 PyObject
*resultobj
;
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxListBox
*)new wxListBox();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5221 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxListBox
*arg1
= (wxListBox
*) 0 ;
5224 wxWindow
*arg2
= (wxWindow
*) 0 ;
5226 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5227 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5228 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5229 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5230 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5231 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5232 long arg7
= (long) 0 ;
5233 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5234 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5235 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5236 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5240 bool temp6
= False
;
5241 bool temp9
= False
;
5242 PyObject
* obj0
= 0 ;
5243 PyObject
* obj1
= 0 ;
5244 PyObject
* obj2
= 0 ;
5245 PyObject
* obj3
= 0 ;
5246 PyObject
* obj4
= 0 ;
5247 PyObject
* obj5
= 0 ;
5248 PyObject
* obj6
= 0 ;
5249 PyObject
* obj7
= 0 ;
5250 PyObject
* obj8
= 0 ;
5252 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5260 arg3
= (int) SWIG_AsInt(obj2
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5265 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5271 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5276 if (! PySequence_Check(obj5
)) {
5277 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5280 arg6
= new wxArrayString
;
5282 int i
, len
=PySequence_Length(obj5
);
5283 for (i
=0; i
<len
; i
++) {
5284 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5286 PyObject
* str
= PyObject_Unicode(item
);
5288 PyObject
* str
= PyObject_Str(item
);
5290 if (PyErr_Occurred()) SWIG_fail
;
5291 arg6
->Add(Py2wxString(str
));
5298 arg7
= (long) SWIG_AsLong(obj6
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5306 PyErr_SetString(PyExc_TypeError
,"null reference");
5312 arg9
= wxString_in_helper(obj8
);
5313 if (arg9
== NULL
) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 if (temp6
) delete arg6
;
5337 if (temp6
) delete arg6
;
5347 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxListBox
*arg1
= (wxListBox
*) 0 ;
5350 wxString
*arg2
= 0 ;
5352 PyObject
*arg4
= (PyObject
*) NULL
;
5353 bool temp2
= False
;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5356 PyObject
* obj2
= 0 ;
5357 PyObject
* obj3
= 0 ;
5359 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 arg2
= wxString_in_helper(obj1
);
5367 if (arg2
== NULL
) SWIG_fail
;
5370 arg3
= (int) SWIG_AsInt(obj2
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxListBox
*arg1
= (wxListBox
*) 0 ;
5400 wxArrayString
*arg2
= 0 ;
5402 bool temp2
= False
;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 PyObject
* obj2
= 0 ;
5407 (char *) "self",(char *) "items",(char *) "pos", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 if (! PySequence_Check(obj1
)) {
5415 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5418 arg2
= new wxArrayString
;
5420 int i
, len
=PySequence_Length(obj1
);
5421 for (i
=0; i
<len
; i
++) {
5422 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5424 PyObject
* str
= PyObject_Unicode(item
);
5426 PyObject
* str
= PyObject_Str(item
);
5428 if (PyErr_Occurred()) SWIG_fail
;
5429 arg2
->Add(Py2wxString(str
));
5434 arg3
= (int) SWIG_AsInt(obj2
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5438 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 if (temp2
) delete arg2
;
5450 if (temp2
) delete arg2
;
5456 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxListBox
*arg1
= (wxListBox
*) 0 ;
5459 wxArrayString
*arg2
= 0 ;
5460 bool temp2
= False
;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5464 (char *) "self",(char *) "items", NULL
5467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5471 if (! PySequence_Check(obj1
)) {
5472 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5475 arg2
= new wxArrayString
;
5477 int i
, len
=PySequence_Length(obj1
);
5478 for (i
=0; i
<len
; i
++) {
5479 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5481 PyObject
* str
= PyObject_Unicode(item
);
5483 PyObject
* str
= PyObject_Str(item
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5486 arg2
->Add(Py2wxString(str
));
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 (arg1
)->Set((wxArrayString
const &)*arg2
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5498 Py_INCREF(Py_None
); resultobj
= Py_None
;
5500 if (temp2
) delete arg2
;
5505 if (temp2
) delete arg2
;
5511 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
*resultobj
;
5513 wxListBox
*arg1
= (wxListBox
*) 0 ;
5516 PyObject
* obj0
= 0 ;
5517 PyObject
* obj1
= 0 ;
5519 (char *) "self",(char *) "n", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5525 arg2
= (int) SWIG_AsInt(obj1
);
5526 if (PyErr_Occurred()) SWIG_fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5543 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxListBox
*arg1
= (wxListBox
*) 0 ;
5547 bool arg3
= (bool) True
;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5552 (char *) "self",(char *) "n",(char *) "select", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 arg2
= (int) SWIG_AsInt(obj1
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 arg3
= (bool) SWIG_AsBool(obj2
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5566 (arg1
)->SetSelection(arg2
,arg3
);
5568 wxPyEndAllowThreads(__tstate
);
5569 if (PyErr_Occurred()) SWIG_fail
;
5571 Py_INCREF(Py_None
); resultobj
= Py_None
;
5578 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5579 PyObject
*resultobj
;
5580 wxListBox
*arg1
= (wxListBox
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "n", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 arg2
= (int) SWIG_AsInt(obj1
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 (arg1
)->Select(arg2
);
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 Py_INCREF(Py_None
); resultobj
= Py_None
;
5607 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxListBox
*arg1
= (wxListBox
*) 0 ;
5611 PyObject
* obj0
= 0 ;
5612 PyObject
* obj1
= 0 ;
5614 (char *) "self",(char *) "n", NULL
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
5618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 arg2
= (int) SWIG_AsInt(obj1
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->Deselect(arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5629 Py_INCREF(Py_None
); resultobj
= Py_None
;
5636 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxListBox
*arg1
= (wxListBox
*) 0 ;
5639 int arg2
= (int) -1 ;
5640 PyObject
* obj0
= 0 ;
5641 PyObject
* obj1
= 0 ;
5643 (char *) "self",(char *) "itemToLeaveSelected", NULL
5646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
5647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int) SWIG_AsInt(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->DeselectAll(arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxListBox
*arg1
= (wxListBox
*) 0 ;
5670 wxString
*arg2
= 0 ;
5671 bool arg3
= (bool) True
;
5673 bool temp2
= False
;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 PyObject
* obj2
= 0 ;
5678 (char *) "self",(char *) "s",(char *) "select", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5685 arg2
= wxString_in_helper(obj1
);
5686 if (arg2
== NULL
) SWIG_fail
;
5690 arg3
= (bool) SWIG_AsBool(obj2
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxListBox
*arg1
= (wxListBox
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5723 (char *) "self", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5731 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
5733 wxPyEndAllowThreads(__tstate
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5743 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
;
5745 wxListBox
*arg1
= (wxListBox
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5750 (char *) "self",(char *) "n", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5756 arg2
= (int) SWIG_AsInt(obj1
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 (arg1
)->SetFirstItem(arg2
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5772 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
*resultobj
;
5774 wxListBox
*arg1
= (wxListBox
*) 0 ;
5775 wxString
*arg2
= 0 ;
5776 bool temp2
= False
;
5777 PyObject
* obj0
= 0 ;
5778 PyObject
* obj1
= 0 ;
5780 (char *) "self",(char *) "s", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 arg2
= wxString_in_helper(obj1
);
5788 if (arg2
== NULL
) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxListBox
*arg1
= (wxListBox
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5820 (char *) "self",(char *) "n", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 arg2
= (int) SWIG_AsInt(obj1
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 (arg1
)->EnsureVisible(arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 Py_INCREF(Py_None
); resultobj
= Py_None
;
5842 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxListBox
*arg1
= (wxListBox
*) 0 ;
5845 wxString
*arg2
= 0 ;
5846 bool temp2
= False
;
5847 PyObject
* obj0
= 0 ;
5848 PyObject
* obj1
= 0 ;
5850 (char *) "self",(char *) "s", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
5854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5857 arg2
= wxString_in_helper(obj1
);
5858 if (arg2
== NULL
) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxListBox
*arg1
= (wxListBox
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5911 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
;
5913 wxListBox
*arg1
= (wxListBox
*) 0 ;
5915 wxColour
*arg3
= 0 ;
5917 PyObject
* obj0
= 0 ;
5918 PyObject
* obj1
= 0 ;
5919 PyObject
* obj2
= 0 ;
5921 (char *) "self",(char *) "item",(char *) "c", NULL
5924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 arg2
= (int) SWIG_AsInt(obj1
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5940 Py_INCREF(Py_None
); resultobj
= Py_None
;
5947 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
*resultobj
;
5949 wxListBox
*arg1
= (wxListBox
*) 0 ;
5951 wxColour
*arg3
= 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5955 PyObject
* obj2
= 0 ;
5957 (char *) "self",(char *) "item",(char *) "c", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5963 arg2
= (int) SWIG_AsInt(obj1
);
5964 if (PyErr_Occurred()) SWIG_fail
;
5967 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
5970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5971 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
5973 wxPyEndAllowThreads(__tstate
);
5974 if (PyErr_Occurred()) SWIG_fail
;
5976 Py_INCREF(Py_None
); resultobj
= Py_None
;
5983 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
*resultobj
;
5985 wxListBox
*arg1
= (wxListBox
*) 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 PyObject
* obj2
= 0 ;
5992 (char *) "self",(char *) "item",(char *) "f", NULL
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 arg2
= (int) SWIG_AsInt(obj1
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6000 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6004 PyErr_SetString(PyExc_TypeError
,"null reference");
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 Py_INCREF(Py_None
); resultobj
= Py_None
;
6021 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6024 wxVisualAttributes result
;
6025 PyObject
* obj0
= 0 ;
6027 (char *) "variant", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6032 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 wxVisualAttributes
* resultptr
;
6044 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6053 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6056 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6058 return Py_BuildValue((char *)"");
6060 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
;
6062 wxWindow
*arg1
= (wxWindow
*) 0 ;
6064 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6065 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6066 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6067 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6068 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6069 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6070 long arg6
= (long) 0 ;
6071 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6072 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6073 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6074 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6075 wxCheckListBox
*result
;
6078 bool temp5
= False
;
6079 bool temp8
= False
;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6082 PyObject
* obj2
= 0 ;
6083 PyObject
* obj3
= 0 ;
6084 PyObject
* obj4
= 0 ;
6085 PyObject
* obj5
= 0 ;
6086 PyObject
* obj6
= 0 ;
6087 PyObject
* obj7
= 0 ;
6089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 arg2
= (int) SWIG_AsInt(obj1
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6100 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6106 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6111 if (! PySequence_Check(obj4
)) {
6112 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6115 arg5
= new wxArrayString
;
6117 int i
, len
=PySequence_Length(obj4
);
6118 for (i
=0; i
<len
; i
++) {
6119 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6121 PyObject
* str
= PyObject_Unicode(item
);
6123 PyObject
* str
= PyObject_Str(item
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6126 arg5
->Add(Py2wxString(str
));
6133 arg6
= (long) SWIG_AsLong(obj5
);
6134 if (PyErr_Occurred()) SWIG_fail
;
6137 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6141 PyErr_SetString(PyExc_TypeError
,"null reference");
6147 arg8
= wxString_in_helper(obj7
);
6148 if (arg8
== NULL
) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6161 if (temp5
) delete arg5
;
6170 if (temp5
) delete arg5
;
6180 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxCheckListBox
*result
;
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (wxCheckListBox
*)new wxCheckListBox();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6202 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6205 wxWindow
*arg2
= (wxWindow
*) 0 ;
6207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6211 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6212 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6213 long arg7
= (long) 0 ;
6214 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6215 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6216 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6217 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6221 bool temp6
= False
;
6222 bool temp9
= False
;
6223 PyObject
* obj0
= 0 ;
6224 PyObject
* obj1
= 0 ;
6225 PyObject
* obj2
= 0 ;
6226 PyObject
* obj3
= 0 ;
6227 PyObject
* obj4
= 0 ;
6228 PyObject
* obj5
= 0 ;
6229 PyObject
* obj6
= 0 ;
6230 PyObject
* obj7
= 0 ;
6231 PyObject
* obj8
= 0 ;
6233 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6241 arg3
= (int) SWIG_AsInt(obj2
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6246 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6252 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6257 if (! PySequence_Check(obj5
)) {
6258 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6261 arg6
= new wxArrayString
;
6263 int i
, len
=PySequence_Length(obj5
);
6264 for (i
=0; i
<len
; i
++) {
6265 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6267 PyObject
* str
= PyObject_Unicode(item
);
6269 PyObject
* str
= PyObject_Str(item
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6272 arg6
->Add(Py2wxString(str
));
6279 arg7
= (long) SWIG_AsLong(obj6
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6287 PyErr_SetString(PyExc_TypeError
,"null reference");
6293 arg9
= wxString_in_helper(obj8
);
6294 if (arg9
== NULL
) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6309 if (temp6
) delete arg6
;
6318 if (temp6
) delete arg6
;
6328 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6330 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6336 (char *) "self",(char *) "index", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6342 arg2
= (int) SWIG_AsInt(obj1
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6346 result
= (bool)(arg1
)->IsChecked(arg2
);
6348 wxPyEndAllowThreads(__tstate
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6360 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6364 int arg3
= (int) True
;
6365 PyObject
* obj0
= 0 ;
6366 PyObject
* obj1
= 0 ;
6367 PyObject
* obj2
= 0 ;
6369 (char *) "self",(char *) "index",(char *) "check", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (int) SWIG_AsInt(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 arg3
= (int) SWIG_AsInt(obj2
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 (arg1
)->Check(arg2
,arg3
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 Py_INCREF(Py_None
); resultobj
= Py_None
;
6395 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6399 PyObject
* obj0
= 0 ;
6401 (char *) "self", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 result
= (int)(arg1
)->GetItemHeight();
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 resultobj
= SWIG_FromInt((int)result
);
6421 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
*resultobj
;
6423 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6427 PyObject
* obj0
= 0 ;
6428 PyObject
* obj1
= 0 ;
6430 (char *) "self",(char *) "pt", NULL
6433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_FromInt((int)result
);
6454 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6464 (char *) "self",(char *) "x",(char *) "y", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= (int) SWIG_AsInt(obj1
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6472 arg3
= (int) SWIG_AsInt(obj2
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_FromInt((int)result
);
6488 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6491 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6493 return Py_BuildValue((char *)"");
6495 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6496 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6501 static PyObject
*_wrap_TextCtrlNameStr_get() {
6506 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6508 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6515 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6516 PyObject
*resultobj
;
6519 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (wxTextAttr
*)new wxTextAttr();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6534 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6535 PyObject
*resultobj
;
6536 wxColour
*arg1
= 0 ;
6537 wxColour
const &arg2_defvalue
= wxNullColour
;
6538 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6539 wxFont
const &arg3_defvalue
= wxNullFont
;
6540 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6541 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6547 PyObject
* obj2
= 0 ;
6548 PyObject
* obj3
= 0 ;
6550 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6553 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6558 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6566 PyErr_SetString(PyExc_TypeError
,"null reference");
6571 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6588 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6593 argc
= PyObject_Length(args
);
6594 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6595 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6598 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6600 if ((argc
>= 1) && (argc
<= 4)) {
6603 _v
= wxColour_typecheck(argv
[0]);
6607 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6610 _v
= wxColour_typecheck(argv
[1]);
6614 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6618 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6627 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6629 _v
= SWIG_CheckInt(argv
[3]);
6631 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6638 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
6643 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
;
6645 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6648 (char *) "self", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6661 Py_INCREF(Py_None
); resultobj
= Py_None
;
6668 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6669 PyObject
*resultobj
;
6670 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6671 PyObject
* obj0
= 0 ;
6673 (char *) "self", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 Py_INCREF(Py_None
); resultobj
= Py_None
;
6693 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6695 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6696 wxColour
*arg2
= 0 ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6701 (char *) "self",(char *) "colText", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6713 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 Py_INCREF(Py_None
); resultobj
= Py_None
;
6725 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6728 wxColour
*arg2
= 0 ;
6730 PyObject
* obj0
= 0 ;
6731 PyObject
* obj1
= 0 ;
6733 (char *) "self",(char *) "colBack", NULL
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
6737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6741 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6761 long arg3
= (long) wxTEXT_ATTR_FONT
;
6762 PyObject
* obj0
= 0 ;
6763 PyObject
* obj1
= 0 ;
6764 PyObject
* obj2
= 0 ;
6766 (char *) "self",(char *) "font",(char *) "flags", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
6773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6776 PyErr_SetString(PyExc_TypeError
,"null reference");
6780 arg3
= (long) SWIG_AsLong(obj2
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6790 Py_INCREF(Py_None
); resultobj
= Py_None
;
6797 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6802 PyObject
* obj1
= 0 ;
6804 (char *) "self",(char *) "alignment", NULL
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
6808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6810 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 Py_INCREF(Py_None
); resultobj
= Py_None
;
6826 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6829 wxArrayInt
*arg2
= 0 ;
6830 bool temp2
= False
;
6831 PyObject
* obj0
= 0 ;
6832 PyObject
* obj1
= 0 ;
6834 (char *) "self",(char *) "tabs", NULL
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
6838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 if (! PySequence_Check(obj1
)) {
6842 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
6845 arg2
= new wxArrayInt
;
6847 int i
, len
=PySequence_Length(obj1
);
6848 for (i
=0; i
<len
; i
++) {
6849 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6850 PyObject
* number
= PyNumber_Int(item
);
6851 arg2
->Add(PyInt_AS_LONG(number
));
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6865 if (temp2
) delete arg2
;
6870 if (temp2
) delete arg2
;
6876 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6883 (char *) "self",(char *) "indent", NULL
6886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6889 arg2
= (int) SWIG_AsInt(obj1
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6893 (arg1
)->SetLeftIndent(arg2
);
6895 wxPyEndAllowThreads(__tstate
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6898 Py_INCREF(Py_None
); resultobj
= Py_None
;
6905 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6906 PyObject
*resultobj
;
6907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6912 (char *) "self",(char *) "indent", NULL
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
6916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6918 arg2
= (int) SWIG_AsInt(obj1
);
6919 if (PyErr_Occurred()) SWIG_fail
;
6921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6922 (arg1
)->SetRightIndent(arg2
);
6924 wxPyEndAllowThreads(__tstate
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 Py_INCREF(Py_None
); resultobj
= Py_None
;
6934 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
;
6936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6938 PyObject
* obj0
= 0 ;
6939 PyObject
* obj1
= 0 ;
6941 (char *) "self",(char *) "flags", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6947 arg2
= (long) SWIG_AsLong(obj1
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 (arg1
)->SetFlags(arg2
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 Py_INCREF(Py_None
); resultobj
= Py_None
;
6963 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6991 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
6995 PyObject
* obj0
= 0 ;
6997 (char *) "self", NULL
7000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7005 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7007 wxPyEndAllowThreads(__tstate
);
7008 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7019 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
*resultobj
;
7021 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7025 (char *) "self", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7033 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7035 wxPyEndAllowThreads(__tstate
);
7036 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7047 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7053 (char *) "self", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7075 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "self", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7103 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7117 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7119 wxPyEndAllowThreads(__tstate
);
7120 if (PyErr_Occurred()) SWIG_fail
;
7123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7131 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
*resultobj
;
7133 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7135 PyObject
* obj0
= 0 ;
7137 (char *) "self", NULL
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7159 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7167 (char *) "self",(char *) "flag", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7173 arg2
= (long) SWIG_AsLong(obj1
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7191 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7192 PyObject
*resultobj
;
7193 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7195 PyObject
* obj0
= 0 ;
7197 (char *) "self", NULL
7200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7207 result
= (wxColour
*) &_result_ref
;
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7220 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7236 result
= (wxColour
*) &_result_ref
;
7239 wxPyEndAllowThreads(__tstate
);
7240 if (PyErr_Occurred()) SWIG_fail
;
7242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7249 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7253 PyObject
* obj0
= 0 ;
7255 (char *) "self", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7265 result
= (wxFont
*) &_result_ref
;
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7272 wxFont
* resultptr
= new wxFont(*result
);
7273 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7281 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7285 PyObject
* obj0
= 0 ;
7287 (char *) "self", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_FromInt((int)result
);
7307 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "self", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7323 result
= (wxArrayInt
*) &_result_ref
;
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= PyList_New(0);
7332 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7333 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7334 PyList_Append(resultobj
, val
);
7344 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "self", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7360 wxPyEndAllowThreads(__tstate
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 resultobj
= SWIG_FromLong((long)result
);
7370 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7371 PyObject
*resultobj
;
7372 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7374 PyObject
* obj0
= 0 ;
7376 (char *) "self", NULL
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_FromLong((long)result
);
7396 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7397 PyObject
*resultobj
;
7398 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7400 PyObject
* obj0
= 0 ;
7402 (char *) "self", NULL
7405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_FromLong((long)result
);
7422 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7426 PyObject
* obj0
= 0 ;
7428 (char *) "self", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7450 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
;
7452 wxTextAttr
*arg1
= 0 ;
7453 wxTextAttr
*arg2
= 0 ;
7454 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7456 PyObject
* obj0
= 0 ;
7457 PyObject
* obj1
= 0 ;
7458 PyObject
* obj2
= 0 ;
7460 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7468 PyErr_SetString(PyExc_TypeError
,"null reference");
7471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7475 PyErr_SetString(PyExc_TypeError
,"null reference");
7478 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7488 wxTextAttr
* resultptr
;
7489 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7498 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7501 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7503 return Py_BuildValue((char *)"");
7505 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
*resultobj
;
7507 wxWindow
*arg1
= (wxWindow
*) 0 ;
7509 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7510 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7511 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7512 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7513 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7514 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7515 long arg6
= (long) 0 ;
7516 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7517 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7518 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7519 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7521 bool temp3
= False
;
7524 bool temp8
= False
;
7525 PyObject
* obj0
= 0 ;
7526 PyObject
* obj1
= 0 ;
7527 PyObject
* obj2
= 0 ;
7528 PyObject
* obj3
= 0 ;
7529 PyObject
* obj4
= 0 ;
7530 PyObject
* obj5
= 0 ;
7531 PyObject
* obj6
= 0 ;
7532 PyObject
* obj7
= 0 ;
7534 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 arg2
= (int) SWIG_AsInt(obj1
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 arg3
= wxString_in_helper(obj2
);
7545 if (arg3
== NULL
) SWIG_fail
;
7552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7562 arg6
= (long) SWIG_AsLong(obj5
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7566 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7570 PyErr_SetString(PyExc_TypeError
,"null reference");
7576 arg8
= wxString_in_helper(obj7
);
7577 if (arg8
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= wxPyMake_wxObject(result
);
7613 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 result
= (wxTextCtrl
*)new wxTextCtrl();
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= wxPyMake_wxObject(result
);
7637 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7640 wxWindow
*arg2
= (wxWindow
*) 0 ;
7642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7648 long arg7
= (long) 0 ;
7649 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7650 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7651 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
7652 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7654 bool temp4
= False
;
7657 bool temp9
= False
;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7660 PyObject
* obj2
= 0 ;
7661 PyObject
* obj3
= 0 ;
7662 PyObject
* obj4
= 0 ;
7663 PyObject
* obj5
= 0 ;
7664 PyObject
* obj6
= 0 ;
7665 PyObject
* obj7
= 0 ;
7666 PyObject
* obj8
= 0 ;
7668 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7676 arg3
= (int) SWIG_AsInt(obj2
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7680 arg4
= wxString_in_helper(obj3
);
7681 if (arg4
== NULL
) SWIG_fail
;
7688 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7694 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7698 arg7
= (long) SWIG_AsLong(obj6
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7702 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7706 PyErr_SetString(PyExc_TypeError
,"null reference");
7712 arg9
= wxString_in_helper(obj8
);
7713 if (arg9
== NULL
) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7755 (char *) "self", NULL
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
7759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7772 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7781 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7784 wxString
*arg2
= 0 ;
7785 bool temp2
= False
;
7786 PyObject
* obj0
= 0 ;
7787 PyObject
* obj1
= 0 ;
7789 (char *) "self",(char *) "value", NULL
7792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
7793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7796 arg2
= wxString_in_helper(obj1
);
7797 if (arg2
== NULL
) SWIG_fail
;
7801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 (arg1
)->SetValue((wxString
const &)*arg2
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 Py_INCREF(Py_None
); resultobj
= Py_None
;
7822 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 PyObject
* obj2
= 0 ;
7832 (char *) "self",(char *) "from",(char *) "to", NULL
7835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 arg2
= (long) SWIG_AsLong(obj1
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7840 arg3
= (long) SWIG_AsLong(obj2
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7862 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7867 PyObject
* obj0
= 0 ;
7868 PyObject
* obj1
= 0 ;
7870 (char *) "self",(char *) "lineNo", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7876 arg2
= (long) SWIG_AsLong(obj1
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_FromInt((int)result
);
7892 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7900 (char *) "self",(char *) "lineNo", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7906 arg2
= (long) SWIG_AsLong(obj1
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7928 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_FromInt((int)result
);
7954 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7982 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8010 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8024 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8026 wxPyEndAllowThreads(__tstate
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8038 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8039 PyObject
*resultobj
;
8040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8042 PyObject
* obj0
= 0 ;
8044 (char *) "self", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8052 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8054 wxPyEndAllowThreads(__tstate
);
8055 if (PyErr_Occurred()) SWIG_fail
;
8058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8066 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8067 PyObject
*resultobj
;
8068 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8069 long *arg2
= (long *) 0 ;
8070 long *arg3
= (long *) 0 ;
8073 PyObject
* obj0
= 0 ;
8075 (char *) "self", NULL
8080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 Py_INCREF(Py_None
); resultobj
= Py_None
;
8092 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8093 resultobj
= t_output_helper(resultobj
,o
);
8096 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8097 resultobj
= t_output_helper(resultobj
,o
);
8105 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8106 PyObject
*resultobj
;
8107 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8137 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8138 PyObject
*resultobj
;
8139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 Py_INCREF(Py_None
); resultobj
= Py_None
;
8162 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8167 wxString
*arg4
= 0 ;
8168 bool temp4
= False
;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8171 PyObject
* obj2
= 0 ;
8172 PyObject
* obj3
= 0 ;
8174 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8180 arg2
= (long) SWIG_AsLong(obj1
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8182 arg3
= (long) SWIG_AsLong(obj2
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 arg4
= wxString_in_helper(obj3
);
8186 if (arg4
== NULL
) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8220 (char *) "self",(char *) "from",(char *) "to", NULL
8223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8226 arg2
= (long) SWIG_AsLong(obj1
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8228 arg3
= (long) SWIG_AsLong(obj2
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->Remove(arg2
,arg3
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 Py_INCREF(Py_None
); resultobj
= Py_None
;
8244 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8247 wxString
*arg2
= 0 ;
8249 bool temp2
= False
;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "file", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8260 arg2
= wxString_in_helper(obj1
);
8261 if (arg2
== NULL
) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8288 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
;
8290 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8291 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8292 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8294 bool temp2
= False
;
8295 PyObject
* obj0
= 0 ;
8296 PyObject
* obj1
= 0 ;
8298 (char *) "self",(char *) "file", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8306 arg2
= wxString_in_helper(obj1
);
8307 if (arg2
== NULL
) SWIG_fail
;
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8313 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8335 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8338 PyObject
* obj0
= 0 ;
8340 (char *) "self", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 (arg1
)->MarkDirty();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8361 PyObject
*resultobj
;
8362 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8363 PyObject
* obj0
= 0 ;
8365 (char *) "self", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 (arg1
)->DiscardEdits();
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 Py_INCREF(Py_None
); resultobj
= Py_None
;
8385 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8388 unsigned long arg2
;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8392 (char *) "self",(char *) "len", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 (arg1
)->SetMaxLength(arg2
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8414 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8417 wxString
*arg2
= 0 ;
8418 bool temp2
= False
;
8419 PyObject
* obj0
= 0 ;
8420 PyObject
* obj1
= 0 ;
8422 (char *) "self",(char *) "text", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8429 arg2
= wxString_in_helper(obj1
);
8430 if (arg2
== NULL
) SWIG_fail
;
8434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8435 (arg1
)->WriteText((wxString
const &)*arg2
);
8437 wxPyEndAllowThreads(__tstate
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 Py_INCREF(Py_None
); resultobj
= Py_None
;
8455 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8458 wxString
*arg2
= 0 ;
8459 bool temp2
= False
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8463 (char *) "self",(char *) "text", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8470 arg2
= wxString_in_helper(obj1
);
8471 if (arg2
== NULL
) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 (arg1
)->AppendText((wxString
const &)*arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 Py_INCREF(Py_None
); resultobj
= Py_None
;
8496 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8499 wxKeyEvent
*arg2
= 0 ;
8501 PyObject
* obj0
= 0 ;
8502 PyObject
* obj1
= 0 ;
8504 (char *) "self",(char *) "event", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8514 PyErr_SetString(PyExc_TypeError
,"null reference");
8518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8519 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8521 wxPyEndAllowThreads(__tstate
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8533 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8538 wxTextAttr
*arg4
= 0 ;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj1
= 0 ;
8542 PyObject
* obj2
= 0 ;
8543 PyObject
* obj3
= 0 ;
8545 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8551 arg2
= (long) SWIG_AsLong(obj1
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8553 arg3
= (long) SWIG_AsLong(obj2
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8555 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8559 PyErr_SetString(PyExc_TypeError
,"null reference");
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8578 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8579 PyObject
*resultobj
;
8580 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8582 wxTextAttr
*arg3
= 0 ;
8584 PyObject
* obj0
= 0 ;
8585 PyObject
* obj1
= 0 ;
8586 PyObject
* obj2
= 0 ;
8588 (char *) "self",(char *) "position",(char *) "style", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8594 arg2
= (long) SWIG_AsLong(obj1
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8596 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8600 PyErr_SetString(PyExc_TypeError
,"null reference");
8604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8605 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8619 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8620 PyObject
*resultobj
;
8621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8622 wxTextAttr
*arg2
= 0 ;
8624 PyObject
* obj0
= 0 ;
8625 PyObject
* obj1
= 0 ;
8627 (char *) "self",(char *) "style", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8637 PyErr_SetString(PyExc_TypeError
,"null reference");
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8656 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "self", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
8672 result
= (wxTextAttr
*) &_result_ref
;
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
8685 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8686 PyObject
*resultobj
;
8687 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8691 PyObject
* obj0
= 0 ;
8692 PyObject
* obj1
= 0 ;
8693 PyObject
* obj2
= 0 ;
8695 (char *) "self",(char *) "x",(char *) "y", NULL
8698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8701 arg2
= (long) SWIG_AsLong(obj1
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8703 arg3
= (long) SWIG_AsLong(obj2
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8707 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
8709 wxPyEndAllowThreads(__tstate
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 resultobj
= SWIG_FromLong((long)result
);
8719 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8723 long *arg3
= (long *) 0 ;
8724 long *arg4
= (long *) 0 ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8730 (char *) "self",(char *) "pos", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8738 arg2
= (long) SWIG_AsLong(obj1
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8750 resultobj
= t_output_helper(resultobj
,o
);
8753 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8754 resultobj
= t_output_helper(resultobj
,o
);
8762 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8769 (char *) "self",(char *) "pos", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 arg2
= (long) SWIG_AsLong(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->ShowPosition(arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8795 long *arg3
= (long *) 0 ;
8796 long *arg4
= (long *) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8804 (char *) "self",(char *) "pt", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_FromInt((int)result
);
8825 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8826 resultobj
= t_output_helper(resultobj
,o
);
8829 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8830 resultobj
= t_output_helper(resultobj
,o
);
8838 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8841 PyObject
* obj0
= 0 ;
8843 (char *) "self", NULL
8846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
8847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8856 Py_INCREF(Py_None
); resultobj
= Py_None
;
8863 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8866 PyObject
* obj0
= 0 ;
8868 (char *) "self", NULL
8871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
8872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8881 Py_INCREF(Py_None
); resultobj
= Py_None
;
8888 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
*resultobj
;
8890 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8891 PyObject
* obj0
= 0 ;
8893 (char *) "self", NULL
8896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
8897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8906 Py_INCREF(Py_None
); resultobj
= Py_None
;
8913 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8914 PyObject
*resultobj
;
8915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8917 PyObject
* obj0
= 0 ;
8919 (char *) "self", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
8929 wxPyEndAllowThreads(__tstate
);
8930 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8941 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8947 (char *) "self", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8969 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8997 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8998 PyObject
*resultobj
;
8999 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9000 PyObject
* obj0
= 0 ;
9002 (char *) "self", NULL
9005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 Py_INCREF(Py_None
); resultobj
= Py_None
;
9022 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9024 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9025 PyObject
* obj0
= 0 ;
9027 (char *) "self", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9047 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
;
9049 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9051 PyObject
* obj0
= 0 ;
9053 (char *) "self", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9103 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9104 PyObject
*resultobj
;
9105 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9107 PyObject
* obj0
= 0 ;
9108 PyObject
* obj1
= 0 ;
9110 (char *) "self",(char *) "pos", NULL
9113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9116 arg2
= (long) SWIG_AsLong(obj1
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 (arg1
)->SetInsertionPoint(arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 Py_INCREF(Py_None
); resultobj
= Py_None
;
9132 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
;
9134 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9135 PyObject
* obj0
= 0 ;
9137 (char *) "self", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 (arg1
)->SetInsertionPointEnd();
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) SWIG_fail
;
9150 Py_INCREF(Py_None
); resultobj
= Py_None
;
9157 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9158 PyObject
*resultobj
;
9159 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9161 PyObject
* obj0
= 0 ;
9163 (char *) "self", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9171 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_FromLong((long)result
);
9183 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9187 PyObject
* obj0
= 0 ;
9189 (char *) "self", NULL
9192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= SWIG_FromLong((long)result
);
9209 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 PyObject
* obj2
= 0 ;
9218 (char *) "self",(char *) "from",(char *) "to", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9224 arg2
= (long) SWIG_AsLong(obj1
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9226 arg3
= (long) SWIG_AsLong(obj2
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 (arg1
)->SetSelection(arg2
,arg3
);
9232 wxPyEndAllowThreads(__tstate
);
9233 if (PyErr_Occurred()) SWIG_fail
;
9235 Py_INCREF(Py_None
); resultobj
= Py_None
;
9242 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
*resultobj
;
9244 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 (arg1
)->SelectAll();
9257 wxPyEndAllowThreads(__tstate
);
9258 if (PyErr_Occurred()) SWIG_fail
;
9260 Py_INCREF(Py_None
); resultobj
= Py_None
;
9267 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9268 PyObject
*resultobj
;
9269 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9274 (char *) "self",(char *) "editable", NULL
9277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= (bool) SWIG_AsBool(obj1
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 (arg1
)->SetEditable(arg2
);
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 Py_INCREF(Py_None
); resultobj
= Py_None
;
9296 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9297 PyObject
*resultobj
;
9298 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9299 bool arg2
= (bool) True
;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9304 (char *) "self",(char *) "show", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 arg2
= (bool) SWIG_AsBool(obj1
);
9312 if (PyErr_Occurred()) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (bool)(arg1
)->HideNativeCaret();
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
;
9360 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9361 wxString
*arg2
= 0 ;
9362 bool temp2
= False
;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9366 (char *) "self",(char *) "text", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 arg2
= wxString_in_helper(obj1
);
9374 if (arg2
== NULL
) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 Py_INCREF(Py_None
); resultobj
= Py_None
;
9399 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9405 PyObject
* obj0
= 0 ;
9406 PyObject
* obj1
= 0 ;
9407 PyObject
* obj2
= 0 ;
9409 (char *) "self",(char *) "from",(char *) "to", NULL
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9415 arg2
= (long) SWIG_AsLong(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9417 arg3
= (long) SWIG_AsLong(obj2
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9439 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9442 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9444 return Py_BuildValue((char *)"");
9446 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9449 wxMouseEvent
*arg2
= 0 ;
9452 wxTextUrlEvent
*result
;
9453 PyObject
* obj0
= 0 ;
9454 PyObject
* obj1
= 0 ;
9455 PyObject
* obj2
= 0 ;
9456 PyObject
* obj3
= 0 ;
9458 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9462 arg1
= (int) SWIG_AsInt(obj0
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9468 PyErr_SetString(PyExc_TypeError
,"null reference");
9471 arg3
= (long) SWIG_AsLong(obj2
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9473 arg4
= (long) SWIG_AsLong(obj3
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9489 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9492 wxMouseEvent
*result
;
9493 PyObject
* obj0
= 0 ;
9495 (char *) "self", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9505 result
= (wxMouseEvent
*) &_result_ref
;
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9518 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9524 (char *) "self", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_FromLong((long)result
);
9544 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9550 (char *) "self", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_FromLong((long)result
);
9570 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9573 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9575 return Py_BuildValue((char *)"");
9577 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9578 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9583 static PyObject
*_wrap_ScrollBarNameStr_get() {
9588 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9590 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9597 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxWindow
*arg1
= (wxWindow
*) 0 ;
9600 int arg2
= (int) -1 ;
9601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9605 long arg5
= (long) wxSB_HORIZONTAL
;
9606 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9607 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9608 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9609 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9610 wxScrollBar
*result
;
9613 bool temp7
= False
;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9617 PyObject
* obj3
= 0 ;
9618 PyObject
* obj4
= 0 ;
9619 PyObject
* obj5
= 0 ;
9620 PyObject
* obj6
= 0 ;
9622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 arg2
= (int) SWIG_AsInt(obj1
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9645 arg5
= (long) SWIG_AsLong(obj4
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9649 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9653 PyErr_SetString(PyExc_TypeError
,"null reference");
9659 arg7
= wxString_in_helper(obj6
);
9660 if (arg7
== NULL
) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9686 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxScrollBar
*result
;
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (wxScrollBar
*)new wxScrollBar();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
9708 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9711 wxWindow
*arg2
= (wxWindow
*) 0 ;
9712 int arg3
= (int) -1 ;
9713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9717 long arg6
= (long) wxSB_HORIZONTAL
;
9718 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9719 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9720 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
9721 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9725 bool temp8
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9729 PyObject
* obj3
= 0 ;
9730 PyObject
* obj4
= 0 ;
9731 PyObject
* obj5
= 0 ;
9732 PyObject
* obj6
= 0 ;
9733 PyObject
* obj7
= 0 ;
9735 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9744 arg3
= (int) SWIG_AsInt(obj2
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9760 arg6
= (long) SWIG_AsLong(obj5
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
9765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9768 PyErr_SetString(PyExc_TypeError
,"null reference");
9774 arg8
= wxString_in_helper(obj7
);
9775 if (arg8
== NULL
) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9803 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_FromInt((int)result
);
9829 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_FromInt((int)result
);
9855 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_FromInt((int)result
);
9881 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "self", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_FromInt((int)result
);
9907 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
9917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9935 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9940 PyObject
* obj1
= 0 ;
9942 (char *) "self",(char *) "viewStart", NULL
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9948 arg2
= (int) SWIG_AsInt(obj1
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 (arg1
)->SetThumbPosition(arg2
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 Py_INCREF(Py_None
); resultobj
= Py_None
;
9964 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
9971 bool arg6
= (bool) True
;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9975 PyObject
* obj3
= 0 ;
9976 PyObject
* obj4
= 0 ;
9977 PyObject
* obj5
= 0 ;
9979 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9985 arg2
= (int) SWIG_AsInt(obj1
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9987 arg3
= (int) SWIG_AsInt(obj2
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9989 arg4
= (int) SWIG_AsInt(obj3
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9991 arg5
= (int) SWIG_AsInt(obj4
);
9992 if (PyErr_Occurred()) SWIG_fail
;
9994 arg6
= (bool) SWIG_AsBool(obj5
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10011 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10014 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10016 return Py_BuildValue((char *)"");
10018 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10019 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10024 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10029 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10031 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10038 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10039 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10044 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10049 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10051 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10058 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxWindow
*arg1
= (wxWindow
*) 0 ;
10061 int arg2
= (int) -1 ;
10062 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10063 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10064 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10065 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10066 long arg5
= (long) wxSP_HORIZONTAL
;
10067 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10068 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10069 wxSpinButton
*result
;
10072 bool temp6
= False
;
10073 PyObject
* obj0
= 0 ;
10074 PyObject
* obj1
= 0 ;
10075 PyObject
* obj2
= 0 ;
10076 PyObject
* obj3
= 0 ;
10077 PyObject
* obj4
= 0 ;
10078 PyObject
* obj5
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 arg2
= (int) SWIG_AsInt(obj1
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10093 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10099 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10103 arg5
= (long) SWIG_AsLong(obj4
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10108 arg6
= wxString_in_helper(obj5
);
10109 if (arg6
== NULL
) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10135 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxSpinButton
*result
;
10138 char *kwnames
[] = {
10142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= (wxSpinButton
*)new wxSpinButton();
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10157 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10160 wxWindow
*arg2
= (wxWindow
*) 0 ;
10161 int arg3
= (int) -1 ;
10162 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10163 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10164 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10165 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10166 long arg6
= (long) wxSP_HORIZONTAL
;
10167 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10168 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10172 bool temp7
= False
;
10173 PyObject
* obj0
= 0 ;
10174 PyObject
* obj1
= 0 ;
10175 PyObject
* obj2
= 0 ;
10176 PyObject
* obj3
= 0 ;
10177 PyObject
* obj4
= 0 ;
10178 PyObject
* obj5
= 0 ;
10179 PyObject
* obj6
= 0 ;
10180 char *kwnames
[] = {
10181 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 arg3
= (int) SWIG_AsInt(obj2
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10196 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10202 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10206 arg6
= (long) SWIG_AsLong(obj5
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10211 arg7
= wxString_in_helper(obj6
);
10212 if (arg7
== NULL
) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10240 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= SWIG_FromInt((int)result
);
10266 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 char *kwnames
[] = {
10272 (char *) "self", NULL
10275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10280 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10282 wxPyEndAllowThreads(__tstate
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10285 resultobj
= SWIG_FromInt((int)result
);
10292 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10296 PyObject
* obj0
= 0 ;
10297 char *kwnames
[] = {
10298 (char *) "self", NULL
10301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10306 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10311 resultobj
= SWIG_FromInt((int)result
);
10318 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10319 PyObject
*resultobj
;
10320 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char *kwnames
[] = {
10325 (char *) "self",(char *) "val", NULL
10328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10331 arg2
= (int) SWIG_AsInt(obj1
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 (arg1
)->SetValue(arg2
);
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 Py_INCREF(Py_None
); resultobj
= Py_None
;
10347 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 PyObject
* obj1
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self",(char *) "minVal", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 arg2
= (int) SWIG_AsInt(obj1
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 (arg1
)->SetMin(arg2
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 Py_INCREF(Py_None
); resultobj
= Py_None
;
10376 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "maxVal", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 arg2
= (int) SWIG_AsInt(obj1
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 (arg1
)->SetMax(arg2
);
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 Py_INCREF(Py_None
); resultobj
= Py_None
;
10405 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 PyObject
* obj1
= 0 ;
10412 PyObject
* obj2
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10420 arg2
= (int) SWIG_AsInt(obj1
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10422 arg3
= (int) SWIG_AsInt(obj2
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 (arg1
)->SetRange(arg2
,arg3
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 Py_INCREF(Py_None
); resultobj
= Py_None
;
10438 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10466 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10469 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10471 return Py_BuildValue((char *)"");
10473 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxWindow
*arg1
= (wxWindow
*) 0 ;
10476 int arg2
= (int) -1 ;
10477 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10478 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10479 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10480 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10481 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10482 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10483 long arg6
= (long) wxSP_ARROW_KEYS
;
10484 int arg7
= (int) 0 ;
10485 int arg8
= (int) 100 ;
10486 int arg9
= (int) 0 ;
10487 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10488 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10489 wxSpinCtrl
*result
;
10490 bool temp3
= False
;
10493 bool temp10
= False
;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 PyObject
* obj4
= 0 ;
10499 PyObject
* obj5
= 0 ;
10500 PyObject
* obj6
= 0 ;
10501 PyObject
* obj7
= 0 ;
10502 PyObject
* obj8
= 0 ;
10503 PyObject
* obj9
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10512 arg2
= (int) SWIG_AsInt(obj1
);
10513 if (PyErr_Occurred()) SWIG_fail
;
10517 arg3
= wxString_in_helper(obj2
);
10518 if (arg3
== NULL
) SWIG_fail
;
10525 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10531 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10535 arg6
= (long) SWIG_AsLong(obj5
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10539 arg7
= (int) SWIG_AsInt(obj6
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10543 arg8
= (int) SWIG_AsInt(obj7
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 arg9
= (int) SWIG_AsInt(obj8
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10552 arg10
= wxString_in_helper(obj9
);
10553 if (arg10
== NULL
) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10587 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10588 PyObject
*resultobj
;
10589 wxSpinCtrl
*result
;
10590 char *kwnames
[] = {
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10609 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10612 wxWindow
*arg2
= (wxWindow
*) 0 ;
10613 int arg3
= (int) -1 ;
10614 wxString
const &arg4_defvalue
= wxPyEmptyString
;
10615 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
10616 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
10617 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
10618 wxSize
const &arg6_defvalue
= wxDefaultSize
;
10619 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
10620 long arg7
= (long) wxSP_ARROW_KEYS
;
10621 int arg8
= (int) 0 ;
10622 int arg9
= (int) 100 ;
10623 int arg10
= (int) 0 ;
10624 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
10625 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
10627 bool temp4
= False
;
10630 bool temp11
= False
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 PyObject
* obj3
= 0 ;
10635 PyObject
* obj4
= 0 ;
10636 PyObject
* obj5
= 0 ;
10637 PyObject
* obj6
= 0 ;
10638 PyObject
* obj7
= 0 ;
10639 PyObject
* obj8
= 0 ;
10640 PyObject
* obj9
= 0 ;
10641 PyObject
* obj10
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 arg3
= (int) SWIG_AsInt(obj2
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10657 arg4
= wxString_in_helper(obj3
);
10658 if (arg4
== NULL
) SWIG_fail
;
10665 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
10671 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
10675 arg7
= (long) SWIG_AsLong(obj6
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10679 arg8
= (int) SWIG_AsInt(obj7
);
10680 if (PyErr_Occurred()) SWIG_fail
;
10683 arg9
= (int) SWIG_AsInt(obj8
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10687 arg10
= (int) SWIG_AsInt(obj9
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10692 arg11
= wxString_in_helper(obj10
);
10693 if (arg11
== NULL
) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10748 resultobj
= SWIG_FromInt((int)result
);
10755 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10759 PyObject
* obj0
= 0 ;
10760 PyObject
* obj1
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "value", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 arg2
= (int) SWIG_AsInt(obj1
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetValue(arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 Py_INCREF(Py_None
); resultobj
= Py_None
;
10784 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10787 wxString
*arg2
= 0 ;
10788 bool temp2
= False
;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "text", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 arg2
= wxString_in_helper(obj1
);
10800 if (arg2
== NULL
) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetValue((wxString
const &)*arg2
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10830 PyObject
* obj0
= 0 ;
10831 PyObject
* obj1
= 0 ;
10832 PyObject
* obj2
= 0 ;
10833 char *kwnames
[] = {
10834 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10840 arg2
= (int) SWIG_AsInt(obj1
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10842 arg3
= (int) SWIG_AsInt(obj2
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetRange(arg2
,arg3
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 Py_INCREF(Py_None
); resultobj
= Py_None
;
10858 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10859 PyObject
*resultobj
;
10860 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10862 PyObject
* obj0
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10872 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
10874 wxPyEndAllowThreads(__tstate
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= SWIG_FromInt((int)result
);
10884 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
;
10886 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10888 PyObject
* obj0
= 0 ;
10889 char *kwnames
[] = {
10890 (char *) "self", NULL
10893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
10894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
10900 wxPyEndAllowThreads(__tstate
);
10901 if (PyErr_Occurred()) SWIG_fail
;
10903 resultobj
= SWIG_FromInt((int)result
);
10910 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10911 PyObject
*resultobj
;
10912 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 PyObject
* obj2
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "from",(char *) "to", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 arg2
= (long) SWIG_AsLong(obj1
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10927 arg3
= (long) SWIG_AsLong(obj2
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 (arg1
)->SetSelection(arg2
,arg3
);
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 Py_INCREF(Py_None
); resultobj
= Py_None
;
10943 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
10945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10946 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
10948 return Py_BuildValue((char *)"");
10950 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10953 int arg2
= (int) 0 ;
10954 wxSpinEvent
*result
;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 char *kwnames
[] = {
10958 (char *) "commandType",(char *) "winid", NULL
10961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10963 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10964 if (PyErr_Occurred()) SWIG_fail
;
10967 arg2
= (int) SWIG_AsInt(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
10984 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= SWIG_FromInt((int)result
);
11010 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 PyObject
* obj1
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self",(char *) "pos", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11023 arg2
= (int) SWIG_AsInt(obj1
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->SetPosition(arg2
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11042 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11044 return Py_BuildValue((char *)"");
11046 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11047 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11052 static PyObject
*_wrap_RadioBoxNameStr_get() {
11057 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11059 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11066 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11067 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11072 static PyObject
*_wrap_RadioButtonNameStr_get() {
11077 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11079 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11086 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxWindow
*arg1
= (wxWindow
*) 0 ;
11090 wxString
*arg3
= 0 ;
11091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11095 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11096 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11097 int arg7
= (int) 0 ;
11098 long arg8
= (long) wxRA_HORIZONTAL
;
11099 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11100 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11101 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11102 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11103 wxRadioBox
*result
;
11104 bool temp3
= False
;
11107 bool temp6
= False
;
11108 bool temp10
= False
;
11109 PyObject
* obj0
= 0 ;
11110 PyObject
* obj1
= 0 ;
11111 PyObject
* obj2
= 0 ;
11112 PyObject
* obj3
= 0 ;
11113 PyObject
* obj4
= 0 ;
11114 PyObject
* obj5
= 0 ;
11115 PyObject
* obj6
= 0 ;
11116 PyObject
* obj7
= 0 ;
11117 PyObject
* obj8
= 0 ;
11118 PyObject
* obj9
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg2
= (int) SWIG_AsInt(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 arg3
= wxString_in_helper(obj2
);
11130 if (arg3
== NULL
) SWIG_fail
;
11136 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11142 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11147 if (! PySequence_Check(obj5
)) {
11148 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11151 arg6
= new wxArrayString
;
11153 int i
, len
=PySequence_Length(obj5
);
11154 for (i
=0; i
<len
; i
++) {
11155 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11157 PyObject
* str
= PyObject_Unicode(item
);
11159 PyObject
* str
= PyObject_Str(item
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11162 arg6
->Add(Py2wxString(str
));
11169 arg7
= (int) SWIG_AsInt(obj6
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 arg8
= (long) SWIG_AsLong(obj7
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11180 if (arg9
== NULL
) {
11181 PyErr_SetString(PyExc_TypeError
,"null reference");
11187 arg10
= wxString_in_helper(obj9
);
11188 if (arg10
== NULL
) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 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
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11205 if (temp6
) delete arg6
;
11218 if (temp6
) delete arg6
;
11228 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxRadioBox
*result
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 result
= (wxRadioBox
*)new wxRadioBox();
11240 wxPyEndAllowThreads(__tstate
);
11241 if (PyErr_Occurred()) SWIG_fail
;
11243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11250 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11253 wxWindow
*arg2
= (wxWindow
*) 0 ;
11255 wxString
*arg4
= 0 ;
11256 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11257 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11258 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11259 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11260 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11261 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11262 int arg8
= (int) 0 ;
11263 long arg9
= (long) wxRA_HORIZONTAL
;
11264 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11265 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11266 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11267 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11269 bool temp4
= False
;
11272 bool temp7
= False
;
11273 bool temp11
= False
;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 PyObject
* obj2
= 0 ;
11277 PyObject
* obj3
= 0 ;
11278 PyObject
* obj4
= 0 ;
11279 PyObject
* obj5
= 0 ;
11280 PyObject
* obj6
= 0 ;
11281 PyObject
* obj7
= 0 ;
11282 PyObject
* obj8
= 0 ;
11283 PyObject
* obj9
= 0 ;
11284 PyObject
* obj10
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 arg3
= (int) SWIG_AsInt(obj2
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 arg4
= wxString_in_helper(obj3
);
11298 if (arg4
== NULL
) SWIG_fail
;
11304 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11310 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11315 if (! PySequence_Check(obj6
)) {
11316 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11319 arg7
= new wxArrayString
;
11321 int i
, len
=PySequence_Length(obj6
);
11322 for (i
=0; i
<len
; i
++) {
11323 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11325 PyObject
* str
= PyObject_Unicode(item
);
11327 PyObject
* str
= PyObject_Str(item
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11330 arg7
->Add(Py2wxString(str
));
11337 arg8
= (int) SWIG_AsInt(obj7
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 arg9
= (long) SWIG_AsLong(obj8
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11345 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11346 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11348 if (arg10
== NULL
) {
11349 PyErr_SetString(PyExc_TypeError
,"null reference");
11355 arg11
= wxString_in_helper(obj10
);
11356 if (arg11
== NULL
) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 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
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11375 if (temp7
) delete arg7
;
11388 if (temp7
) delete arg7
;
11398 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 PyObject
* obj1
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self",(char *) "n", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11411 arg2
= (int) SWIG_AsInt(obj1
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->SetSelection(arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_FromInt((int)result
);
11453 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11454 PyObject
*resultobj
;
11455 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11457 PyObject
* obj0
= 0 ;
11458 char *kwnames
[] = {
11459 (char *) "self", NULL
11462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11467 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11469 wxPyEndAllowThreads(__tstate
);
11470 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11485 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11486 PyObject
*resultobj
;
11487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11488 wxString
*arg2
= 0 ;
11490 bool temp2
= False
;
11491 PyObject
* obj0
= 0 ;
11492 PyObject
* obj1
= 0 ;
11493 char *kwnames
[] = {
11494 (char *) "self",(char *) "s", NULL
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11501 arg2
= wxString_in_helper(obj1
);
11502 if (arg2
== NULL
) SWIG_fail
;
11506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11507 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11529 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_FromInt((int)result
);
11555 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11558 wxString
*arg2
= 0 ;
11560 bool temp2
= False
;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 char *kwnames
[] = {
11564 (char *) "self",(char *) "s", NULL
11567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11571 arg2
= wxString_in_helper(obj1
);
11572 if (arg2
== NULL
) SWIG_fail
;
11576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11577 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_FromInt((int)result
);
11597 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11602 PyObject
* obj0
= 0 ;
11603 PyObject
* obj1
= 0 ;
11604 char *kwnames
[] = {
11605 (char *) "self",(char *) "n", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11611 arg2
= (int) SWIG_AsInt(obj1
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11615 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11633 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11637 wxString
*arg3
= 0 ;
11638 bool temp3
= False
;
11639 PyObject
* obj0
= 0 ;
11640 PyObject
* obj1
= 0 ;
11641 PyObject
* obj2
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self",(char *) "n",(char *) "label", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11649 arg2
= (int) SWIG_AsInt(obj1
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 arg3
= wxString_in_helper(obj2
);
11653 if (arg3
== NULL
) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 Py_INCREF(Py_None
); resultobj
= Py_None
;
11678 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11682 bool arg3
= (bool) True
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "n",(char *) "enable", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= (int) SWIG_AsInt(obj1
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 arg3
= (bool) SWIG_AsBool(obj2
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->Enable(arg2
,arg3
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11714 PyObject
*resultobj
;
11715 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11717 bool arg3
= (bool) True
;
11718 PyObject
* obj0
= 0 ;
11719 PyObject
* obj1
= 0 ;
11720 PyObject
* obj2
= 0 ;
11721 char *kwnames
[] = {
11722 (char *) "self",(char *) "n",(char *) "show", NULL
11725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11728 arg2
= (int) SWIG_AsInt(obj1
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11731 arg3
= (bool) SWIG_AsBool(obj2
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->Show(arg2
,arg3
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11752 PyObject
* obj0
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_FromInt((int)result
);
11774 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11775 PyObject
*resultobj
;
11776 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 char *kwnames
[] = {
11780 (char *) "self", NULL
11783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
11784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11788 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_FromInt((int)result
);
11800 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
;
11802 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11807 PyObject
* obj0
= 0 ;
11808 PyObject
* obj1
= 0 ;
11809 PyObject
* obj2
= 0 ;
11810 PyObject
* obj3
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 arg2
= (int) SWIG_AsInt(obj1
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11820 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11822 arg4
= (long) SWIG_AsLong(obj3
);
11823 if (PyErr_Occurred()) SWIG_fail
;
11825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11826 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_FromInt((int)result
);
11838 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
11840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11841 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
11843 return Py_BuildValue((char *)"");
11845 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11846 PyObject
*resultobj
;
11847 wxWindow
*arg1
= (wxWindow
*) 0 ;
11849 wxString
*arg3
= 0 ;
11850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11854 long arg6
= (long) 0 ;
11855 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11856 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11857 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
11858 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11859 wxRadioButton
*result
;
11860 bool temp3
= False
;
11863 bool temp8
= False
;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 PyObject
* obj2
= 0 ;
11867 PyObject
* obj3
= 0 ;
11868 PyObject
* obj4
= 0 ;
11869 PyObject
* obj5
= 0 ;
11870 PyObject
* obj6
= 0 ;
11871 PyObject
* obj7
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11879 arg2
= (int) SWIG_AsInt(obj1
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 arg3
= wxString_in_helper(obj2
);
11883 if (arg3
== NULL
) SWIG_fail
;
11889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11899 arg6
= (long) SWIG_AsLong(obj5
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
11904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11906 if (arg7
== NULL
) {
11907 PyErr_SetString(PyExc_TypeError
,"null reference");
11913 arg8
= wxString_in_helper(obj7
);
11914 if (arg8
== NULL
) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11948 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxRadioButton
*result
;
11951 char *kwnames
[] = {
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 result
= (wxRadioButton
*)new wxRadioButton();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
11970 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
11973 wxWindow
*arg2
= (wxWindow
*) 0 ;
11975 wxString
*arg4
= 0 ;
11976 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11977 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11978 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11979 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11980 long arg7
= (long) 0 ;
11981 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11982 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11983 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
11984 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11986 bool temp4
= False
;
11989 bool temp9
= False
;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 PyObject
* obj2
= 0 ;
11993 PyObject
* obj3
= 0 ;
11994 PyObject
* obj4
= 0 ;
11995 PyObject
* obj5
= 0 ;
11996 PyObject
* obj6
= 0 ;
11997 PyObject
* obj7
= 0 ;
11998 PyObject
* obj8
= 0 ;
11999 char *kwnames
[] = {
12000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12008 arg3
= (int) SWIG_AsInt(obj2
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 arg4
= wxString_in_helper(obj3
);
12012 if (arg4
== NULL
) SWIG_fail
;
12018 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12024 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12028 arg7
= (long) SWIG_AsLong(obj6
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12035 if (arg8
== NULL
) {
12036 PyErr_SetString(PyExc_TypeError
,"null reference");
12042 arg9
= wxString_in_helper(obj8
);
12043 if (arg9
== NULL
) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12079 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 result
= (bool)(arg1
)->GetValue();
12095 wxPyEndAllowThreads(__tstate
);
12096 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12107 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12108 PyObject
*resultobj
;
12109 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 PyObject
* obj1
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self",(char *) "value", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12120 arg2
= (bool) SWIG_AsBool(obj1
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 (arg1
)->SetValue(arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12139 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12141 return Py_BuildValue((char *)"");
12143 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12144 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12149 static PyObject
*_wrap_SliderNameStr_get() {
12154 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12156 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12163 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxWindow
*arg1
= (wxWindow
*) 0 ;
12170 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12171 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12172 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12173 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12174 long arg8
= (long) wxSL_HORIZONTAL
;
12175 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12176 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12177 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12178 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12182 bool temp10
= False
;
12183 PyObject
* obj0
= 0 ;
12184 PyObject
* obj1
= 0 ;
12185 PyObject
* obj2
= 0 ;
12186 PyObject
* obj3
= 0 ;
12187 PyObject
* obj4
= 0 ;
12188 PyObject
* obj5
= 0 ;
12189 PyObject
* obj6
= 0 ;
12190 PyObject
* obj7
= 0 ;
12191 PyObject
* obj8
= 0 ;
12192 PyObject
* obj9
= 0 ;
12193 char *kwnames
[] = {
12194 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12200 arg2
= (int) SWIG_AsInt(obj1
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12202 arg3
= (int) SWIG_AsInt(obj2
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12204 arg4
= (int) SWIG_AsInt(obj3
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12206 arg5
= (int) SWIG_AsInt(obj4
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12211 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12217 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12221 arg8
= (long) SWIG_AsLong(obj7
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12225 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12226 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12228 if (arg9
== NULL
) {
12229 PyErr_SetString(PyExc_TypeError
,"null reference");
12235 arg10
= wxString_in_helper(obj9
);
12236 if (arg10
== NULL
) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12262 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12265 char *kwnames
[] = {
12269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 result
= (wxSlider
*)new wxSlider();
12274 wxPyEndAllowThreads(__tstate
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12284 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxSlider
*arg1
= (wxSlider
*) 0 ;
12287 wxWindow
*arg2
= (wxWindow
*) 0 ;
12292 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12293 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12294 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12295 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12296 long arg9
= (long) wxSL_HORIZONTAL
;
12297 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12298 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12299 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12300 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12304 bool temp11
= False
;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 PyObject
* obj2
= 0 ;
12308 PyObject
* obj3
= 0 ;
12309 PyObject
* obj4
= 0 ;
12310 PyObject
* obj5
= 0 ;
12311 PyObject
* obj6
= 0 ;
12312 PyObject
* obj7
= 0 ;
12313 PyObject
* obj8
= 0 ;
12314 PyObject
* obj9
= 0 ;
12315 PyObject
* obj10
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12325 arg3
= (int) SWIG_AsInt(obj2
);
12326 if (PyErr_Occurred()) SWIG_fail
;
12327 arg4
= (int) SWIG_AsInt(obj3
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12329 arg5
= (int) SWIG_AsInt(obj4
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12331 arg6
= (int) SWIG_AsInt(obj5
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12336 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12342 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12346 arg9
= (long) SWIG_AsLong(obj8
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12350 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12353 if (arg10
== NULL
) {
12354 PyErr_SetString(PyExc_TypeError
,"null reference");
12360 arg11
= wxString_in_helper(obj10
);
12361 if (arg11
== NULL
) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12389 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxSlider
*arg1
= (wxSlider
*) 0 ;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "self", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_FromInt((int)result
);
12415 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxSlider
*arg1
= (wxSlider
*) 0 ;
12419 PyObject
* obj0
= 0 ;
12420 PyObject
* obj1
= 0 ;
12421 char *kwnames
[] = {
12422 (char *) "self",(char *) "value", NULL
12425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12428 arg2
= (int) SWIG_AsInt(obj1
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 (arg1
)->SetValue(arg2
);
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12437 Py_INCREF(Py_None
); resultobj
= Py_None
;
12444 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxSlider
*arg1
= (wxSlider
*) 0 ;
12449 PyObject
* obj0
= 0 ;
12450 PyObject
* obj1
= 0 ;
12451 PyObject
* obj2
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (int) SWIG_AsInt(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12461 arg3
= (int) SWIG_AsInt(obj2
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12465 (arg1
)->SetRange(arg2
,arg3
);
12467 wxPyEndAllowThreads(__tstate
);
12468 if (PyErr_Occurred()) SWIG_fail
;
12470 Py_INCREF(Py_None
); resultobj
= Py_None
;
12477 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12478 PyObject
*resultobj
;
12479 wxSlider
*arg1
= (wxSlider
*) 0 ;
12481 PyObject
* obj0
= 0 ;
12482 char *kwnames
[] = {
12483 (char *) "self", NULL
12486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12491 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12493 wxPyEndAllowThreads(__tstate
);
12494 if (PyErr_Occurred()) SWIG_fail
;
12496 resultobj
= SWIG_FromInt((int)result
);
12503 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12504 PyObject
*resultobj
;
12505 wxSlider
*arg1
= (wxSlider
*) 0 ;
12507 PyObject
* obj0
= 0 ;
12508 char *kwnames
[] = {
12509 (char *) "self", NULL
12512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
12513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (int)((wxSlider
const *)arg1
)->GetMax();
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= SWIG_FromInt((int)result
);
12529 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxSlider
*arg1
= (wxSlider
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 PyObject
* obj1
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self",(char *) "minValue", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 arg2
= (int) SWIG_AsInt(obj1
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetMin(arg2
);
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 Py_INCREF(Py_None
); resultobj
= Py_None
;
12558 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxSlider
*arg1
= (wxSlider
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 PyObject
* obj1
= 0 ;
12564 char *kwnames
[] = {
12565 (char *) "self",(char *) "maxValue", NULL
12568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
12569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12571 arg2
= (int) SWIG_AsInt(obj1
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 (arg1
)->SetMax(arg2
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 Py_INCREF(Py_None
); resultobj
= Py_None
;
12587 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxSlider
*arg1
= (wxSlider
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 PyObject
* obj1
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self",(char *) "lineSize", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12600 arg2
= (int) SWIG_AsInt(obj1
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 (arg1
)->SetLineSize(arg2
);
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 Py_INCREF(Py_None
); resultobj
= Py_None
;
12616 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxSlider
*arg1
= (wxSlider
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 PyObject
* obj1
= 0 ;
12622 char *kwnames
[] = {
12623 (char *) "self",(char *) "pageSize", NULL
12626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
12627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12629 arg2
= (int) SWIG_AsInt(obj1
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 (arg1
)->SetPageSize(arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 Py_INCREF(Py_None
); resultobj
= Py_None
;
12645 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
;
12647 wxSlider
*arg1
= (wxSlider
*) 0 ;
12649 PyObject
* obj0
= 0 ;
12650 char *kwnames
[] = {
12651 (char *) "self", NULL
12654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
12655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12659 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12664 resultobj
= SWIG_FromInt((int)result
);
12671 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12672 PyObject
*resultobj
;
12673 wxSlider
*arg1
= (wxSlider
*) 0 ;
12675 PyObject
* obj0
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "self", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_FromInt((int)result
);
12697 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxSlider
*arg1
= (wxSlider
*) 0 ;
12701 PyObject
* obj0
= 0 ;
12702 PyObject
* obj1
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self",(char *) "lenPixels", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12710 arg2
= (int) SWIG_AsInt(obj1
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12714 (arg1
)->SetThumbLength(arg2
);
12716 wxPyEndAllowThreads(__tstate
);
12717 if (PyErr_Occurred()) SWIG_fail
;
12719 Py_INCREF(Py_None
); resultobj
= Py_None
;
12726 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxSlider
*arg1
= (wxSlider
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_FromInt((int)result
);
12752 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxSlider
*arg1
= (wxSlider
*) 0 ;
12756 int arg3
= (int) 1 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "n",(char *) "pos", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= (int) SWIG_AsInt(obj1
);
12768 if (PyErr_Occurred()) SWIG_fail
;
12770 arg3
= (int) SWIG_AsInt(obj2
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 (arg1
)->SetTickFreq(arg2
,arg3
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12780 Py_INCREF(Py_None
); resultobj
= Py_None
;
12787 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxSlider
*arg1
= (wxSlider
*) 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_FromInt((int)result
);
12813 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxSlider
*arg1
= (wxSlider
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 (arg1
)->ClearTicks();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 Py_INCREF(Py_None
); resultobj
= Py_None
;
12838 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxSlider
*arg1
= (wxSlider
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 PyObject
* obj1
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self",(char *) "tickPos", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12851 arg2
= (int) SWIG_AsInt(obj1
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12855 (arg1
)->SetTick(arg2
);
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxSlider
*arg1
= (wxSlider
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->ClearSel();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12892 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxSlider
*arg1
= (wxSlider
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_FromInt((int)result
);
12918 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxSlider
*arg1
= (wxSlider
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_FromInt((int)result
);
12944 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxSlider
*arg1
= (wxSlider
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 PyObject
* obj2
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "self",(char *) "min",(char *) "max", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 arg2
= (int) SWIG_AsInt(obj1
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12961 arg3
= (int) SWIG_AsInt(obj2
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->SetSelection(arg2
,arg3
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 Py_INCREF(Py_None
); resultobj
= Py_None
;
12977 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
12979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12980 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
12982 return Py_BuildValue((char *)"");
12984 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
12985 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
12990 static PyObject
*_wrap_ToggleButtonNameStr_get() {
12995 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
12997 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13004 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxWindow
*arg1
= (wxWindow
*) 0 ;
13008 wxString
*arg3
= 0 ;
13009 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13010 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13011 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13012 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13013 long arg6
= (long) 0 ;
13014 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13015 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13016 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13018 wxToggleButton
*result
;
13019 bool temp3
= False
;
13022 bool temp8
= False
;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 PyObject
* obj3
= 0 ;
13027 PyObject
* obj4
= 0 ;
13028 PyObject
* obj5
= 0 ;
13029 PyObject
* obj6
= 0 ;
13030 PyObject
* obj7
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13038 arg2
= (int) SWIG_AsInt(obj1
);
13039 if (PyErr_Occurred()) SWIG_fail
;
13041 arg3
= wxString_in_helper(obj2
);
13042 if (arg3
== NULL
) SWIG_fail
;
13048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13058 arg6
= (long) SWIG_AsLong(obj5
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13065 if (arg7
== NULL
) {
13066 PyErr_SetString(PyExc_TypeError
,"null reference");
13072 arg8
= wxString_in_helper(obj7
);
13073 if (arg8
== NULL
) SWIG_fail
;
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13107 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxToggleButton
*result
;
13110 char *kwnames
[] = {
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxToggleButton
*)new wxToggleButton();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13129 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13132 wxWindow
*arg2
= (wxWindow
*) 0 ;
13134 wxString
*arg4
= 0 ;
13135 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13136 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13137 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13138 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13139 long arg7
= (long) 0 ;
13140 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13141 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13142 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13143 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13145 bool temp4
= False
;
13148 bool temp9
= False
;
13149 PyObject
* obj0
= 0 ;
13150 PyObject
* obj1
= 0 ;
13151 PyObject
* obj2
= 0 ;
13152 PyObject
* obj3
= 0 ;
13153 PyObject
* obj4
= 0 ;
13154 PyObject
* obj5
= 0 ;
13155 PyObject
* obj6
= 0 ;
13156 PyObject
* obj7
= 0 ;
13157 PyObject
* obj8
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13167 arg3
= (int) SWIG_AsInt(obj2
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 arg4
= wxString_in_helper(obj3
);
13171 if (arg4
== NULL
) SWIG_fail
;
13177 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13183 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13187 arg7
= (long) SWIG_AsLong(obj6
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13191 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13194 if (arg8
== NULL
) {
13195 PyErr_SetString(PyExc_TypeError
,"null reference");
13201 arg9
= wxString_in_helper(obj8
);
13202 if (arg9
== NULL
) SWIG_fail
;
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13238 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self",(char *) "value", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13251 arg2
= (bool) SWIG_AsBool(obj1
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 (arg1
)->SetValue(arg2
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 Py_INCREF(Py_None
); resultobj
= Py_None
;
13267 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13295 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13298 wxString
*arg2
= 0 ;
13299 bool temp2
= False
;
13300 PyObject
* obj0
= 0 ;
13301 PyObject
* obj1
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self",(char *) "label", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13310 arg2
= wxString_in_helper(obj1
);
13311 if (arg2
== NULL
) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 (arg1
)->SetLabel((wxString
const &)*arg2
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13339 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13341 return Py_BuildValue((char *)"");
13343 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13344 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13349 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13354 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13356 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13363 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13377 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13389 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
;
13391 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "n", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13403 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13407 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= wxPyMake_wxObject(result
);
13421 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13422 PyObject
*resultobj
;
13423 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13425 PyObject
* obj0
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_FromInt((int)result
);
13447 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13451 wxString
*arg3
= 0 ;
13453 bool temp3
= False
;
13454 PyObject
* obj0
= 0 ;
13455 PyObject
* obj1
= 0 ;
13456 PyObject
* obj2
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "n",(char *) "strText", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 arg3
= wxString_in_helper(obj2
);
13468 if (arg3
== NULL
) SWIG_fail
;
13472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13473 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13495 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 PyObject
* obj1
= 0 ;
13502 char *kwnames
[] = {
13503 (char *) "self",(char *) "n", NULL
13506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
13507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13509 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13510 if (PyErr_Occurred()) SWIG_fail
;
13512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13513 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
13515 wxPyEndAllowThreads(__tstate
);
13516 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13531 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13534 wxImageList
*arg2
= (wxImageList
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self",(char *) "imageList", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 (arg1
)->SetImageList(arg2
);
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 Py_INCREF(Py_None
); resultobj
= Py_None
;
13560 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13563 wxImageList
*arg2
= (wxImageList
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 PyObject
* obj1
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "imageList", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
13574 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 (arg1
)->AssignImageList(arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 Py_INCREF(Py_None
); resultobj
= Py_None
;
13589 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13592 wxImageList
*result
;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= wxPyMake_wxObject(result
);
13617 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13618 PyObject
*resultobj
;
13619 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "n", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= SWIG_FromInt((int)result
);
13647 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 PyObject
* obj1
= 0 ;
13655 PyObject
* obj2
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "n",(char *) "imageId", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13665 arg3
= (int) SWIG_AsInt(obj2
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13683 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 PyObject
* obj1
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self",(char *) "size", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13703 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
13705 wxPyEndAllowThreads(__tstate
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 Py_INCREF(Py_None
); resultobj
= Py_None
;
13715 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 char *kwnames
[] = {
13724 (char *) "self",(char *) "sizePage", NULL
13727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13736 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
13738 wxPyEndAllowThreads(__tstate
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13742 wxSize
* resultptr
;
13743 resultptr
= new wxSize((wxSize
&) result
);
13744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
13752 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13757 PyObject
* obj0
= 0 ;
13758 PyObject
* obj1
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self",(char *) "n", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13766 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (bool)(arg1
)->DeletePage(arg2
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13784 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self",(char *) "n", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13798 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (bool)(arg1
)->RemovePage(arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13816 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (bool)(arg1
)->DeleteAllPages();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13844 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13847 wxWindow
*arg2
= (wxWindow
*) 0 ;
13848 wxString
*arg3
= 0 ;
13849 bool arg4
= (bool) False
;
13850 int arg5
= (int) -1 ;
13852 bool temp3
= False
;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 PyObject
* obj2
= 0 ;
13856 PyObject
* obj3
= 0 ;
13857 PyObject
* obj4
= 0 ;
13858 char *kwnames
[] = {
13859 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 arg3
= wxString_in_helper(obj2
);
13869 if (arg3
== NULL
) SWIG_fail
;
13873 arg4
= (bool) SWIG_AsBool(obj3
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 arg5
= (int) SWIG_AsInt(obj4
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13904 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13905 PyObject
*resultobj
;
13906 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13908 wxWindow
*arg3
= (wxWindow
*) 0 ;
13909 wxString
*arg4
= 0 ;
13910 bool arg5
= (bool) False
;
13911 int arg6
= (int) -1 ;
13913 bool temp4
= False
;
13914 PyObject
* obj0
= 0 ;
13915 PyObject
* obj1
= 0 ;
13916 PyObject
* obj2
= 0 ;
13917 PyObject
* obj3
= 0 ;
13918 PyObject
* obj4
= 0 ;
13919 PyObject
* obj5
= 0 ;
13920 char *kwnames
[] = {
13921 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13929 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
13930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13932 arg4
= wxString_in_helper(obj3
);
13933 if (arg4
== NULL
) SWIG_fail
;
13937 arg5
= (bool) SWIG_AsBool(obj4
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13941 arg6
= (int) SWIG_AsInt(obj5
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
13948 wxPyEndAllowThreads(__tstate
);
13949 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13969 PyObject
*resultobj
;
13970 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 char *kwnames
[] = {
13976 (char *) "self",(char *) "n", NULL
13979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13982 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13983 if (PyErr_Occurred()) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (int)(arg1
)->SetSelection(arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_FromInt((int)result
);
13998 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14001 bool arg2
= (bool) True
;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self",(char *) "forward", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 arg2
= (bool) SWIG_AsBool(obj1
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 (arg1
)->AdvanceSelection(arg2
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14029 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14032 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14034 return Py_BuildValue((char *)"");
14036 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14039 int arg2
= (int) 0 ;
14040 int arg3
= (int) -1 ;
14041 int arg4
= (int) -1 ;
14042 wxBookCtrlEvent
*result
;
14043 PyObject
* obj0
= 0 ;
14044 PyObject
* obj1
= 0 ;
14045 PyObject
* obj2
= 0 ;
14046 PyObject
* obj3
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14053 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14057 arg2
= (int) SWIG_AsInt(obj1
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 arg3
= (int) SWIG_AsInt(obj2
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 arg4
= (int) SWIG_AsInt(obj3
);
14066 if (PyErr_Occurred()) SWIG_fail
;
14069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14070 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14082 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14096 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14098 wxPyEndAllowThreads(__tstate
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14101 resultobj
= SWIG_FromInt((int)result
);
14108 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14109 PyObject
*resultobj
;
14110 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "nSel", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 arg2
= (int) SWIG_AsInt(obj1
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 (arg1
)->SetSelection(arg2
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 Py_INCREF(Py_None
); resultobj
= Py_None
;
14137 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 char *kwnames
[] = {
14143 (char *) "self", NULL
14146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_FromInt((int)result
);
14163 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 PyObject
* obj1
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "self",(char *) "nOldSel", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 arg2
= (int) SWIG_AsInt(obj1
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 (arg1
)->SetOldSelection(arg2
);
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 Py_INCREF(Py_None
); resultobj
= Py_None
;
14192 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14197 return Py_BuildValue((char *)"");
14199 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14200 PyObject
*resultobj
;
14201 wxWindow
*arg1
= (wxWindow
*) 0 ;
14202 int arg2
= (int) -1 ;
14203 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14204 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14205 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14206 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14207 long arg5
= (long) 0 ;
14208 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14209 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14210 wxNotebook
*result
;
14213 bool temp6
= False
;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 PyObject
* obj2
= 0 ;
14217 PyObject
* obj3
= 0 ;
14218 PyObject
* obj4
= 0 ;
14219 PyObject
* obj5
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14228 arg2
= (int) SWIG_AsInt(obj1
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14234 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14240 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14244 arg5
= (long) SWIG_AsLong(obj4
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14249 arg6
= wxString_in_helper(obj5
);
14250 if (arg6
== NULL
) SWIG_fail
;
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14258 wxPyEndAllowThreads(__tstate
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 resultobj
= wxPyMake_wxObject(result
);
14278 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxNotebook
*result
;
14281 char *kwnames
[] = {
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (wxNotebook
*)new wxNotebook();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= wxPyMake_wxObject(result
);
14302 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14305 wxWindow
*arg2
= (wxWindow
*) 0 ;
14307 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14308 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14309 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14310 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14311 long arg6
= (long) 0 ;
14312 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14313 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14317 bool temp7
= False
;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 PyObject
* obj2
= 0 ;
14321 PyObject
* obj3
= 0 ;
14322 PyObject
* obj4
= 0 ;
14323 PyObject
* obj5
= 0 ;
14324 PyObject
* obj6
= 0 ;
14325 char *kwnames
[] = {
14326 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 arg3
= (int) SWIG_AsInt(obj2
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14349 arg6
= (long) SWIG_AsLong(obj5
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14354 arg7
= wxString_in_helper(obj6
);
14355 if (arg7
== NULL
) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14383 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_FromInt((int)result
);
14409 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14414 PyObject
* obj0
= 0 ;
14415 PyObject
* obj1
= 0 ;
14416 char *kwnames
[] = {
14417 (char *) "self",(char *) "padding", NULL
14420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
14421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14429 (arg1
)->SetPadding((wxSize
const &)*arg2
);
14431 wxPyEndAllowThreads(__tstate
);
14432 if (PyErr_Occurred()) SWIG_fail
;
14434 Py_INCREF(Py_None
); resultobj
= Py_None
;
14441 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14442 PyObject
*resultobj
;
14443 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 PyObject
* obj1
= 0 ;
14448 char *kwnames
[] = {
14449 (char *) "self",(char *) "sz", NULL
14452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14476 wxPoint
*arg2
= 0 ;
14477 long *arg3
= (long *) 0 ;
14481 PyObject
* obj0
= 0 ;
14482 PyObject
* obj1
= 0 ;
14483 char *kwnames
[] = {
14484 (char *) "self",(char *) "pt", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_FromInt((int)result
);
14504 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14505 resultobj
= t_output_helper(resultobj
,o
);
14513 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14519 PyObject
* obj0
= 0 ;
14520 PyObject
* obj1
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "self",(char *) "sizePage", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14540 wxSize
* resultptr
;
14541 resultptr
= new wxSize((wxSize
&) result
);
14542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14550 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14553 wxWindow
*arg2
= (wxWindow
*) 0 ;
14554 wxColour
*arg3
= 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 PyObject
* obj2
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "window",(char *) "colour", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
14573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14574 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
14576 wxPyEndAllowThreads(__tstate
);
14577 if (PyErr_Occurred()) SWIG_fail
;
14579 Py_INCREF(Py_None
); resultobj
= Py_None
;
14586 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
14588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14589 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
14591 return Py_BuildValue((char *)"");
14593 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14596 int arg2
= (int) 0 ;
14597 int arg3
= (int) -1 ;
14598 int arg4
= (int) -1 ;
14599 wxNotebookEvent
*result
;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 PyObject
* obj2
= 0 ;
14603 PyObject
* obj3
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14610 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14611 if (PyErr_Occurred()) SWIG_fail
;
14614 arg2
= (int) SWIG_AsInt(obj1
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14618 arg3
= (int) SWIG_AsInt(obj2
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14622 arg4
= (int) SWIG_AsInt(obj3
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14627 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
14629 wxPyEndAllowThreads(__tstate
);
14630 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
14639 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14642 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
14644 return Py_BuildValue((char *)"");
14646 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14647 PyObject
*resultobj
;
14648 wxWindow
*arg1
= (wxWindow
*) 0 ;
14649 int arg2
= (int) -1 ;
14650 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14651 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14652 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14653 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14654 long arg5
= (long) 0 ;
14655 wxString
const &arg6_defvalue
= wxPyEmptyString
;
14656 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14657 wxListbook
*result
;
14660 bool temp6
= False
;
14661 PyObject
* obj0
= 0 ;
14662 PyObject
* obj1
= 0 ;
14663 PyObject
* obj2
= 0 ;
14664 PyObject
* obj3
= 0 ;
14665 PyObject
* obj4
= 0 ;
14666 PyObject
* obj5
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg2
= (int) SWIG_AsInt(obj1
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14687 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14691 arg5
= (long) SWIG_AsLong(obj4
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14696 arg6
= wxString_in_helper(obj5
);
14697 if (arg6
== NULL
) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14723 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxListbook
*result
;
14726 char *kwnames
[] = {
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
14732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14733 result
= (wxListbook
*)new wxListbook();
14735 wxPyEndAllowThreads(__tstate
);
14736 if (PyErr_Occurred()) SWIG_fail
;
14738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
14745 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxListbook
*arg1
= (wxListbook
*) 0 ;
14748 wxWindow
*arg2
= (wxWindow
*) 0 ;
14750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14754 long arg6
= (long) 0 ;
14755 wxString
const &arg7_defvalue
= wxPyEmptyString
;
14756 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14760 bool temp7
= False
;
14761 PyObject
* obj0
= 0 ;
14762 PyObject
* obj1
= 0 ;
14763 PyObject
* obj2
= 0 ;
14764 PyObject
* obj3
= 0 ;
14765 PyObject
* obj4
= 0 ;
14766 PyObject
* obj5
= 0 ;
14767 PyObject
* obj6
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 arg3
= (int) SWIG_AsInt(obj2
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14782 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14788 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14792 arg6
= (long) SWIG_AsLong(obj5
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14797 arg7
= wxString_in_helper(obj6
);
14798 if (arg7
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14826 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14827 PyObject
*resultobj
;
14828 wxListbook
*arg1
= (wxListbook
*) 0 ;
14830 PyObject
* obj0
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
14837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14854 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
14856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
14859 return Py_BuildValue((char *)"");
14861 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14864 int arg2
= (int) 0 ;
14865 int arg3
= (int) -1 ;
14866 int arg4
= (int) -1 ;
14867 wxListbookEvent
*result
;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 PyObject
* obj2
= 0 ;
14871 PyObject
* obj3
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14878 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 arg2
= (int) SWIG_AsInt(obj1
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14886 arg3
= (int) SWIG_AsInt(obj2
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14890 arg4
= (int) SWIG_AsInt(obj3
);
14891 if (PyErr_Occurred()) SWIG_fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
14907 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14910 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
14912 return Py_BuildValue((char *)"");
14914 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14917 wxBookCtrlSizer
*result
;
14918 PyObject
* obj0
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "nb", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14928 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
14930 wxPyEndAllowThreads(__tstate
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
14940 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14941 PyObject
*resultobj
;
14942 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14943 PyObject
* obj0
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14953 (arg1
)->RecalcSizes();
14955 wxPyEndAllowThreads(__tstate
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14958 Py_INCREF(Py_None
); resultobj
= Py_None
;
14965 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14966 PyObject
*resultobj
;
14967 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14969 PyObject
* obj0
= 0 ;
14970 char *kwnames
[] = {
14971 (char *) "self", NULL
14974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
14975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
14976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (arg1
)->CalcMin();
14981 wxPyEndAllowThreads(__tstate
);
14982 if (PyErr_Occurred()) SWIG_fail
;
14985 wxSize
* resultptr
;
14986 resultptr
= new wxSize((wxSize
&) result
);
14987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14995 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
;
14997 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
14998 wxBookCtrl
*result
;
14999 PyObject
* obj0
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "self", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15021 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15024 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15026 return Py_BuildValue((char *)"");
15028 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15031 wxNotebookSizer
*result
;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "nb", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15054 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->RecalcSizes();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15083 PyObject
* obj0
= 0 ;
15084 char *kwnames
[] = {
15085 (char *) "self", NULL
15088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 result
= (arg1
)->CalcMin();
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15099 wxSize
* resultptr
;
15100 resultptr
= new wxSize((wxSize
&) result
);
15101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15109 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
;
15111 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15112 wxNotebook
*result
;
15113 PyObject
* obj0
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "self", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15123 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15125 wxPyEndAllowThreads(__tstate
);
15126 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= wxPyMake_wxObject(result
);
15137 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15139 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15140 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15142 return Py_BuildValue((char *)"");
15144 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)(arg1
)->GetId();
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= SWIG_FromInt((int)result
);
15170 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (wxControl
*)(arg1
)->GetControl();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15190 resultobj
= wxPyMake_wxObject(result
);
15198 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15199 PyObject
*resultobj
;
15200 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15201 wxToolBarBase
*result
;
15202 PyObject
* obj0
= 0 ;
15203 char *kwnames
[] = {
15204 (char *) "self", NULL
15207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15214 wxPyEndAllowThreads(__tstate
);
15215 if (PyErr_Occurred()) SWIG_fail
;
15218 resultobj
= wxPyMake_wxObject(result
);
15226 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15230 PyObject
* obj0
= 0 ;
15231 char *kwnames
[] = {
15232 (char *) "self", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (int)(arg1
)->IsButton();
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_FromInt((int)result
);
15252 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 char *kwnames
[] = {
15258 (char *) "self", NULL
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 result
= (int)(arg1
)->IsControl();
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 resultobj
= SWIG_FromInt((int)result
);
15278 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (int)(arg1
)->IsSeparator();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_FromInt((int)result
);
15304 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 result
= (int)(arg1
)->GetStyle();
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 resultobj
= SWIG_FromInt((int)result
);
15330 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 char *kwnames
[] = {
15336 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (int)(arg1
)->GetKind();
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 resultobj
= SWIG_FromInt((int)result
);
15356 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (bool)(arg1
)->IsEnabled();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15384 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (bool)(arg1
)->IsToggled();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15412 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15413 PyObject
*resultobj
;
15414 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15416 PyObject
* obj0
= 0 ;
15417 char *kwnames
[] = {
15418 (char *) "self", NULL
15421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
15422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15426 result
= (bool)(arg1
)->CanBeToggled();
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15440 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
15456 result
= (wxBitmap
*) &_result_ref
;
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 wxBitmap
* resultptr
= new wxBitmap(*result
);
15464 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15472 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
15488 result
= (wxBitmap
*) &_result_ref
;
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 wxBitmap
* resultptr
= new wxBitmap(*result
);
15496 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15504 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 char *kwnames
[] = {
15510 (char *) "self", NULL
15513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
15514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= (arg1
)->GetBitmap();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 wxBitmap
* resultptr
;
15525 resultptr
= new wxBitmap((wxBitmap
&) result
);
15526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
15534 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (arg1
)->GetLabel();
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15566 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "self", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
15576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= (arg1
)->GetShortHelp();
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15598 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15612 result
= (arg1
)->GetLongHelp();
15614 wxPyEndAllowThreads(__tstate
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15630 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 PyObject
* obj1
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self",(char *) "enable", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= (bool) SWIG_AsBool(obj1
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (bool)(arg1
)->Enable(arg2
);
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15662 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15677 wxPyEndAllowThreads(__tstate
);
15678 if (PyErr_Occurred()) SWIG_fail
;
15680 Py_INCREF(Py_None
); resultobj
= Py_None
;
15687 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15688 PyObject
*resultobj
;
15689 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 char *kwnames
[] = {
15695 (char *) "self",(char *) "toggle", NULL
15698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
15699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 arg2
= (bool) SWIG_AsBool(obj1
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (bool)(arg1
)->SetToggle(arg2
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15719 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15720 PyObject
*resultobj
;
15721 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15722 wxString
*arg2
= 0 ;
15724 bool temp2
= False
;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "help", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 arg2
= wxString_in_helper(obj1
);
15736 if (arg2
== NULL
) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15766 wxString
*arg2
= 0 ;
15768 bool temp2
= False
;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self",(char *) "help", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 arg2
= wxString_in_helper(obj1
);
15780 if (arg2
== NULL
) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15807 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15810 wxBitmap
*arg2
= 0 ;
15811 PyObject
* obj0
= 0 ;
15812 PyObject
* obj1
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self",(char *) "bmp", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15823 if (arg2
== NULL
) {
15824 PyErr_SetString(PyExc_TypeError
,"null reference");
15828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15829 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
15831 wxPyEndAllowThreads(__tstate
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15834 Py_INCREF(Py_None
); resultobj
= Py_None
;
15841 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15844 wxBitmap
*arg2
= 0 ;
15845 PyObject
* obj0
= 0 ;
15846 PyObject
* obj1
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self",(char *) "bmp", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15857 if (arg2
== NULL
) {
15858 PyErr_SetString(PyExc_TypeError
,"null reference");
15862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15863 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 Py_INCREF(Py_None
); resultobj
= Py_None
;
15875 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15878 wxString
*arg2
= 0 ;
15879 bool temp2
= False
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self",(char *) "label", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 arg2
= wxString_in_helper(obj1
);
15891 if (arg2
== NULL
) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 (arg1
)->SetLabel((wxString
const &)*arg2
);
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 Py_INCREF(Py_None
); resultobj
= Py_None
;
15916 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15917 PyObject
*resultobj
;
15918 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 wxPyEndAllowThreads(__tstate
);
15932 if (PyErr_Occurred()) SWIG_fail
;
15934 Py_INCREF(Py_None
); resultobj
= Py_None
;
15941 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15944 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "tbar", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
15955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 (arg1
)->Attach(arg2
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 resultobj
= result
;
15996 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15999 PyObject
*arg2
= (PyObject
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 PyObject
* obj1
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self",(char *) "clientData", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16012 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 Py_INCREF(Py_None
); resultobj
= Py_None
;
16024 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16027 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16029 return Py_BuildValue((char *)"");
16031 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16035 wxString
*arg3
= 0 ;
16036 wxBitmap
*arg4
= 0 ;
16037 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16038 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16039 int arg6
= (int) wxITEM_NORMAL
;
16040 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16041 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16042 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16043 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16044 PyObject
*arg9
= (PyObject
*) NULL
;
16045 wxToolBarToolBase
*result
;
16046 bool temp3
= False
;
16047 bool temp7
= False
;
16048 bool temp8
= False
;
16049 PyObject
* obj0
= 0 ;
16050 PyObject
* obj1
= 0 ;
16051 PyObject
* obj2
= 0 ;
16052 PyObject
* obj3
= 0 ;
16053 PyObject
* obj4
= 0 ;
16054 PyObject
* obj5
= 0 ;
16055 PyObject
* obj6
= 0 ;
16056 PyObject
* obj7
= 0 ;
16057 PyObject
* obj8
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 arg2
= (int) SWIG_AsInt(obj1
);
16066 if (PyErr_Occurred()) SWIG_fail
;
16068 arg3
= wxString_in_helper(obj2
);
16069 if (arg3
== NULL
) SWIG_fail
;
16072 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16075 if (arg4
== NULL
) {
16076 PyErr_SetString(PyExc_TypeError
,"null reference");
16080 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16083 if (arg5
== NULL
) {
16084 PyErr_SetString(PyExc_TypeError
,"null reference");
16089 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16094 arg7
= wxString_in_helper(obj6
);
16095 if (arg7
== NULL
) SWIG_fail
;
16101 arg8
= wxString_in_helper(obj7
);
16102 if (arg8
== NULL
) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= wxPyMake_wxObject(result
);
16149 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16154 wxString
*arg4
= 0 ;
16155 wxBitmap
*arg5
= 0 ;
16156 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16157 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16158 int arg7
= (int) wxITEM_NORMAL
;
16159 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16161 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16162 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16163 PyObject
*arg10
= (PyObject
*) NULL
;
16164 wxToolBarToolBase
*result
;
16165 bool temp4
= False
;
16166 bool temp8
= False
;
16167 bool temp9
= False
;
16168 PyObject
* obj0
= 0 ;
16169 PyObject
* obj1
= 0 ;
16170 PyObject
* obj2
= 0 ;
16171 PyObject
* obj3
= 0 ;
16172 PyObject
* obj4
= 0 ;
16173 PyObject
* obj5
= 0 ;
16174 PyObject
* obj6
= 0 ;
16175 PyObject
* obj7
= 0 ;
16176 PyObject
* obj8
= 0 ;
16177 PyObject
* obj9
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16187 arg3
= (int) SWIG_AsInt(obj2
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 arg4
= wxString_in_helper(obj3
);
16191 if (arg4
== NULL
) SWIG_fail
;
16194 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16197 if (arg5
== NULL
) {
16198 PyErr_SetString(PyExc_TypeError
,"null reference");
16202 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16205 if (arg6
== NULL
) {
16206 PyErr_SetString(PyExc_TypeError
,"null reference");
16211 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16216 arg8
= wxString_in_helper(obj7
);
16217 if (arg8
== NULL
) SWIG_fail
;
16223 arg9
= wxString_in_helper(obj8
);
16224 if (arg9
== NULL
) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 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
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= wxPyMake_wxObject(result
);
16271 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16274 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16275 wxToolBarToolBase
*result
;
16276 PyObject
* obj0
= 0 ;
16277 PyObject
* obj1
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "tool", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16295 resultobj
= wxPyMake_wxObject(result
);
16303 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16307 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16308 wxToolBarToolBase
*result
;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 PyObject
* obj2
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "self",(char *) "pos",(char *) "tool", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16319 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16321 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= wxPyMake_wxObject(result
);
16339 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16342 wxControl
*arg2
= (wxControl
*) 0 ;
16343 wxToolBarToolBase
*result
;
16344 PyObject
* obj0
= 0 ;
16345 PyObject
* obj1
= 0 ;
16346 char *kwnames
[] = {
16347 (char *) "self",(char *) "control", NULL
16350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= wxPyMake_wxObject(result
);
16371 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16375 wxControl
*arg3
= (wxControl
*) 0 ;
16376 wxToolBarToolBase
*result
;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 PyObject
* obj2
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "pos",(char *) "control", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16387 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16389 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= wxPyMake_wxObject(result
);
16407 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "id", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16421 arg2
= (int) SWIG_AsInt(obj1
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16425 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
16427 wxPyEndAllowThreads(__tstate
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= wxPyMake_wxObject(result
);
16439 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16440 PyObject
*resultobj
;
16441 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16442 wxToolBarToolBase
*result
;
16443 PyObject
* obj0
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= wxPyMake_wxObject(result
);
16467 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16471 wxToolBarToolBase
*result
;
16472 PyObject
* obj0
= 0 ;
16473 PyObject
* obj1
= 0 ;
16474 char *kwnames
[] = {
16475 (char *) "self",(char *) "pos", NULL
16478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
16479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= wxPyMake_wxObject(result
);
16499 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16503 wxToolBarToolBase
*result
;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char *kwnames
[] = {
16507 (char *) "self",(char *) "id", NULL
16510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16513 arg2
= (int) SWIG_AsInt(obj1
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16523 resultobj
= wxPyMake_wxObject(result
);
16531 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16532 PyObject
*resultobj
;
16533 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16536 PyObject
* obj0
= 0 ;
16537 PyObject
* obj1
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self",(char *) "pos", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16545 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16563 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self",(char *) "id", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16577 arg2
= (int) SWIG_AsInt(obj1
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (bool)(arg1
)->DeleteTool(arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16595 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char *kwnames
[] = {
16600 (char *) "self", NULL
16603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
16604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 (arg1
)->ClearTools();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 Py_INCREF(Py_None
); resultobj
= Py_None
;
16620 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (bool)(arg1
)->Realize();
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16648 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16653 PyObject
* obj0
= 0 ;
16654 PyObject
* obj1
= 0 ;
16655 PyObject
* obj2
= 0 ;
16656 char *kwnames
[] = {
16657 (char *) "self",(char *) "id",(char *) "enable", NULL
16660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 arg2
= (int) SWIG_AsInt(obj1
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16665 arg3
= (bool) SWIG_AsBool(obj2
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 (arg1
)->EnableTool(arg2
,arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 Py_INCREF(Py_None
); resultobj
= Py_None
;
16681 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16682 PyObject
*resultobj
;
16683 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 PyObject
* obj2
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "self",(char *) "id",(char *) "toggle", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 arg2
= (int) SWIG_AsInt(obj1
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16698 arg3
= (bool) SWIG_AsBool(obj2
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->ToggleTool(arg2
,arg3
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16707 Py_INCREF(Py_None
); resultobj
= Py_None
;
16714 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16715 PyObject
*resultobj
;
16716 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16719 PyObject
* obj0
= 0 ;
16720 PyObject
* obj1
= 0 ;
16721 PyObject
* obj2
= 0 ;
16722 char *kwnames
[] = {
16723 (char *) "self",(char *) "id",(char *) "toggle", NULL
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 arg2
= (int) SWIG_AsInt(obj1
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16731 arg3
= (bool) SWIG_AsBool(obj2
);
16732 if (PyErr_Occurred()) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetToggle(arg2
,arg3
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "id", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 arg2
= (int) SWIG_AsInt(obj1
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16765 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
16767 wxPyEndAllowThreads(__tstate
);
16768 if (PyErr_Occurred()) SWIG_fail
;
16770 resultobj
= result
;
16777 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
;
16779 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16781 PyObject
*arg3
= (PyObject
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 PyObject
* obj2
= 0 ;
16785 char *kwnames
[] = {
16786 (char *) "self",(char *) "id",(char *) "clientData", NULL
16789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16792 arg2
= (int) SWIG_AsInt(obj1
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 Py_INCREF(Py_None
); resultobj
= Py_None
;
16809 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "id", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 arg2
= (int) SWIG_AsInt(obj1
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16827 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
16829 wxPyEndAllowThreads(__tstate
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= SWIG_FromInt((int)result
);
16839 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16840 PyObject
*resultobj
;
16841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16844 PyObject
* obj0
= 0 ;
16845 PyObject
* obj1
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self",(char *) "id", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16853 arg2
= (int) SWIG_AsInt(obj1
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (bool)(arg1
)->GetToolState(arg2
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16871 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16876 PyObject
* obj0
= 0 ;
16877 PyObject
* obj1
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self",(char *) "id", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16885 arg2
= (int) SWIG_AsInt(obj1
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
16891 wxPyEndAllowThreads(__tstate
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16903 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16907 wxString
*arg3
= 0 ;
16908 bool temp3
= False
;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self",(char *) "id",(char *) "helpString", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16919 arg2
= (int) SWIG_AsInt(obj1
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16922 arg3
= wxString_in_helper(obj2
);
16923 if (arg3
== NULL
) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16948 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 char *kwnames
[] = {
16956 (char *) "self",(char *) "id", NULL
16959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16962 arg2
= (int) SWIG_AsInt(obj1
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (arg1
)->GetToolShortHelp(arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16984 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16988 wxString
*arg3
= 0 ;
16989 bool temp3
= False
;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 PyObject
* obj2
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "id",(char *) "helpString", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 arg2
= (int) SWIG_AsInt(obj1
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 arg3
= wxString_in_helper(obj2
);
17004 if (arg3
== NULL
) SWIG_fail
;
17008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17009 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17011 wxPyEndAllowThreads(__tstate
);
17012 if (PyErr_Occurred()) SWIG_fail
;
17014 Py_INCREF(Py_None
); resultobj
= Py_None
;
17029 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 PyObject
* obj1
= 0 ;
17036 char *kwnames
[] = {
17037 (char *) "self",(char *) "id", NULL
17040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 arg2
= (int) SWIG_AsInt(obj1
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 result
= (arg1
)->GetToolLongHelp(arg2
);
17049 wxPyEndAllowThreads(__tstate
);
17050 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17065 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 PyObject
* obj2
= 0 ;
17073 char *kwnames
[] = {
17074 (char *) "self",(char *) "x",(char *) "y", NULL
17077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17080 arg2
= (int) SWIG_AsInt(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17082 arg3
= (int) SWIG_AsInt(obj2
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 (arg1
)->SetMargins(arg2
,arg3
);
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17091 Py_INCREF(Py_None
); resultobj
= Py_None
;
17098 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17099 PyObject
*resultobj
;
17100 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 PyObject
* obj1
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self",(char *) "size", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "packing", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17143 arg2
= (int) SWIG_AsInt(obj1
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 (arg1
)->SetToolPacking(arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 Py_INCREF(Py_None
); resultobj
= Py_None
;
17159 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
;
17161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17163 PyObject
* obj0
= 0 ;
17164 PyObject
* obj1
= 0 ;
17165 char *kwnames
[] = {
17166 (char *) "self",(char *) "separation", NULL
17169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17172 arg2
= (int) SWIG_AsInt(obj1
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->SetToolSeparation(arg2
);
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 Py_INCREF(Py_None
); resultobj
= Py_None
;
17188 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 result
= (arg1
)->GetToolMargins();
17204 wxPyEndAllowThreads(__tstate
);
17205 if (PyErr_Occurred()) SWIG_fail
;
17208 wxSize
* resultptr
;
17209 resultptr
= new wxSize((wxSize
&) result
);
17210 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17218 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= (arg1
)->GetMargins();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 wxSize
* resultptr
;
17239 resultptr
= new wxSize((wxSize
&) result
);
17240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17248 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17262 result
= (int)(arg1
)->GetToolPacking();
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_FromInt((int)result
);
17274 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17278 PyObject
* obj0
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (int)(arg1
)->GetToolSeparation();
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_FromInt((int)result
);
17300 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj1
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "nRows", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17313 arg2
= (int) SWIG_AsInt(obj1
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 (arg1
)->SetRows(arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17322 Py_INCREF(Py_None
); resultobj
= Py_None
;
17329 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17334 PyObject
* obj0
= 0 ;
17335 PyObject
* obj1
= 0 ;
17336 PyObject
* obj2
= 0 ;
17337 char *kwnames
[] = {
17338 (char *) "self",(char *) "rows",(char *) "cols", NULL
17341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17344 arg2
= (int) SWIG_AsInt(obj1
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17346 arg3
= (int) SWIG_AsInt(obj2
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17366 PyObject
* obj0
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "self", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 result
= (int)(arg1
)->GetMaxRows();
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 resultobj
= SWIG_FromInt((int)result
);
17388 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17392 PyObject
* obj0
= 0 ;
17393 char *kwnames
[] = {
17394 (char *) "self", NULL
17397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (int)(arg1
)->GetMaxCols();
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17407 resultobj
= SWIG_FromInt((int)result
);
17414 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self",(char *) "size", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 Py_INCREF(Py_None
); resultobj
= Py_None
;
17446 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17460 result
= (arg1
)->GetToolBitmapSize();
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17466 wxSize
* resultptr
;
17467 resultptr
= new wxSize((wxSize
&) result
);
17468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17476 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17480 PyObject
* obj0
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (arg1
)->GetToolSize();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17496 wxSize
* resultptr
;
17497 resultptr
= new wxSize((wxSize
&) result
);
17498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17506 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17511 wxToolBarToolBase
*result
;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 PyObject
* obj2
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "x",(char *) "y", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 arg2
= (int) SWIG_AsInt(obj1
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17524 arg3
= (int) SWIG_AsInt(obj2
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17534 resultobj
= wxPyMake_wxObject(result
);
17542 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17546 wxToolBarToolBase
*result
;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self",(char *) "toolid", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",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
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= wxPyMake_wxObject(result
);
17574 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->IsVertical();
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17602 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
17604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17605 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
17607 return Py_BuildValue((char *)"");
17609 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxWindow
*arg1
= (wxWindow
*) 0 ;
17613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17617 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17618 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
17619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17623 bool temp6
= False
;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 PyObject
* obj2
= 0 ;
17627 PyObject
* obj3
= 0 ;
17628 PyObject
* obj4
= 0 ;
17629 PyObject
* obj5
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (int) SWIG_AsInt(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17652 arg5
= (long) SWIG_AsLong(obj4
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17657 arg6
= wxString_in_helper(obj5
);
17658 if (arg6
== NULL
) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= wxPyMake_wxObject(result
);
17686 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17689 char *kwnames
[] = {
17693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 result
= (wxToolBar
*)new wxToolBar();
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= wxPyMake_wxObject(result
);
17710 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17713 wxWindow
*arg2
= (wxWindow
*) 0 ;
17715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17719 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
17720 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
17721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17725 bool temp7
= False
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 PyObject
* obj2
= 0 ;
17729 PyObject
* obj3
= 0 ;
17730 PyObject
* obj4
= 0 ;
17731 PyObject
* obj5
= 0 ;
17732 PyObject
* obj6
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 arg3
= (int) SWIG_AsInt(obj2
);
17743 if (PyErr_Occurred()) SWIG_fail
;
17747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17757 arg6
= (long) SWIG_AsLong(obj5
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17762 arg7
= wxString_in_helper(obj6
);
17763 if (arg7
== NULL
) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17791 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
17796 wxToolBarToolBase
*result
;
17797 PyObject
* obj0
= 0 ;
17798 PyObject
* obj1
= 0 ;
17799 PyObject
* obj2
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "self",(char *) "x",(char *) "y", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
17806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 arg2
= (int) SWIG_AsInt(obj1
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17809 arg3
= (int) SWIG_AsInt(obj2
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= wxPyMake_wxObject(result
);
17827 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
17829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17830 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
17832 return Py_BuildValue((char *)"");
17834 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
17835 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
17840 static PyObject
*_wrap_ListCtrlNameStr_get() {
17845 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17847 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
17854 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxColour
const &arg1_defvalue
= wxNullColour
;
17857 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
17858 wxColour
const &arg2_defvalue
= wxNullColour
;
17859 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
17860 wxFont
const &arg3_defvalue
= wxNullFont
;
17861 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
17862 wxListItemAttr
*result
;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 PyObject
* obj2
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17876 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
17882 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
17887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17889 if (arg3
== NULL
) {
17890 PyErr_SetString(PyExc_TypeError
,"null reference");
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
17908 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17911 wxColour
*arg2
= 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 char *kwnames
[] = {
17916 (char *) "self",(char *) "colText", NULL
17919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17933 Py_INCREF(Py_None
); resultobj
= Py_None
;
17940 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17941 PyObject
*resultobj
;
17942 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17943 wxColour
*arg2
= 0 ;
17945 PyObject
* obj0
= 0 ;
17946 PyObject
* obj1
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self",(char *) "colBack", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17956 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 Py_INCREF(Py_None
); resultobj
= Py_None
;
17972 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "font", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17988 if (arg2
== NULL
) {
17989 PyErr_SetString(PyExc_TypeError
,"null reference");
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 (arg1
)->SetFont((wxFont
const &)*arg2
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 Py_INCREF(Py_None
); resultobj
= Py_None
;
18006 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (bool)(arg1
)->HasTextColour();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18034 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (bool)(arg1
)->HasBackgroundColour();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18062 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (bool)(arg1
)->HasFont();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18090 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (arg1
)->GetTextColour();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 wxColour
* resultptr
;
18111 resultptr
= new wxColour((wxColour
&) result
);
18112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18120 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (arg1
)->GetBackgroundColour();
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18140 wxColour
* resultptr
;
18141 resultptr
= new wxColour((wxColour
&) result
);
18142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18150 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 result
= (arg1
)->GetFont();
18166 wxPyEndAllowThreads(__tstate
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18170 wxFont
* resultptr
;
18171 resultptr
= new wxFont((wxFont
&) result
);
18172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18180 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
;
18182 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 wxListItemAttr_Destroy(arg1
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 Py_INCREF(Py_None
); resultobj
= Py_None
;
18205 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18208 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18210 return Py_BuildValue((char *)"");
18212 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18213 PyObject
*resultobj
;
18214 wxListItem
*result
;
18215 char *kwnames
[] = {
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 result
= (wxListItem
*)new wxListItem();
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18228 resultobj
= wxPyMake_wxObject(result
);
18236 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxListItem
*arg1
= (wxListItem
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 char *kwnames
[] = {
18241 (char *) "self", NULL
18244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 Py_INCREF(Py_None
); resultobj
= Py_None
;
18261 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
;
18263 wxListItem
*arg1
= (wxListItem
*) 0 ;
18264 PyObject
* obj0
= 0 ;
18265 char *kwnames
[] = {
18266 (char *) "self", NULL
18269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 Py_INCREF(Py_None
); resultobj
= Py_None
;
18286 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
;
18288 wxListItem
*arg1
= (wxListItem
*) 0 ;
18289 PyObject
* obj0
= 0 ;
18290 char *kwnames
[] = {
18291 (char *) "self", NULL
18294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 (arg1
)->ClearAttributes();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 Py_INCREF(Py_None
); resultobj
= Py_None
;
18311 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18312 PyObject
*resultobj
;
18313 wxListItem
*arg1
= (wxListItem
*) 0 ;
18315 PyObject
* obj0
= 0 ;
18316 PyObject
* obj1
= 0 ;
18317 char *kwnames
[] = {
18318 (char *) "self",(char *) "mask", NULL
18321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18324 arg2
= (long) SWIG_AsLong(obj1
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 (arg1
)->SetMask(arg2
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18342 wxListItem
*arg1
= (wxListItem
*) 0 ;
18344 PyObject
* obj0
= 0 ;
18345 PyObject
* obj1
= 0 ;
18346 char *kwnames
[] = {
18347 (char *) "self",(char *) "id", NULL
18350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18353 arg2
= (long) SWIG_AsLong(obj1
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18357 (arg1
)->SetId(arg2
);
18359 wxPyEndAllowThreads(__tstate
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 Py_INCREF(Py_None
); resultobj
= Py_None
;
18369 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 wxListItem
*arg1
= (wxListItem
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self",(char *) "col", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18382 arg2
= (int) SWIG_AsInt(obj1
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 (arg1
)->SetColumn(arg2
);
18388 wxPyEndAllowThreads(__tstate
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 Py_INCREF(Py_None
); resultobj
= Py_None
;
18398 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxListItem
*arg1
= (wxListItem
*) 0 ;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "state", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18411 arg2
= (long) SWIG_AsLong(obj1
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->SetState(arg2
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18427 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxListItem
*arg1
= (wxListItem
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self",(char *) "stateMask", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 arg2
= (long) SWIG_AsLong(obj1
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18444 (arg1
)->SetStateMask(arg2
);
18446 wxPyEndAllowThreads(__tstate
);
18447 if (PyErr_Occurred()) SWIG_fail
;
18449 Py_INCREF(Py_None
); resultobj
= Py_None
;
18456 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxListItem
*arg1
= (wxListItem
*) 0 ;
18459 wxString
*arg2
= 0 ;
18460 bool temp2
= False
;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "text", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= wxString_in_helper(obj1
);
18472 if (arg2
== NULL
) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 (arg1
)->SetText((wxString
const &)*arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18497 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
;
18499 wxListItem
*arg1
= (wxListItem
*) 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18503 char *kwnames
[] = {
18504 (char *) "self",(char *) "image", NULL
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
18508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18510 arg2
= (int) SWIG_AsInt(obj1
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 (arg1
)->SetImage(arg2
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 Py_INCREF(Py_None
); resultobj
= Py_None
;
18526 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxListItem
*arg1
= (wxListItem
*) 0 ;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "data", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 arg2
= (long) SWIG_AsLong(obj1
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 (arg1
)->SetData(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 Py_INCREF(Py_None
); resultobj
= Py_None
;
18555 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 wxListItem
*arg1
= (wxListItem
*) 0 ;
18559 PyObject
* obj0
= 0 ;
18560 PyObject
* obj1
= 0 ;
18561 char *kwnames
[] = {
18562 (char *) "self",(char *) "width", NULL
18565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
18566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18568 arg2
= (int) SWIG_AsInt(obj1
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->SetWidth(arg2
);
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 Py_INCREF(Py_None
); resultobj
= Py_None
;
18584 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxListItem
*arg1
= (wxListItem
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 PyObject
* obj1
= 0 ;
18590 char *kwnames
[] = {
18591 (char *) "self",(char *) "align", NULL
18594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
18595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
18598 if (PyErr_Occurred()) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 Py_INCREF(Py_None
); resultobj
= Py_None
;
18613 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxListItem
*arg1
= (wxListItem
*) 0 ;
18616 wxColour
*arg2
= 0 ;
18618 PyObject
* obj0
= 0 ;
18619 PyObject
* obj1
= 0 ;
18620 char *kwnames
[] = {
18621 (char *) "self",(char *) "colText", NULL
18624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxListItem
*arg1
= (wxListItem
*) 0 ;
18648 wxColour
*arg2
= 0 ;
18650 PyObject
* obj0
= 0 ;
18651 PyObject
* obj1
= 0 ;
18652 char *kwnames
[] = {
18653 (char *) "self",(char *) "colBack", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18665 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 Py_INCREF(Py_None
); resultobj
= Py_None
;
18677 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
;
18679 wxListItem
*arg1
= (wxListItem
*) 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "font", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18693 if (arg2
== NULL
) {
18694 PyErr_SetString(PyExc_TypeError
,"null reference");
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->SetFont((wxFont
const &)*arg2
);
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18704 Py_INCREF(Py_None
); resultobj
= Py_None
;
18711 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18712 PyObject
*resultobj
;
18713 wxListItem
*arg1
= (wxListItem
*) 0 ;
18715 PyObject
* obj0
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 result
= (long)(arg1
)->GetMask();
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_FromLong((long)result
);
18737 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxListItem
*arg1
= (wxListItem
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18751 result
= (long)(arg1
)->GetId();
18753 wxPyEndAllowThreads(__tstate
);
18754 if (PyErr_Occurred()) SWIG_fail
;
18756 resultobj
= SWIG_FromLong((long)result
);
18763 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxListItem
*arg1
= (wxListItem
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 char *kwnames
[] = {
18769 (char *) "self", NULL
18772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
18773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (int)(arg1
)->GetColumn();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_FromInt((int)result
);
18789 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
;
18791 wxListItem
*arg1
= (wxListItem
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 result
= (long)(arg1
)->GetState();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_FromLong((long)result
);
18815 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxListItem
*arg1
= (wxListItem
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18830 wxString
const &_result_ref
= (arg1
)->GetText();
18831 result
= (wxString
*) &_result_ref
;
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18841 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18850 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18851 PyObject
*resultobj
;
18852 wxListItem
*arg1
= (wxListItem
*) 0 ;
18854 PyObject
* obj0
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (int)(arg1
)->GetImage();
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= SWIG_FromInt((int)result
);
18876 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxListItem
*arg1
= (wxListItem
*) 0 ;
18880 PyObject
* obj0
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "self", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
18886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (long)(arg1
)->GetData();
18892 wxPyEndAllowThreads(__tstate
);
18893 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= SWIG_FromLong((long)result
);
18902 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18903 PyObject
*resultobj
;
18904 wxListItem
*arg1
= (wxListItem
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 char *kwnames
[] = {
18908 (char *) "self", NULL
18911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
18912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= (int)(arg1
)->GetWidth();
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18921 resultobj
= SWIG_FromInt((int)result
);
18928 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxListItem
*arg1
= (wxListItem
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (int)(arg1
)->GetAlign();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_FromInt((int)result
);
18954 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxListItem
*arg1
= (wxListItem
*) 0 ;
18957 wxListItemAttr
*result
;
18958 PyObject
* obj0
= 0 ;
18959 char *kwnames
[] = {
18960 (char *) "self", NULL
18963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
18964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
18980 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxListItem
*arg1
= (wxListItem
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "self", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
18990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (bool)(arg1
)->HasAttributes();
18996 wxPyEndAllowThreads(__tstate
);
18997 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19008 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19009 PyObject
*resultobj
;
19010 wxListItem
*arg1
= (wxListItem
*) 0 ;
19012 PyObject
* obj0
= 0 ;
19013 char *kwnames
[] = {
19014 (char *) "self", NULL
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19028 wxColour
* resultptr
;
19029 resultptr
= new wxColour((wxColour
&) result
);
19030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19038 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxListItem
*arg1
= (wxListItem
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 wxColour
* resultptr
;
19059 resultptr
= new wxColour((wxColour
&) result
);
19060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19068 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxListItem
*arg1
= (wxListItem
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= ((wxListItem
const *)arg1
)->GetFont();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 wxFont
* resultptr
;
19089 resultptr
= new wxFont((wxFont
&) result
);
19090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19098 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxListItem
*arg1
= (wxListItem
*) 0 ;
19102 PyObject
* obj0
= 0 ;
19103 PyObject
* obj1
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self",(char *) "m_mask", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19111 arg2
= (long) SWIG_AsLong(obj1
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19113 if (arg1
) (arg1
)->m_mask
= arg2
;
19115 Py_INCREF(Py_None
); resultobj
= Py_None
;
19122 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxListItem
*arg1
= (wxListItem
*) 0 ;
19126 PyObject
* obj0
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19134 result
= (long) ((arg1
)->m_mask
);
19136 resultobj
= SWIG_FromLong((long)result
);
19143 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxListItem
*arg1
= (wxListItem
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 PyObject
* obj1
= 0 ;
19149 char *kwnames
[] = {
19150 (char *) "self",(char *) "m_itemId", NULL
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 arg2
= (long) SWIG_AsLong(obj1
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19158 if (arg1
) (arg1
)->m_itemId
= arg2
;
19160 Py_INCREF(Py_None
); resultobj
= Py_None
;
19167 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19168 PyObject
*resultobj
;
19169 wxListItem
*arg1
= (wxListItem
*) 0 ;
19171 PyObject
* obj0
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 result
= (long) ((arg1
)->m_itemId
);
19181 resultobj
= SWIG_FromLong((long)result
);
19188 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItem
*arg1
= (wxListItem
*) 0 ;
19192 PyObject
* obj0
= 0 ;
19193 PyObject
* obj1
= 0 ;
19194 char *kwnames
[] = {
19195 (char *) "self",(char *) "m_col", NULL
19198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= (int) SWIG_AsInt(obj1
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19203 if (arg1
) (arg1
)->m_col
= arg2
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19212 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19214 wxListItem
*arg1
= (wxListItem
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 result
= (int) ((arg1
)->m_col
);
19226 resultobj
= SWIG_FromInt((int)result
);
19233 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxListItem
*arg1
= (wxListItem
*) 0 ;
19237 PyObject
* obj0
= 0 ;
19238 PyObject
* obj1
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self",(char *) "m_state", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19246 arg2
= (long) SWIG_AsLong(obj1
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19248 if (arg1
) (arg1
)->m_state
= arg2
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxListItem
*arg1
= (wxListItem
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 result
= (long) ((arg1
)->m_state
);
19271 resultobj
= SWIG_FromLong((long)result
);
19278 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19279 PyObject
*resultobj
;
19280 wxListItem
*arg1
= (wxListItem
*) 0 ;
19282 PyObject
* obj0
= 0 ;
19283 PyObject
* obj1
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self",(char *) "m_stateMask", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19291 arg2
= (long) SWIG_AsLong(obj1
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19293 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19295 Py_INCREF(Py_None
); resultobj
= Py_None
;
19302 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxListItem
*arg1
= (wxListItem
*) 0 ;
19306 PyObject
* obj0
= 0 ;
19307 char *kwnames
[] = {
19308 (char *) "self", NULL
19311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19314 result
= (long) ((arg1
)->m_stateMask
);
19316 resultobj
= SWIG_FromLong((long)result
);
19323 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxListItem
*arg1
= (wxListItem
*) 0 ;
19326 wxString
*arg2
= (wxString
*) 0 ;
19327 bool temp2
= False
;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "m_text", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 arg2
= wxString_in_helper(obj1
);
19339 if (arg2
== NULL
) SWIG_fail
;
19342 if (arg1
) (arg1
)->m_text
= *arg2
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19359 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19360 PyObject
*resultobj
;
19361 wxListItem
*arg1
= (wxListItem
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19371 result
= (wxString
*)& ((arg1
)->m_text
);
19375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19386 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxListItem
*arg1
= (wxListItem
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 PyObject
* obj1
= 0 ;
19392 char *kwnames
[] = {
19393 (char *) "self",(char *) "m_image", NULL
19396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 arg2
= (int) SWIG_AsInt(obj1
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19401 if (arg1
) (arg1
)->m_image
= arg2
;
19403 Py_INCREF(Py_None
); resultobj
= Py_None
;
19410 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListItem
*arg1
= (wxListItem
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19422 result
= (int) ((arg1
)->m_image
);
19424 resultobj
= SWIG_FromInt((int)result
);
19431 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxListItem
*arg1
= (wxListItem
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self",(char *) "m_data", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 arg2
= (long) SWIG_AsLong(obj1
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19446 if (arg1
) (arg1
)->m_data
= arg2
;
19448 Py_INCREF(Py_None
); resultobj
= Py_None
;
19455 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxListItem
*arg1
= (wxListItem
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19467 result
= (long) ((arg1
)->m_data
);
19469 resultobj
= SWIG_FromLong((long)result
);
19476 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxListItem
*arg1
= (wxListItem
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "m_format", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19489 arg2
= (int) SWIG_AsInt(obj1
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19491 if (arg1
) (arg1
)->m_format
= arg2
;
19493 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19501 PyObject
*resultobj
;
19502 wxListItem
*arg1
= (wxListItem
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 char *kwnames
[] = {
19506 (char *) "self", NULL
19509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
19510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19512 result
= (int) ((arg1
)->m_format
);
19514 resultobj
= SWIG_FromInt((int)result
);
19521 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxListItem
*arg1
= (wxListItem
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 PyObject
* obj1
= 0 ;
19527 char *kwnames
[] = {
19528 (char *) "self",(char *) "m_width", NULL
19531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 arg2
= (int) SWIG_AsInt(obj1
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19536 if (arg1
) (arg1
)->m_width
= arg2
;
19538 Py_INCREF(Py_None
); resultobj
= Py_None
;
19545 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxListItem
*arg1
= (wxListItem
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 result
= (int) ((arg1
)->m_width
);
19559 resultobj
= SWIG_FromInt((int)result
);
19566 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
19568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19569 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
19571 return Py_BuildValue((char *)"");
19573 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19576 int arg2
= (int) 0 ;
19577 wxListEvent
*result
;
19578 PyObject
* obj0
= 0 ;
19579 PyObject
* obj1
= 0 ;
19580 char *kwnames
[] = {
19581 (char *) "commandType",(char *) "id", NULL
19584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19586 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19590 arg2
= (int) SWIG_AsInt(obj1
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19595 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
19597 wxPyEndAllowThreads(__tstate
);
19598 if (PyErr_Occurred()) SWIG_fail
;
19600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
19607 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19608 PyObject
*resultobj
;
19609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char *kwnames
[] = {
19614 (char *) "self",(char *) "m_code", NULL
19617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19620 arg2
= (int) SWIG_AsInt(obj1
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19622 if (arg1
) (arg1
)->m_code
= arg2
;
19624 Py_INCREF(Py_None
); resultobj
= Py_None
;
19631 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19632 PyObject
*resultobj
;
19633 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 char *kwnames
[] = {
19637 (char *) "self", NULL
19640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
19641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19643 result
= (int) ((arg1
)->m_code
);
19645 resultobj
= SWIG_FromInt((int)result
);
19652 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "m_oldItemIndex", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 arg2
= (long) SWIG_AsLong(obj1
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19667 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 result
= (long) ((arg1
)->m_oldItemIndex
);
19690 resultobj
= SWIG_FromLong((long)result
);
19697 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "m_itemIndex", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 arg2
= (long) SWIG_AsLong(obj1
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19712 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
19714 Py_INCREF(Py_None
); resultobj
= Py_None
;
19721 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19733 result
= (long) ((arg1
)->m_itemIndex
);
19735 resultobj
= SWIG_FromLong((long)result
);
19742 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
;
19744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "m_col", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 arg2
= (int) SWIG_AsInt(obj1
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19757 if (arg1
) (arg1
)->m_col
= arg2
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 result
= (int) ((arg1
)->m_col
);
19780 resultobj
= SWIG_FromInt((int)result
);
19787 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19788 PyObject
*resultobj
;
19789 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19790 wxPoint
*arg2
= (wxPoint
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 PyObject
* obj1
= 0 ;
19793 char *kwnames
[] = {
19794 (char *) "self",(char *) "m_pointDrag", NULL
19797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19802 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
19804 Py_INCREF(Py_None
); resultobj
= Py_None
;
19811 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
19825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19832 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19835 wxListItem
*result
;
19836 PyObject
* obj0
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 result
= (wxListItem
*)& ((arg1
)->m_item
);
19847 resultobj
= wxPyMake_wxObject(result
);
19855 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19869 result
= (int)(arg1
)->GetKeyCode();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_FromInt((int)result
);
19881 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
;
19883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= (long)(arg1
)->GetIndex();
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 resultobj
= SWIG_FromLong((long)result
);
19907 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
19917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= (int)(arg1
)->GetColumn();
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= SWIG_FromInt((int)result
);
19933 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (arg1
)->GetPoint();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 wxPoint
* resultptr
;
19954 resultptr
= new wxPoint((wxPoint
&) result
);
19955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19963 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
19974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 wxString
const &_result_ref
= (arg1
)->GetLabel();
19979 result
= (wxString
*) &_result_ref
;
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19989 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19998 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
;
20000 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20002 PyObject
* obj0
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 wxString
const &_result_ref
= (arg1
)->GetText();
20014 result
= (wxString
*) &_result_ref
;
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20033 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20037 PyObject
* obj0
= 0 ;
20038 char *kwnames
[] = {
20039 (char *) "self", NULL
20042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20047 result
= (int)(arg1
)->GetImage();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_FromInt((int)result
);
20059 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (long)(arg1
)->GetData();
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= SWIG_FromLong((long)result
);
20085 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (long)(arg1
)->GetMask();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= SWIG_FromLong((long)result
);
20111 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20114 wxListItem
*result
;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20127 result
= (wxListItem
*) &_result_ref
;
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20140 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 char *kwnames
[] = {
20146 (char *) "self", NULL
20149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (long)(arg1
)->GetCacheFrom();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= SWIG_FromLong((long)result
);
20166 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (long)(arg1
)->GetCacheTo();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 resultobj
= SWIG_FromLong((long)result
);
20192 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20193 PyObject
*resultobj
;
20194 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20220 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 PyObject
* obj1
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self",(char *) "editCancelled", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 arg2
= (bool) SWIG_AsBool(obj1
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20237 (arg1
)->SetEditCanceled(arg2
);
20239 wxPyEndAllowThreads(__tstate
);
20240 if (PyErr_Occurred()) SWIG_fail
;
20242 Py_INCREF(Py_None
); resultobj
= Py_None
;
20249 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20252 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20254 return Py_BuildValue((char *)"");
20256 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20257 PyObject
*resultobj
;
20258 wxWindow
*arg1
= (wxWindow
*) 0 ;
20259 int arg2
= (int) -1 ;
20260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20264 long arg5
= (long) wxLC_ICON
;
20265 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20266 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20267 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20268 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20269 wxPyListCtrl
*result
;
20272 bool temp7
= False
;
20273 PyObject
* obj0
= 0 ;
20274 PyObject
* obj1
= 0 ;
20275 PyObject
* obj2
= 0 ;
20276 PyObject
* obj3
= 0 ;
20277 PyObject
* obj4
= 0 ;
20278 PyObject
* obj5
= 0 ;
20279 PyObject
* obj6
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 arg2
= (int) SWIG_AsInt(obj1
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20294 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20300 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20304 arg5
= (long) SWIG_AsLong(obj4
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20311 if (arg6
== NULL
) {
20312 PyErr_SetString(PyExc_TypeError
,"null reference");
20318 arg7
= wxString_in_helper(obj6
);
20319 if (arg7
== NULL
) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20345 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20346 PyObject
*resultobj
;
20347 wxPyListCtrl
*result
;
20348 char *kwnames
[] = {
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20367 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20370 wxWindow
*arg2
= (wxWindow
*) 0 ;
20371 int arg3
= (int) -1 ;
20372 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20373 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20374 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20375 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20376 long arg6
= (long) wxLC_ICON
;
20377 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20378 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20379 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20380 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20384 bool temp8
= False
;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 PyObject
* obj2
= 0 ;
20388 PyObject
* obj3
= 0 ;
20389 PyObject
* obj4
= 0 ;
20390 PyObject
* obj5
= 0 ;
20391 PyObject
* obj6
= 0 ;
20392 PyObject
* obj7
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 arg3
= (int) SWIG_AsInt(obj2
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20419 arg6
= (long) SWIG_AsLong(obj5
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20423 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20426 if (arg7
== NULL
) {
20427 PyErr_SetString(PyExc_TypeError
,"null reference");
20433 arg8
= wxString_in_helper(obj7
);
20434 if (arg8
== NULL
) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20462 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20465 PyObject
*arg2
= (PyObject
*) 0 ;
20466 PyObject
*arg3
= (PyObject
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 PyObject
* obj1
= 0 ;
20469 PyObject
* obj2
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self",(char *) "self",(char *) "_class", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 (arg1
)->_setCallbackInfo(arg2
,arg3
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 Py_INCREF(Py_None
); resultobj
= Py_None
;
20493 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20496 wxColour
*arg2
= 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "col", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20528 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20529 PyObject
*resultobj
;
20530 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20531 wxColour
*arg2
= 0 ;
20534 PyObject
* obj0
= 0 ;
20535 PyObject
* obj1
= 0 ;
20536 char *kwnames
[] = {
20537 (char *) "self",(char *) "col", NULL
20540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20563 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20567 wxListItem
*result
;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self",(char *) "col", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 arg2
= (int) SWIG_AsInt(obj1
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20587 resultobj
= wxPyMake_wxObject(result
);
20595 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20599 wxListItem
*arg3
= 0 ;
20601 PyObject
* obj0
= 0 ;
20602 PyObject
* obj1
= 0 ;
20603 PyObject
* obj2
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "self",(char *) "col",(char *) "item", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 arg2
= (int) SWIG_AsInt(obj1
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20616 if (arg3
== NULL
) {
20617 PyErr_SetString(PyExc_TypeError
,"null reference");
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20636 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20637 PyObject
*resultobj
;
20638 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "col", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (int) SWIG_AsInt(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20654 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20659 resultobj
= SWIG_FromInt((int)result
);
20666 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20667 PyObject
*resultobj
;
20668 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20672 PyObject
* obj0
= 0 ;
20673 PyObject
* obj1
= 0 ;
20674 PyObject
* obj2
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self",(char *) "col",(char *) "width", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 arg2
= (int) SWIG_AsInt(obj1
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20684 arg3
= (int) SWIG_AsInt(obj2
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
20690 wxPyEndAllowThreads(__tstate
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20702 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20703 PyObject
*resultobj
;
20704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20706 PyObject
* obj0
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_FromInt((int)result
);
20728 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20732 PyObject
* obj0
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20742 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
20744 wxPyEndAllowThreads(__tstate
);
20745 if (PyErr_Occurred()) SWIG_fail
;
20748 wxRect
* resultptr
;
20749 resultptr
= new wxRect((wxRect
&) result
);
20750 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
20758 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20761 wxTextCtrl
*result
;
20762 PyObject
* obj0
= 0 ;
20763 char *kwnames
[] = {
20764 (char *) "self", NULL
20767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
20768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20778 resultobj
= wxPyMake_wxObject(result
);
20786 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20790 int arg3
= (int) 0 ;
20791 wxListItem
*result
;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 char *kwnames
[] = {
20796 (char *) "self",(char *) "itemId",(char *) "col", NULL
20799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20802 arg2
= (long) SWIG_AsLong(obj1
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 arg3
= (int) SWIG_AsInt(obj2
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20816 resultobj
= wxPyMake_wxObject(result
);
20824 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20827 wxListItem
*arg2
= 0 ;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self",(char *) "info", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20841 if (arg2
== NULL
) {
20842 PyErr_SetString(PyExc_TypeError
,"null reference");
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (bool)(arg1
)->SetItem(*arg2
);
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20861 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20866 wxString
*arg4
= 0 ;
20867 int arg5
= (int) -1 ;
20869 bool temp4
= False
;
20870 PyObject
* obj0
= 0 ;
20871 PyObject
* obj1
= 0 ;
20872 PyObject
* obj2
= 0 ;
20873 PyObject
* obj3
= 0 ;
20874 PyObject
* obj4
= 0 ;
20875 char *kwnames
[] = {
20876 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20882 arg2
= (long) SWIG_AsLong(obj1
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20884 arg3
= (int) SWIG_AsInt(obj2
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 arg4
= wxString_in_helper(obj3
);
20888 if (arg4
== NULL
) SWIG_fail
;
20892 arg5
= (int) SWIG_AsInt(obj4
);
20893 if (PyErr_Occurred()) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_FromLong((long)result
);
20917 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20923 PyObject
* obj0
= 0 ;
20924 PyObject
* obj1
= 0 ;
20925 PyObject
* obj2
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20933 arg2
= (long) SWIG_AsLong(obj1
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20935 arg3
= (long) SWIG_AsLong(obj2
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= SWIG_FromInt((int)result
);
20951 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20958 PyObject
* obj0
= 0 ;
20959 PyObject
* obj1
= 0 ;
20960 PyObject
* obj2
= 0 ;
20961 PyObject
* obj3
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
20968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20969 arg2
= (long) SWIG_AsLong(obj1
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20971 arg3
= (long) SWIG_AsLong(obj2
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20973 arg4
= (long) SWIG_AsLong(obj3
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20991 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 PyObject
* obj2
= 0 ;
21001 PyObject
* obj3
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21009 arg2
= (long) SWIG_AsLong(obj1
);
21010 if (PyErr_Occurred()) SWIG_fail
;
21011 arg3
= (int) SWIG_AsInt(obj2
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21013 arg4
= (int) SWIG_AsInt(obj3
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21017 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21019 wxPyEndAllowThreads(__tstate
);
21020 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21031 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 PyObject
* obj1
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self",(char *) "item", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21045 arg2
= (long) SWIG_AsLong(obj1
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21067 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21071 wxString
*arg3
= 0 ;
21072 bool temp3
= False
;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 PyObject
* obj2
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "item",(char *) "str", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21083 arg2
= (long) SWIG_AsLong(obj1
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 arg3
= wxString_in_helper(obj2
);
21087 if (arg3
== NULL
) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 Py_INCREF(Py_None
); resultobj
= Py_None
;
21112 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 PyObject
* obj1
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self",(char *) "item", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 arg2
= (long) SWIG_AsLong(obj1
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_FromLong((long)result
);
21142 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 PyObject
* obj2
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "item",(char *) "data", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 arg2
= (long) SWIG_AsLong(obj1
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21160 arg3
= (long) SWIG_AsLong(obj2
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21178 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21183 PyObject
* obj0
= 0 ;
21184 PyObject
* obj1
= 0 ;
21185 char *kwnames
[] = {
21186 (char *) "self",(char *) "item", NULL
21189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21192 arg2
= (long) SWIG_AsLong(obj1
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21202 wxPoint
* resultptr
;
21203 resultptr
= new wxPoint((wxPoint
&) result
);
21204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21212 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21216 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 PyObject
* obj2
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self",(char *) "item",(char *) "code", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 arg2
= (long) SWIG_AsLong(obj1
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21231 arg3
= (int) SWIG_AsInt(obj2
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21242 wxRect
* resultptr
;
21243 resultptr
= new wxRect((wxRect
&) result
);
21244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21252 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21256 wxPoint
*arg3
= 0 ;
21259 PyObject
* obj0
= 0 ;
21260 PyObject
* obj1
= 0 ;
21261 PyObject
* obj2
= 0 ;
21262 char *kwnames
[] = {
21263 (char *) "self",(char *) "item",(char *) "pos", NULL
21266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 arg2
= (long) SWIG_AsLong(obj1
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21273 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21291 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21307 wxPyEndAllowThreads(__tstate
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 resultobj
= SWIG_FromInt((int)result
);
21317 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 resultobj
= SWIG_FromInt((int)result
);
21343 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21363 wxSize
* resultptr
;
21364 resultptr
= new wxSize((wxSize
&) result
);
21365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21373 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 resultobj
= SWIG_FromInt((int)result
);
21399 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
21415 wxPyEndAllowThreads(__tstate
);
21416 if (PyErr_Occurred()) SWIG_fail
;
21419 wxColour
* resultptr
;
21420 resultptr
= new wxColour((wxColour
&) result
);
21421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
21429 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21432 wxColour
*arg2
= 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "col", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
21451 wxPyEndAllowThreads(__tstate
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 Py_INCREF(Py_None
); resultobj
= Py_None
;
21461 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21465 PyObject
* obj0
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "self", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
21471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= SWIG_FromLong((long)result
);
21487 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21491 bool arg3
= (bool) True
;
21492 PyObject
* obj0
= 0 ;
21493 PyObject
* obj1
= 0 ;
21494 PyObject
* obj2
= 0 ;
21495 char *kwnames
[] = {
21496 (char *) "self",(char *) "style",(char *) "add", NULL
21499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21502 arg2
= (long) SWIG_AsLong(obj1
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 arg3
= (bool) SWIG_AsBool(obj2
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 (arg1
)->SetSingleStyle(arg2
,arg3
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 Py_INCREF(Py_None
); resultobj
= Py_None
;
21522 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "style", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 arg2
= (long) SWIG_AsLong(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 (arg1
)->SetWindowStyleFlag(arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21555 int arg3
= (int) wxLIST_NEXT_ALL
;
21556 int arg4
= (int) wxLIST_STATE_DONTCARE
;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 PyObject
* obj2
= 0 ;
21561 PyObject
* obj3
= 0 ;
21562 char *kwnames
[] = {
21563 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21569 arg2
= (long) SWIG_AsLong(obj1
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21572 arg3
= (int) SWIG_AsInt(obj2
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 arg4
= (int) SWIG_AsInt(obj3
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 resultobj
= SWIG_FromLong((long)result
);
21593 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21597 wxImageList
*result
;
21598 PyObject
* obj0
= 0 ;
21599 PyObject
* obj1
= 0 ;
21600 char *kwnames
[] = {
21601 (char *) "self",(char *) "which", NULL
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
21605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21607 arg2
= (int) SWIG_AsInt(obj1
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21611 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
21613 wxPyEndAllowThreads(__tstate
);
21614 if (PyErr_Occurred()) SWIG_fail
;
21617 resultobj
= wxPyMake_wxObject(result
);
21625 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21628 wxImageList
*arg2
= (wxImageList
*) 0 ;
21630 PyObject
* obj0
= 0 ;
21631 PyObject
* obj1
= 0 ;
21632 PyObject
* obj2
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self",(char *) "imageList",(char *) "which", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21642 arg3
= (int) SWIG_AsInt(obj2
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->SetImageList(arg2
,arg3
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21661 wxImageList
*arg2
= (wxImageList
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 PyObject
* obj1
= 0 ;
21665 PyObject
* obj2
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "imageList",(char *) "which", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
21674 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
21675 arg3
= (int) SWIG_AsInt(obj2
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 (arg1
)->AssignImageList(arg2
,arg3
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
21707 wxPyEndAllowThreads(__tstate
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21719 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21720 PyObject
*resultobj
;
21721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 char *kwnames
[] = {
21754 (char *) "self",(char *) "item", NULL
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 arg2
= (long) SWIG_AsLong(obj1
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 (arg1
)->RefreshItem(arg2
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21769 Py_INCREF(Py_None
); resultobj
= Py_None
;
21776 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21777 PyObject
*resultobj
;
21778 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 PyObject
* obj2
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= (long) SWIG_AsLong(obj1
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21793 arg3
= (long) SWIG_AsLong(obj2
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 (arg1
)->RefreshItems(arg2
,arg3
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 Py_INCREF(Py_None
); resultobj
= Py_None
;
21809 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21812 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self",(char *) "flag", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 arg2
= (int) SWIG_AsInt(obj1
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (bool)(arg1
)->Arrange(arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21843 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "item", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 arg2
= (long) SWIG_AsLong(obj1
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (bool)(arg1
)->DeleteItem(arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21875 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)(arg1
)->DeleteAllItems();
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21903 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "col", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 arg2
= (int) SWIG_AsInt(obj1
);
21918 if (PyErr_Occurred()) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (bool)(arg1
)->DeleteColumn(arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 result
= (bool)(arg1
)->DeleteAllColumns();
21951 wxPyEndAllowThreads(__tstate
);
21952 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21963 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21964 PyObject
*resultobj
;
21965 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 (arg1
)->ClearAll();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 Py_INCREF(Py_None
); resultobj
= Py_None
;
21988 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21992 wxTextCtrl
*result
;
21993 PyObject
* obj0
= 0 ;
21994 PyObject
* obj1
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "item", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 arg2
= (long) SWIG_AsLong(obj1
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22006 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
22008 wxPyEndAllowThreads(__tstate
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= wxPyMake_wxObject(result
);
22020 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "cancel", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 arg2
= (bool) SWIG_AsBool(obj1
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (bool)(arg1
)->EndEditLabel(arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22052 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22057 PyObject
* obj0
= 0 ;
22058 PyObject
* obj1
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "item", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 arg2
= (long) SWIG_AsLong(obj1
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22084 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22088 wxString
*arg3
= 0 ;
22089 bool arg4
= (bool) False
;
22091 bool temp3
= False
;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 PyObject
* obj2
= 0 ;
22095 PyObject
* obj3
= 0 ;
22096 char *kwnames
[] = {
22097 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 arg2
= (long) SWIG_AsLong(obj1
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 arg3
= wxString_in_helper(obj2
);
22107 if (arg3
== NULL
) SWIG_fail
;
22111 arg4
= (bool) SWIG_AsBool(obj3
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22118 wxPyEndAllowThreads(__tstate
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 resultobj
= SWIG_FromLong((long)result
);
22136 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "start",(char *) "data", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 arg2
= (long) SWIG_AsLong(obj1
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22154 arg3
= (long) SWIG_AsLong(obj2
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= SWIG_FromLong((long)result
);
22170 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22174 wxPoint
*arg3
= 0 ;
22178 PyObject
* obj0
= 0 ;
22179 PyObject
* obj1
= 0 ;
22180 PyObject
* obj2
= 0 ;
22181 PyObject
* obj3
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 arg2
= (long) SWIG_AsLong(obj1
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22195 arg4
= (int) SWIG_AsInt(obj3
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_FromLong((long)result
);
22211 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22214 wxPoint
*arg2
= 0 ;
22219 PyObject
* obj0
= 0 ;
22220 PyObject
* obj1
= 0 ;
22221 char *kwnames
[] = {
22222 (char *) "self",(char *) "point", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= SWIG_FromLong((long)result
);
22242 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22243 resultobj
= t_output_helper(resultobj
,o
);
22251 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22252 PyObject
*resultobj
;
22253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22254 wxListItem
*arg2
= 0 ;
22256 PyObject
* obj0
= 0 ;
22257 PyObject
* obj1
= 0 ;
22258 char *kwnames
[] = {
22259 (char *) "self",(char *) "info", NULL
22262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22266 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22268 if (arg2
== NULL
) {
22269 PyErr_SetString(PyExc_TypeError
,"null reference");
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 result
= (long)(arg1
)->InsertItem(*arg2
);
22276 wxPyEndAllowThreads(__tstate
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22279 resultobj
= SWIG_FromLong((long)result
);
22286 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22290 wxString
*arg3
= 0 ;
22292 bool temp3
= False
;
22293 PyObject
* obj0
= 0 ;
22294 PyObject
* obj1
= 0 ;
22295 PyObject
* obj2
= 0 ;
22296 char *kwnames
[] = {
22297 (char *) "self",(char *) "index",(char *) "label", NULL
22300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22303 arg2
= (long) SWIG_AsLong(obj1
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 arg3
= wxString_in_helper(obj2
);
22307 if (arg3
== NULL
) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_FromLong((long)result
);
22332 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 PyObject
* obj2
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22348 arg2
= (long) SWIG_AsLong(obj1
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22350 arg3
= (int) SWIG_AsInt(obj2
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= SWIG_FromLong((long)result
);
22366 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22367 PyObject
*resultobj
;
22368 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22370 wxString
*arg3
= 0 ;
22373 bool temp3
= False
;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 PyObject
* obj3
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22385 arg2
= (long) SWIG_AsLong(obj1
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 arg3
= wxString_in_helper(obj2
);
22389 if (arg3
== NULL
) SWIG_fail
;
22392 arg4
= (int) SWIG_AsInt(obj3
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_FromLong((long)result
);
22416 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22420 wxListItem
*arg3
= 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 PyObject
* obj2
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "col",(char *) "info", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 arg2
= (long) SWIG_AsLong(obj1
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22434 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22437 if (arg3
== NULL
) {
22438 PyErr_SetString(PyExc_TypeError
,"null reference");
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22443 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_FromLong((long)result
);
22455 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22459 wxString
*arg3
= 0 ;
22460 int arg4
= (int) wxLIST_FORMAT_LEFT
;
22461 int arg5
= (int) -1 ;
22463 bool temp3
= False
;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 PyObject
* obj2
= 0 ;
22467 PyObject
* obj3
= 0 ;
22468 PyObject
* obj4
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22476 arg2
= (long) SWIG_AsLong(obj1
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 arg3
= wxString_in_helper(obj2
);
22480 if (arg3
== NULL
) SWIG_fail
;
22484 arg4
= (int) SWIG_AsInt(obj3
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22488 arg5
= (int) SWIG_AsInt(obj4
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_FromLong((long)result
);
22513 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "count", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) 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
;
22529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22530 (arg1
)->SetItemCount(arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 Py_INCREF(Py_None
); resultobj
= Py_None
;
22542 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22543 PyObject
*resultobj
;
22544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 PyObject
* obj1
= 0 ;
22550 PyObject
* obj2
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "dx",(char *) "dy", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 arg2
= (int) SWIG_AsInt(obj1
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22560 arg3
= (int) SWIG_AsInt(obj2
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22578 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22582 wxColour
*arg3
= 0 ;
22584 PyObject
* obj0
= 0 ;
22585 PyObject
* obj1
= 0 ;
22586 PyObject
* obj2
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "self",(char *) "item",(char *) "col", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 arg2
= (long) SWIG_AsLong(obj1
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22598 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22619 PyObject
* obj0
= 0 ;
22620 PyObject
* obj1
= 0 ;
22621 char *kwnames
[] = {
22622 (char *) "self",(char *) "item", NULL
22625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 arg2
= (long) SWIG_AsLong(obj1
);
22629 if (PyErr_Occurred()) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22638 wxColour
* resultptr
;
22639 resultptr
= new wxColour((wxColour
&) result
);
22640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22648 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22649 PyObject
*resultobj
;
22650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22652 wxColour
*arg3
= 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 PyObject
* obj2
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "item",(char *) "col", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22664 arg2
= (long) SWIG_AsLong(obj1
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "item", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22698 arg2
= (long) SWIG_AsLong(obj1
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22708 wxColour
* resultptr
;
22709 resultptr
= new wxColour((wxColour
&) result
);
22710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22718 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22721 PyObject
*arg2
= (PyObject
*) 0 ;
22723 PyObject
* obj0
= 0 ;
22724 PyObject
* obj1
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "func", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 resultobj
= wxPyMake_wxObject(result
);
22777 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22778 PyObject
*resultobj
;
22779 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
22780 wxVisualAttributes result
;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "variant", NULL
22786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
22788 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 wxVisualAttributes
* resultptr
;
22800 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
22801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
22809 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
22811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22812 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
22814 return Py_BuildValue((char *)"");
22816 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22818 wxWindow
*arg1
= (wxWindow
*) 0 ;
22819 int arg2
= (int) -1 ;
22820 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22821 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22822 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22823 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22824 long arg5
= (long) wxLC_REPORT
;
22825 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
22826 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
22827 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
22828 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22829 wxListView
*result
;
22832 bool temp7
= False
;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 PyObject
* obj2
= 0 ;
22836 PyObject
* obj3
= 0 ;
22837 PyObject
* obj4
= 0 ;
22838 PyObject
* obj5
= 0 ;
22839 PyObject
* obj6
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 arg2
= (int) SWIG_AsInt(obj1
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22864 arg5
= (long) SWIG_AsLong(obj4
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
22869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22871 if (arg6
== NULL
) {
22872 PyErr_SetString(PyExc_TypeError
,"null reference");
22878 arg7
= wxString_in_helper(obj6
);
22879 if (arg7
== NULL
) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22905 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxListView
*result
;
22908 char *kwnames
[] = {
22912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
22914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 result
= (wxListView
*)new wxListView();
22917 wxPyEndAllowThreads(__tstate
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
22927 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22928 PyObject
*resultobj
;
22929 wxListView
*arg1
= (wxListView
*) 0 ;
22930 wxWindow
*arg2
= (wxWindow
*) 0 ;
22931 int arg3
= (int) -1 ;
22932 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22933 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22934 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22935 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22936 long arg6
= (long) wxLC_REPORT
;
22937 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
22938 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
22939 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
22940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
22944 bool temp8
= False
;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 PyObject
* obj2
= 0 ;
22948 PyObject
* obj3
= 0 ;
22949 PyObject
* obj4
= 0 ;
22950 PyObject
* obj5
= 0 ;
22951 PyObject
* obj6
= 0 ;
22952 PyObject
* obj7
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 arg3
= (int) SWIG_AsInt(obj2
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22979 arg6
= (long) SWIG_AsLong(obj5
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22986 if (arg7
== NULL
) {
22987 PyErr_SetString(PyExc_TypeError
,"null reference");
22993 arg8
= wxString_in_helper(obj7
);
22994 if (arg8
== NULL
) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23022 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23023 PyObject
*resultobj
;
23024 wxListView
*arg1
= (wxListView
*) 0 ;
23026 bool arg3
= (bool) True
;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 PyObject
* obj2
= 0 ;
23030 char *kwnames
[] = {
23031 (char *) "self",(char *) "n",(char *) "on", NULL
23034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23037 arg2
= (long) SWIG_AsLong(obj1
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 arg3
= (bool) SWIG_AsBool(obj2
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 (arg1
)->Select(arg2
,arg3
);
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 Py_INCREF(Py_None
); resultobj
= Py_None
;
23057 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23058 PyObject
*resultobj
;
23059 wxListView
*arg1
= (wxListView
*) 0 ;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "index", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 arg2
= (long) SWIG_AsLong(obj1
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 (arg1
)->Focus(arg2
);
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxListView
*arg1
= (wxListView
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_FromLong((long)result
);
23112 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxListView
*arg1
= (wxListView
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self",(char *) "item", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 arg2
= (long) SWIG_AsLong(obj1
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23132 wxPyEndAllowThreads(__tstate
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= SWIG_FromLong((long)result
);
23142 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23143 PyObject
*resultobj
;
23144 wxListView
*arg1
= (wxListView
*) 0 ;
23146 PyObject
* obj0
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23156 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23158 wxPyEndAllowThreads(__tstate
);
23159 if (PyErr_Occurred()) SWIG_fail
;
23161 resultobj
= SWIG_FromLong((long)result
);
23168 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxListView
*arg1
= (wxListView
*) 0 ;
23173 PyObject
* obj0
= 0 ;
23174 PyObject
* obj1
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "index", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23182 arg2
= (long) SWIG_AsLong(obj1
);
23183 if (PyErr_Occurred()) SWIG_fail
;
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (bool)(arg1
)->IsSelected(arg2
);
23188 wxPyEndAllowThreads(__tstate
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23200 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxListView
*arg1
= (wxListView
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 PyObject
* obj1
= 0 ;
23207 PyObject
* obj2
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "col",(char *) "image", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23215 arg2
= (int) SWIG_AsInt(obj1
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23217 arg3
= (int) SWIG_AsInt(obj2
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 (arg1
)->SetColumnImage(arg2
,arg3
);
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23226 Py_INCREF(Py_None
); resultobj
= Py_None
;
23233 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxListView
*arg1
= (wxListView
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 char *kwnames
[] = {
23240 (char *) "self",(char *) "col", NULL
23243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 arg2
= (int) SWIG_AsInt(obj1
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->ClearColumnImage(arg2
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 Py_INCREF(Py_None
); resultobj
= Py_None
;
23262 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23265 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23267 return Py_BuildValue((char *)"");
23269 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23270 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23275 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23280 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23282 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23289 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxTreeItemId
*result
;
23292 char *kwnames
[] = {
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 result
= (wxTreeItemId
*)new wxTreeItemId();
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23311 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23340 PyObject
* obj0
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23364 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23365 PyObject
*resultobj
;
23366 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23367 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "other", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23396 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23399 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "other", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23428 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23431 void *arg2
= (void *) 0 ;
23432 PyObject
* obj0
= 0 ;
23433 PyObject
* obj1
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self",(char *) "m_pItem", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23441 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23442 if (arg1
) (arg1
)->m_pItem
= arg2
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23455 PyObject
* obj0
= 0 ;
23456 char *kwnames
[] = {
23457 (char *) "self", NULL
23460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
23461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 result
= (void *) ((arg1
)->m_pItem
);
23465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
23472 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
23474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23475 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
23477 return Py_BuildValue((char *)"");
23479 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 PyObject
*arg1
= (PyObject
*) NULL
;
23482 wxPyTreeItemData
*result
;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "obj", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
23506 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23508 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23510 PyObject
* obj0
= 0 ;
23511 char *kwnames
[] = {
23512 (char *) "self", NULL
23515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
23516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 result
= (PyObject
*)(arg1
)->GetData();
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 resultobj
= result
;
23532 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23535 PyObject
*arg2
= (PyObject
*) 0 ;
23536 PyObject
* obj0
= 0 ;
23537 PyObject
* obj1
= 0 ;
23538 char *kwnames
[] = {
23539 (char *) "self",(char *) "obj", NULL
23542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23548 (arg1
)->SetData(arg2
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 Py_INCREF(Py_None
); resultobj
= Py_None
;
23560 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23561 PyObject
*resultobj
;
23562 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23563 wxTreeItemId
*result
;
23564 PyObject
* obj0
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
23576 result
= (wxTreeItemId
*) &_result_ref
;
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
23589 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23592 wxTreeItemId
*arg2
= 0 ;
23593 PyObject
* obj0
= 0 ;
23594 PyObject
* obj1
= 0 ;
23595 char *kwnames
[] = {
23596 (char *) "self",(char *) "id", NULL
23599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23605 if (arg2
== NULL
) {
23606 PyErr_SetString(PyExc_TypeError
,"null reference");
23610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23611 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 Py_INCREF(Py_None
); resultobj
= Py_None
;
23623 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
23632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 wxPyTreeItemData_Destroy(arg1
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 Py_INCREF(Py_None
); resultobj
= Py_None
;
23648 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
23650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23651 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
23653 return Py_BuildValue((char *)"");
23655 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23658 int arg2
= (int) 0 ;
23659 wxTreeEvent
*result
;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "commandType",(char *) "id", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23668 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 arg2
= (int) SWIG_AsInt(obj1
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
23689 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23692 wxTreeItemId result
;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23709 wxTreeItemId
* resultptr
;
23710 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23719 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
;
23721 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23722 wxTreeItemId
*arg2
= 0 ;
23723 PyObject
* obj0
= 0 ;
23724 PyObject
* obj1
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "item", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23735 if (arg2
== NULL
) {
23736 PyErr_SetString(PyExc_TypeError
,"null reference");
23740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23741 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
23743 wxPyEndAllowThreads(__tstate
);
23744 if (PyErr_Occurred()) SWIG_fail
;
23746 Py_INCREF(Py_None
); resultobj
= Py_None
;
23753 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23756 wxTreeItemId result
;
23757 PyObject
* obj0
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23767 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 wxTreeItemId
* resultptr
;
23774 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
23775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
23783 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23786 wxTreeItemId
*arg2
= 0 ;
23787 PyObject
* obj0
= 0 ;
23788 PyObject
* obj1
= 0 ;
23789 char *kwnames
[] = {
23790 (char *) "self",(char *) "item", NULL
23793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23799 if (arg2
== NULL
) {
23800 PyErr_SetString(PyExc_TypeError
,"null reference");
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 Py_INCREF(Py_None
); resultobj
= Py_None
;
23817 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
;
23819 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 wxPoint
* resultptr
;
23838 resultptr
= new wxPoint((wxPoint
&) result
);
23839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
23847 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23850 wxPoint
*arg2
= 0 ;
23852 PyObject
* obj0
= 0 ;
23853 PyObject
* obj1
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "pt", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 Py_INCREF(Py_None
); resultobj
= Py_None
;
23879 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23881 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23882 wxKeyEvent
*result
;
23883 PyObject
* obj0
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
23895 result
= (wxKeyEvent
*) &_result_ref
;
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
23908 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 char *kwnames
[] = {
23914 (char *) "self", NULL
23917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
23918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= SWIG_FromInt((int)result
);
23934 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23937 wxKeyEvent
*arg2
= 0 ;
23938 PyObject
* obj0
= 0 ;
23939 PyObject
* obj1
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self",(char *) "evt", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
23948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23950 if (arg2
== NULL
) {
23951 PyErr_SetString(PyExc_TypeError
,"null reference");
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
23984 result
= (wxString
*) &_result_ref
;
23987 wxPyEndAllowThreads(__tstate
);
23988 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23994 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24003 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24006 wxString
*arg2
= 0 ;
24007 bool temp2
= False
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "label", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 arg2
= wxString_in_helper(obj1
);
24019 if (arg2
== NULL
) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->SetLabel((wxString
const &)*arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24044 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24072 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "editCancelled", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 arg2
= (bool) SWIG_AsBool(obj1
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 (arg1
)->SetEditCanceled(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 Py_INCREF(Py_None
); resultobj
= Py_None
;
24101 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24104 wxString
*arg2
= 0 ;
24105 bool temp2
= False
;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self",(char *) "toolTip", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24116 arg2
= wxString_in_helper(obj1
);
24117 if (arg2
== NULL
) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24142 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24145 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24147 return Py_BuildValue((char *)"");
24149 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxWindow
*arg1
= (wxWindow
*) 0 ;
24152 int arg2
= (int) -1 ;
24153 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24154 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24155 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24156 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24157 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24158 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24159 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24160 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24162 wxPyTreeCtrl
*result
;
24165 bool temp7
= False
;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 PyObject
* obj2
= 0 ;
24169 PyObject
* obj3
= 0 ;
24170 PyObject
* obj4
= 0 ;
24171 PyObject
* obj5
= 0 ;
24172 PyObject
* obj6
= 0 ;
24173 char *kwnames
[] = {
24174 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 arg2
= (int) SWIG_AsInt(obj1
);
24182 if (PyErr_Occurred()) SWIG_fail
;
24187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24193 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24197 arg5
= (long) SWIG_AsLong(obj4
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24201 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24204 if (arg6
== NULL
) {
24205 PyErr_SetString(PyExc_TypeError
,"null reference");
24211 arg7
= wxString_in_helper(obj6
);
24212 if (arg7
== NULL
) SWIG_fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= wxPyMake_wxObject(result
);
24240 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxPyTreeCtrl
*result
;
24243 char *kwnames
[] = {
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= wxPyMake_wxObject(result
);
24264 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24267 wxWindow
*arg2
= (wxWindow
*) 0 ;
24268 int arg3
= (int) -1 ;
24269 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24270 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24271 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24272 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24273 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24274 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24275 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24276 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24277 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24281 bool temp8
= False
;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 PyObject
* obj2
= 0 ;
24285 PyObject
* obj3
= 0 ;
24286 PyObject
* obj4
= 0 ;
24287 PyObject
* obj5
= 0 ;
24288 PyObject
* obj6
= 0 ;
24289 PyObject
* obj7
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 arg3
= (int) SWIG_AsInt(obj2
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24316 arg6
= (long) SWIG_AsLong(obj5
);
24317 if (PyErr_Occurred()) SWIG_fail
;
24320 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24323 if (arg7
== NULL
) {
24324 PyErr_SetString(PyExc_TypeError
,"null reference");
24330 arg8
= wxString_in_helper(obj7
);
24331 if (arg8
== NULL
) SWIG_fail
;
24336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24339 wxPyEndAllowThreads(__tstate
);
24340 if (PyErr_Occurred()) SWIG_fail
;
24343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24359 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24360 PyObject
*resultobj
;
24361 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24362 PyObject
*arg2
= (PyObject
*) 0 ;
24363 PyObject
*arg3
= (PyObject
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 PyObject
* obj2
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "self",(char *) "_class", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 Py_INCREF(Py_None
); resultobj
= Py_None
;
24390 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24394 PyObject
* obj0
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24416 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24419 unsigned int result
;
24420 PyObject
* obj0
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
24432 wxPyEndAllowThreads(__tstate
);
24433 if (PyErr_Occurred()) SWIG_fail
;
24435 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24442 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24445 unsigned int arg2
;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char *kwnames
[] = {
24449 (char *) "self",(char *) "indent", NULL
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
24453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24455 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 (arg1
)->SetIndent(arg2
);
24461 wxPyEndAllowThreads(__tstate
);
24462 if (PyErr_Occurred()) SWIG_fail
;
24464 Py_INCREF(Py_None
); resultobj
= Py_None
;
24471 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24474 unsigned int result
;
24475 PyObject
* obj0
= 0 ;
24476 char *kwnames
[] = {
24477 (char *) "self", NULL
24480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
24481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
24497 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24498 PyObject
*resultobj
;
24499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24500 unsigned int arg2
;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "spacing", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24510 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24514 (arg1
)->SetSpacing(arg2
);
24516 wxPyEndAllowThreads(__tstate
);
24517 if (PyErr_Occurred()) SWIG_fail
;
24519 Py_INCREF(Py_None
); resultobj
= Py_None
;
24526 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24527 PyObject
*resultobj
;
24528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24529 wxImageList
*result
;
24530 PyObject
* obj0
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
24536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= wxPyMake_wxObject(result
);
24554 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24557 wxImageList
*result
;
24558 PyObject
* obj0
= 0 ;
24559 char *kwnames
[] = {
24560 (char *) "self", NULL
24563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
24564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= wxPyMake_wxObject(result
);
24582 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24585 wxImageList
*arg2
= (wxImageList
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "self",(char *) "imageList", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 (arg1
)->SetImageList(arg2
);
24601 wxPyEndAllowThreads(__tstate
);
24602 if (PyErr_Occurred()) SWIG_fail
;
24604 Py_INCREF(Py_None
); resultobj
= Py_None
;
24611 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24612 PyObject
*resultobj
;
24613 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24614 wxImageList
*arg2
= (wxImageList
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 char *kwnames
[] = {
24618 (char *) "self",(char *) "imageList", NULL
24621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 (arg1
)->SetStateImageList(arg2
);
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24633 Py_INCREF(Py_None
); resultobj
= Py_None
;
24640 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24641 PyObject
*resultobj
;
24642 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24643 wxImageList
*arg2
= (wxImageList
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self",(char *) "imageList", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24654 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 (arg1
)->AssignImageList(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 Py_INCREF(Py_None
); resultobj
= Py_None
;
24669 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24672 wxImageList
*arg2
= (wxImageList
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self",(char *) "imageList", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
24683 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->AssignStateImageList(arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 Py_INCREF(Py_None
); resultobj
= Py_None
;
24698 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24701 wxTreeItemId
*arg2
= 0 ;
24703 PyObject
* obj0
= 0 ;
24704 PyObject
* obj1
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self",(char *) "item", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24715 if (arg2
== NULL
) {
24716 PyErr_SetString(PyExc_TypeError
,"null reference");
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24739 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24742 wxTreeItemId
*arg2
= 0 ;
24743 int arg3
= (int) wxTreeItemIcon_Normal
;
24745 PyObject
* obj0
= 0 ;
24746 PyObject
* obj1
= 0 ;
24747 PyObject
* obj2
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self",(char *) "item",(char *) "which", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24758 if (arg2
== NULL
) {
24759 PyErr_SetString(PyExc_TypeError
,"null reference");
24763 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24768 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
24770 wxPyEndAllowThreads(__tstate
);
24771 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= SWIG_FromInt((int)result
);
24780 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24781 PyObject
*resultobj
;
24782 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24783 wxTreeItemId
*arg2
= 0 ;
24784 wxPyTreeItemData
*result
;
24785 PyObject
* obj0
= 0 ;
24786 PyObject
* obj1
= 0 ;
24787 char *kwnames
[] = {
24788 (char *) "self",(char *) "item", NULL
24791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
24792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24797 if (arg2
== NULL
) {
24798 PyErr_SetString(PyExc_TypeError
,"null reference");
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
24815 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24816 PyObject
*resultobj
;
24817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24818 wxTreeItemId
*arg2
= 0 ;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self",(char *) "item", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24832 if (arg2
== NULL
) {
24833 PyErr_SetString(PyExc_TypeError
,"null reference");
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
24840 wxPyEndAllowThreads(__tstate
);
24841 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
;
24850 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24853 wxTreeItemId
*arg2
= 0 ;
24855 PyObject
* obj0
= 0 ;
24856 PyObject
* obj1
= 0 ;
24857 char *kwnames
[] = {
24858 (char *) "self",(char *) "item", NULL
24861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24865 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24867 if (arg2
== NULL
) {
24868 PyErr_SetString(PyExc_TypeError
,"null reference");
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24879 wxColour
* resultptr
;
24880 resultptr
= new wxColour((wxColour
&) result
);
24881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24889 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24892 wxTreeItemId
*arg2
= 0 ;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "item", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24906 if (arg2
== NULL
) {
24907 PyErr_SetString(PyExc_TypeError
,"null reference");
24911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
24914 wxPyEndAllowThreads(__tstate
);
24915 if (PyErr_Occurred()) SWIG_fail
;
24918 wxColour
* resultptr
;
24919 resultptr
= new wxColour((wxColour
&) result
);
24920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24928 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24931 wxTreeItemId
*arg2
= 0 ;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "item", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24943 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24945 if (arg2
== NULL
) {
24946 PyErr_SetString(PyExc_TypeError
,"null reference");
24950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24951 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
24953 wxPyEndAllowThreads(__tstate
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24957 wxFont
* resultptr
;
24958 resultptr
= new wxFont((wxFont
&) result
);
24959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
24967 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24968 PyObject
*resultobj
;
24969 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24970 wxTreeItemId
*arg2
= 0 ;
24971 wxString
*arg3
= 0 ;
24972 bool temp3
= False
;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 PyObject
* obj2
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "item",(char *) "text", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24986 if (arg2
== NULL
) {
24987 PyErr_SetString(PyExc_TypeError
,"null reference");
24991 arg3
= wxString_in_helper(obj2
);
24992 if (arg3
== NULL
) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 Py_INCREF(Py_None
); resultobj
= Py_None
;
25017 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25020 wxTreeItemId
*arg2
= 0 ;
25022 int arg4
= (int) wxTreeItemIcon_Normal
;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 PyObject
* obj2
= 0 ;
25026 PyObject
* obj3
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25037 if (arg2
== NULL
) {
25038 PyErr_SetString(PyExc_TypeError
,"null reference");
25041 arg3
= (int) SWIG_AsInt(obj2
);
25042 if (PyErr_Occurred()) SWIG_fail
;
25044 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25054 Py_INCREF(Py_None
); resultobj
= Py_None
;
25061 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25062 PyObject
*resultobj
;
25063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25064 wxTreeItemId
*arg2
= 0 ;
25065 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 PyObject
* obj2
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self",(char *) "item",(char *) "data", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25079 if (arg2
== NULL
) {
25080 PyErr_SetString(PyExc_TypeError
,"null reference");
25083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 Py_INCREF(Py_None
); resultobj
= Py_None
;
25099 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25102 wxTreeItemId
*arg2
= 0 ;
25103 PyObject
*arg3
= (PyObject
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 PyObject
* obj2
= 0 ;
25107 char *kwnames
[] = {
25108 (char *) "self",(char *) "item",(char *) "obj", NULL
25111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25117 if (arg2
== NULL
) {
25118 PyErr_SetString(PyExc_TypeError
,"null reference");
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25129 Py_INCREF(Py_None
); resultobj
= Py_None
;
25136 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25137 PyObject
*resultobj
;
25138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25139 wxTreeItemId
*arg2
= 0 ;
25140 bool arg3
= (bool) True
;
25141 PyObject
* obj0
= 0 ;
25142 PyObject
* obj1
= 0 ;
25143 PyObject
* obj2
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self",(char *) "item",(char *) "has", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25152 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25154 if (arg2
== NULL
) {
25155 PyErr_SetString(PyExc_TypeError
,"null reference");
25159 arg3
= (bool) SWIG_AsBool(obj2
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25166 wxPyEndAllowThreads(__tstate
);
25167 if (PyErr_Occurred()) SWIG_fail
;
25169 Py_INCREF(Py_None
); resultobj
= Py_None
;
25176 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25179 wxTreeItemId
*arg2
= 0 ;
25180 bool arg3
= (bool) True
;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 PyObject
* obj2
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self",(char *) "item",(char *) "bold", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25194 if (arg2
== NULL
) {
25195 PyErr_SetString(PyExc_TypeError
,"null reference");
25199 arg3
= (bool) SWIG_AsBool(obj2
);
25200 if (PyErr_Occurred()) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 Py_INCREF(Py_None
); resultobj
= Py_None
;
25216 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25219 wxTreeItemId
*arg2
= 0 ;
25220 bool arg3
= (bool) True
;
25221 PyObject
* obj0
= 0 ;
25222 PyObject
* obj1
= 0 ;
25223 PyObject
* obj2
= 0 ;
25224 char *kwnames
[] = {
25225 (char *) "self",(char *) "item",(char *) "highlight", NULL
25228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25234 if (arg2
== NULL
) {
25235 PyErr_SetString(PyExc_TypeError
,"null reference");
25239 arg3
= (bool) SWIG_AsBool(obj2
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
;
25258 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25259 wxTreeItemId
*arg2
= 0 ;
25260 wxColour
*arg3
= 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 PyObject
* obj2
= 0 ;
25265 char *kwnames
[] = {
25266 (char *) "self",(char *) "item",(char *) "col", NULL
25269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25275 if (arg2
== NULL
) {
25276 PyErr_SetString(PyExc_TypeError
,"null reference");
25281 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25285 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25290 Py_INCREF(Py_None
); resultobj
= Py_None
;
25297 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25300 wxTreeItemId
*arg2
= 0 ;
25301 wxColour
*arg3
= 0 ;
25303 PyObject
* obj0
= 0 ;
25304 PyObject
* obj1
= 0 ;
25305 PyObject
* obj2
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "item",(char *) "col", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25316 if (arg2
== NULL
) {
25317 PyErr_SetString(PyExc_TypeError
,"null reference");
25322 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 Py_INCREF(Py_None
); resultobj
= Py_None
;
25338 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25341 wxTreeItemId
*arg2
= 0 ;
25343 PyObject
* obj0
= 0 ;
25344 PyObject
* obj1
= 0 ;
25345 PyObject
* obj2
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "self",(char *) "item",(char *) "font", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25356 if (arg2
== NULL
) {
25357 PyErr_SetString(PyExc_TypeError
,"null reference");
25360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25363 if (arg3
== NULL
) {
25364 PyErr_SetString(PyExc_TypeError
,"null reference");
25368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25369 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 Py_INCREF(Py_None
); resultobj
= Py_None
;
25381 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25384 wxTreeItemId
*arg2
= 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "item", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25398 if (arg2
== NULL
) {
25399 PyErr_SetString(PyExc_TypeError
,"null reference");
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25418 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25421 wxTreeItemId
*arg2
= 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "item", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25435 if (arg2
== NULL
) {
25436 PyErr_SetString(PyExc_TypeError
,"null reference");
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25455 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25458 wxTreeItemId
*arg2
= 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "item", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25470 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25472 if (arg2
== NULL
) {
25473 PyErr_SetString(PyExc_TypeError
,"null reference");
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25492 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25495 wxTreeItemId
*arg2
= 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "item", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25509 if (arg2
== NULL
) {
25510 PyErr_SetString(PyExc_TypeError
,"null reference");
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25529 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25530 PyObject
*resultobj
;
25531 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25532 wxTreeItemId
*arg2
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "item", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25544 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25546 if (arg2
== NULL
) {
25547 PyErr_SetString(PyExc_TypeError
,"null reference");
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25566 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25569 wxTreeItemId
*arg2
= 0 ;
25570 bool arg3
= (bool) True
;
25572 PyObject
* obj0
= 0 ;
25573 PyObject
* obj1
= 0 ;
25574 PyObject
* obj2
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "item",(char *) "recursively", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25585 if (arg2
== NULL
) {
25586 PyErr_SetString(PyExc_TypeError
,"null reference");
25590 arg3
= (bool) SWIG_AsBool(obj2
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
25597 wxPyEndAllowThreads(__tstate
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25607 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25610 wxTreeItemId result
;
25611 PyObject
* obj0
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25627 wxTreeItemId
* resultptr
;
25628 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25637 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25638 PyObject
*resultobj
;
25639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25640 wxTreeItemId result
;
25641 PyObject
* obj0
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
25653 wxPyEndAllowThreads(__tstate
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25657 wxTreeItemId
* resultptr
;
25658 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25667 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25668 PyObject
*resultobj
;
25669 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25671 PyObject
* obj0
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= result
;
25693 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25696 wxTreeItemId
*arg2
= 0 ;
25697 wxTreeItemId result
;
25698 PyObject
* obj0
= 0 ;
25699 PyObject
* obj1
= 0 ;
25700 char *kwnames
[] = {
25701 (char *) "self",(char *) "item", NULL
25704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
25705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25710 if (arg2
== NULL
) {
25711 PyErr_SetString(PyExc_TypeError
,"null reference");
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25722 wxTreeItemId
* resultptr
;
25723 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25732 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25733 PyObject
*resultobj
;
25734 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25735 wxTreeItemId
*arg2
= 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 char *kwnames
[] = {
25740 (char *) "self",(char *) "item", NULL
25743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25749 if (arg2
== NULL
) {
25750 PyErr_SetString(PyExc_TypeError
,"null reference");
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= result
;
25767 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 wxTreeItemId
*arg2
= 0 ;
25771 void *arg3
= (void *) 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 PyObject
* obj2
= 0 ;
25776 char *kwnames
[] = {
25777 (char *) "self",(char *) "item",(char *) "cookie", NULL
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25786 if (arg2
== NULL
) {
25787 PyErr_SetString(PyExc_TypeError
,"null reference");
25790 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= result
;
25805 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25808 wxTreeItemId
*arg2
= 0 ;
25809 wxTreeItemId result
;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "item", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25822 if (arg2
== NULL
) {
25823 PyErr_SetString(PyExc_TypeError
,"null reference");
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25834 wxTreeItemId
* resultptr
;
25835 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25836 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25844 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25847 wxTreeItemId
*arg2
= 0 ;
25848 wxTreeItemId result
;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 char *kwnames
[] = {
25852 (char *) "self",(char *) "item", NULL
25855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25861 if (arg2
== NULL
) {
25862 PyErr_SetString(PyExc_TypeError
,"null reference");
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25873 wxTreeItemId
* resultptr
;
25874 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25883 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
;
25885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25886 wxTreeItemId
*arg2
= 0 ;
25887 wxTreeItemId result
;
25888 PyObject
* obj0
= 0 ;
25889 PyObject
* obj1
= 0 ;
25890 char *kwnames
[] = {
25891 (char *) "self",(char *) "item", NULL
25894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
25895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25900 if (arg2
== NULL
) {
25901 PyErr_SetString(PyExc_TypeError
,"null reference");
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 wxTreeItemId
* resultptr
;
25913 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25922 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
;
25924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25925 wxTreeItemId result
;
25926 PyObject
* obj0
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25936 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 wxTreeItemId
* resultptr
;
25943 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25952 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25953 PyObject
*resultobj
;
25954 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25955 wxTreeItemId
*arg2
= 0 ;
25956 wxTreeItemId result
;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 char *kwnames
[] = {
25960 (char *) "self",(char *) "item", NULL
25963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25981 wxTreeItemId
* resultptr
;
25982 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25991 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25994 wxTreeItemId
*arg2
= 0 ;
25995 wxTreeItemId result
;
25996 PyObject
* obj0
= 0 ;
25997 PyObject
* obj1
= 0 ;
25998 char *kwnames
[] = {
25999 (char *) "self",(char *) "item", NULL
26002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26005 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26006 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26008 if (arg2
== NULL
) {
26009 PyErr_SetString(PyExc_TypeError
,"null reference");
26013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26014 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26020 wxTreeItemId
* resultptr
;
26021 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26030 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26031 PyObject
*resultobj
;
26032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26033 wxString
*arg2
= 0 ;
26034 int arg3
= (int) -1 ;
26035 int arg4
= (int) -1 ;
26036 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26037 wxTreeItemId result
;
26038 bool temp2
= False
;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 PyObject
* obj2
= 0 ;
26042 PyObject
* obj3
= 0 ;
26043 PyObject
* obj4
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26052 arg2
= wxString_in_helper(obj1
);
26053 if (arg2
== NULL
) SWIG_fail
;
26057 arg3
= (int) SWIG_AsInt(obj2
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26061 arg4
= (int) SWIG_AsInt(obj3
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26065 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26076 wxTreeItemId
* resultptr
;
26077 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26094 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26095 PyObject
*resultobj
;
26096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26097 wxTreeItemId
*arg2
= 0 ;
26098 wxString
*arg3
= 0 ;
26099 int arg4
= (int) -1 ;
26100 int arg5
= (int) -1 ;
26101 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26102 wxTreeItemId result
;
26103 bool temp3
= False
;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 PyObject
* obj2
= 0 ;
26107 PyObject
* obj3
= 0 ;
26108 PyObject
* obj4
= 0 ;
26109 PyObject
* obj5
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26120 if (arg2
== NULL
) {
26121 PyErr_SetString(PyExc_TypeError
,"null reference");
26125 arg3
= wxString_in_helper(obj2
);
26126 if (arg3
== NULL
) SWIG_fail
;
26130 arg4
= (int) SWIG_AsInt(obj3
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 arg5
= (int) SWIG_AsInt(obj4
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26143 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26145 wxPyEndAllowThreads(__tstate
);
26146 if (PyErr_Occurred()) SWIG_fail
;
26149 wxTreeItemId
* resultptr
;
26150 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26151 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26167 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26170 wxTreeItemId
*arg2
= 0 ;
26171 wxTreeItemId
*arg3
= 0 ;
26172 wxString
*arg4
= 0 ;
26173 int arg5
= (int) -1 ;
26174 int arg6
= (int) -1 ;
26175 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26176 wxTreeItemId result
;
26177 bool temp4
= False
;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 PyObject
* obj2
= 0 ;
26181 PyObject
* obj3
= 0 ;
26182 PyObject
* obj4
= 0 ;
26183 PyObject
* obj5
= 0 ;
26184 PyObject
* obj6
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26195 if (arg2
== NULL
) {
26196 PyErr_SetString(PyExc_TypeError
,"null reference");
26199 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26202 if (arg3
== NULL
) {
26203 PyErr_SetString(PyExc_TypeError
,"null reference");
26207 arg4
= wxString_in_helper(obj3
);
26208 if (arg4
== NULL
) SWIG_fail
;
26212 arg5
= (int) SWIG_AsInt(obj4
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 arg6
= (int) SWIG_AsInt(obj5
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26220 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26227 wxPyEndAllowThreads(__tstate
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26231 wxTreeItemId
* resultptr
;
26232 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26249 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26250 PyObject
*resultobj
;
26251 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26252 wxTreeItemId
*arg2
= 0 ;
26254 wxString
*arg4
= 0 ;
26255 int arg5
= (int) -1 ;
26256 int arg6
= (int) -1 ;
26257 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26258 wxTreeItemId result
;
26259 bool temp4
= False
;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 PyObject
* obj2
= 0 ;
26263 PyObject
* obj3
= 0 ;
26264 PyObject
* obj4
= 0 ;
26265 PyObject
* obj5
= 0 ;
26266 PyObject
* obj6
= 0 ;
26267 char *kwnames
[] = {
26268 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26277 if (arg2
== NULL
) {
26278 PyErr_SetString(PyExc_TypeError
,"null reference");
26281 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26282 if (PyErr_Occurred()) SWIG_fail
;
26284 arg4
= wxString_in_helper(obj3
);
26285 if (arg4
== NULL
) SWIG_fail
;
26289 arg5
= (int) SWIG_AsInt(obj4
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 arg6
= (int) SWIG_AsInt(obj5
);
26294 if (PyErr_Occurred()) SWIG_fail
;
26297 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26302 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26304 wxPyEndAllowThreads(__tstate
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26308 wxTreeItemId
* resultptr
;
26309 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26326 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26329 wxTreeItemId
*arg2
= 0 ;
26330 wxString
*arg3
= 0 ;
26331 int arg4
= (int) -1 ;
26332 int arg5
= (int) -1 ;
26333 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26334 wxTreeItemId result
;
26335 bool temp3
= False
;
26336 PyObject
* obj0
= 0 ;
26337 PyObject
* obj1
= 0 ;
26338 PyObject
* obj2
= 0 ;
26339 PyObject
* obj3
= 0 ;
26340 PyObject
* obj4
= 0 ;
26341 PyObject
* obj5
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26352 if (arg2
== NULL
) {
26353 PyErr_SetString(PyExc_TypeError
,"null reference");
26357 arg3
= wxString_in_helper(obj2
);
26358 if (arg3
== NULL
) SWIG_fail
;
26362 arg4
= (int) SWIG_AsInt(obj3
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26366 arg5
= (int) SWIG_AsInt(obj4
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26375 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 wxTreeItemId
* resultptr
;
26382 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26399 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26402 wxTreeItemId
*arg2
= 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 char *kwnames
[] = {
26406 (char *) "self",(char *) "item", NULL
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26415 if (arg2
== NULL
) {
26416 PyErr_SetString(PyExc_TypeError
,"null reference");
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 Py_INCREF(Py_None
); resultobj
= Py_None
;
26433 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26434 PyObject
*resultobj
;
26435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26436 wxTreeItemId
*arg2
= 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 char *kwnames
[] = {
26440 (char *) "self",(char *) "item", NULL
26443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26446 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26449 if (arg2
== NULL
) {
26450 PyErr_SetString(PyExc_TypeError
,"null reference");
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
26457 wxPyEndAllowThreads(__tstate
);
26458 if (PyErr_Occurred()) SWIG_fail
;
26460 Py_INCREF(Py_None
); resultobj
= Py_None
;
26467 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26470 PyObject
* obj0
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->DeleteAllItems();
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26485 Py_INCREF(Py_None
); resultobj
= Py_None
;
26492 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26493 PyObject
*resultobj
;
26494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26495 wxTreeItemId
*arg2
= 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self",(char *) "item", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26508 if (arg2
== NULL
) {
26509 PyErr_SetString(PyExc_TypeError
,"null reference");
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 Py_INCREF(Py_None
); resultobj
= Py_None
;
26526 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
;
26528 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26529 wxTreeItemId
*arg2
= 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char *kwnames
[] = {
26533 (char *) "self",(char *) "item", NULL
26536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
26537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26542 if (arg2
== NULL
) {
26543 PyErr_SetString(PyExc_TypeError
,"null reference");
26547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26548 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
26550 wxPyEndAllowThreads(__tstate
);
26551 if (PyErr_Occurred()) SWIG_fail
;
26553 Py_INCREF(Py_None
); resultobj
= Py_None
;
26560 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26563 wxTreeItemId
*arg2
= 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char *kwnames
[] = {
26567 (char *) "self",(char *) "item", NULL
26570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
26571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26574 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26576 if (arg2
== NULL
) {
26577 PyErr_SetString(PyExc_TypeError
,"null reference");
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26594 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
;
26596 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26597 wxTreeItemId
*arg2
= 0 ;
26598 PyObject
* obj0
= 0 ;
26599 PyObject
* obj1
= 0 ;
26600 char *kwnames
[] = {
26601 (char *) "self",(char *) "item", NULL
26604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
26605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26610 if (arg2
== NULL
) {
26611 PyErr_SetString(PyExc_TypeError
,"null reference");
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 Py_INCREF(Py_None
); resultobj
= Py_None
;
26628 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 (arg1
)->Unselect();
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 Py_INCREF(Py_None
); resultobj
= Py_None
;
26653 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26656 wxTreeItemId
*arg2
= 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "item", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26669 if (arg2
== NULL
) {
26670 PyErr_SetString(PyExc_TypeError
,"null reference");
26674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26675 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
26677 wxPyEndAllowThreads(__tstate
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26680 Py_INCREF(Py_None
); resultobj
= Py_None
;
26687 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 char *kwnames
[] = {
26692 (char *) "self", NULL
26695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
26696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->UnselectAll();
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26712 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26715 wxTreeItemId
*arg2
= 0 ;
26716 bool arg3
= (bool) True
;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 PyObject
* obj2
= 0 ;
26720 char *kwnames
[] = {
26721 (char *) "self",(char *) "item",(char *) "select", NULL
26724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26730 if (arg2
== NULL
) {
26731 PyErr_SetString(PyExc_TypeError
,"null reference");
26735 arg3
= (bool) SWIG_AsBool(obj2
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
26742 wxPyEndAllowThreads(__tstate
);
26743 if (PyErr_Occurred()) SWIG_fail
;
26745 Py_INCREF(Py_None
); resultobj
= Py_None
;
26752 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26754 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26755 wxTreeItemId
*arg2
= 0 ;
26756 PyObject
* obj0
= 0 ;
26757 PyObject
* obj1
= 0 ;
26758 char *kwnames
[] = {
26759 (char *) "self",(char *) "item", NULL
26762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26768 if (arg2
== NULL
) {
26769 PyErr_SetString(PyExc_TypeError
,"null reference");
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
26776 wxPyEndAllowThreads(__tstate
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 Py_INCREF(Py_None
); resultobj
= Py_None
;
26786 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26789 wxTreeItemId
*arg2
= 0 ;
26790 PyObject
* obj0
= 0 ;
26791 PyObject
* obj1
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self",(char *) "item", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26802 if (arg2
== NULL
) {
26803 PyErr_SetString(PyExc_TypeError
,"null reference");
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 Py_INCREF(Py_None
); resultobj
= Py_None
;
26820 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26823 wxTreeItemId
*arg2
= 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self",(char *) "item", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26836 if (arg2
== NULL
) {
26837 PyErr_SetString(PyExc_TypeError
,"null reference");
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 Py_INCREF(Py_None
); resultobj
= Py_None
;
26854 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26857 wxTreeItemId
*arg2
= 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char *kwnames
[] = {
26861 (char *) "self",(char *) "item", NULL
26864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26870 if (arg2
== NULL
) {
26871 PyErr_SetString(PyExc_TypeError
,"null reference");
26875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26876 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26881 Py_INCREF(Py_None
); resultobj
= Py_None
;
26888 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26889 PyObject
*resultobj
;
26890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26891 wxTextCtrl
*result
;
26892 PyObject
* obj0
= 0 ;
26893 char *kwnames
[] = {
26894 (char *) "self", NULL
26897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
26898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= wxPyMake_wxObject(result
);
26916 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26919 wxTreeItemId
*arg2
= 0 ;
26920 bool arg3
= (bool) False
;
26921 PyObject
* obj0
= 0 ;
26922 PyObject
* obj1
= 0 ;
26923 PyObject
* obj2
= 0 ;
26924 char *kwnames
[] = {
26925 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26934 if (arg2
== NULL
) {
26935 PyErr_SetString(PyExc_TypeError
,"null reference");
26939 arg3
= (bool) SWIG_AsBool(obj2
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26949 Py_INCREF(Py_None
); resultobj
= Py_None
;
26956 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26959 wxTreeItemId
*arg2
= 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self",(char *) "item", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26970 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26972 if (arg2
== NULL
) {
26973 PyErr_SetString(PyExc_TypeError
,"null reference");
26977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26978 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
26980 wxPyEndAllowThreads(__tstate
);
26981 if (PyErr_Occurred()) SWIG_fail
;
26983 Py_INCREF(Py_None
); resultobj
= Py_None
;
26990 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26991 PyObject
*resultobj
;
26992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26993 wxPoint
*arg2
= 0 ;
26995 wxTreeItemId result
;
26998 PyObject
* obj0
= 0 ;
26999 PyObject
* obj1
= 0 ;
27000 char *kwnames
[] = {
27001 (char *) "self",(char *) "point", NULL
27005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27010 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27014 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27016 wxPyEndAllowThreads(__tstate
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 wxTreeItemId
* resultptr
;
27021 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27025 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27026 resultobj
= t_output_helper(resultobj
,o
);
27034 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27035 PyObject
*resultobj
;
27036 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27037 wxTreeItemId
*arg2
= 0 ;
27038 bool arg3
= (bool) False
;
27040 PyObject
* obj0
= 0 ;
27041 PyObject
* obj1
= 0 ;
27042 PyObject
* obj2
= 0 ;
27043 char *kwnames
[] = {
27044 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27050 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27053 if (arg2
== NULL
) {
27054 PyErr_SetString(PyExc_TypeError
,"null reference");
27058 arg3
= (bool) SWIG_AsBool(obj2
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 resultobj
= result
;
27075 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27078 wxVisualAttributes result
;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "variant", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27086 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 wxVisualAttributes
* resultptr
;
27098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27107 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27110 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27112 return Py_BuildValue((char *)"");
27114 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27115 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27120 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27125 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27127 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27134 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
;
27136 wxWindow
*arg1
= (wxWindow
*) 0 ;
27137 int arg2
= (int) (int)-1 ;
27138 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27139 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27140 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27141 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27142 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27143 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27144 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27145 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27146 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27147 int arg8
= (int) 0 ;
27148 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27149 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27150 wxGenericDirCtrl
*result
;
27151 bool temp3
= False
;
27154 bool temp7
= False
;
27155 bool temp9
= False
;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 PyObject
* obj2
= 0 ;
27159 PyObject
* obj3
= 0 ;
27160 PyObject
* obj4
= 0 ;
27161 PyObject
* obj5
= 0 ;
27162 PyObject
* obj6
= 0 ;
27163 PyObject
* obj7
= 0 ;
27164 PyObject
* obj8
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27173 arg2
= (int const) SWIG_AsInt(obj1
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27178 arg3
= wxString_in_helper(obj2
);
27179 if (arg3
== NULL
) SWIG_fail
;
27186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27196 arg6
= (long) SWIG_AsLong(obj5
);
27197 if (PyErr_Occurred()) SWIG_fail
;
27201 arg7
= wxString_in_helper(obj6
);
27202 if (arg7
== NULL
) SWIG_fail
;
27207 arg8
= (int) SWIG_AsInt(obj7
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27212 arg9
= wxString_in_helper(obj8
);
27213 if (arg9
== NULL
) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27255 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxGenericDirCtrl
*result
;
27258 char *kwnames
[] = {
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27277 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27280 wxWindow
*arg2
= (wxWindow
*) 0 ;
27281 int arg3
= (int) (int)-1 ;
27282 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27284 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27285 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27286 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27287 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27288 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27289 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27290 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27291 int arg9
= (int) 0 ;
27292 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27293 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27295 bool temp4
= False
;
27298 bool temp8
= False
;
27299 bool temp10
= False
;
27300 PyObject
* obj0
= 0 ;
27301 PyObject
* obj1
= 0 ;
27302 PyObject
* obj2
= 0 ;
27303 PyObject
* obj3
= 0 ;
27304 PyObject
* obj4
= 0 ;
27305 PyObject
* obj5
= 0 ;
27306 PyObject
* obj6
= 0 ;
27307 PyObject
* obj7
= 0 ;
27308 PyObject
* obj8
= 0 ;
27309 PyObject
* obj9
= 0 ;
27310 char *kwnames
[] = {
27311 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27320 arg3
= (int const) SWIG_AsInt(obj2
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27325 arg4
= wxString_in_helper(obj3
);
27326 if (arg4
== NULL
) SWIG_fail
;
27333 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27339 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27343 arg7
= (long) SWIG_AsLong(obj6
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27348 arg8
= wxString_in_helper(obj7
);
27349 if (arg8
== NULL
) SWIG_fail
;
27354 arg9
= (int) SWIG_AsInt(obj8
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27359 arg10
= wxString_in_helper(obj9
);
27360 if (arg10
== NULL
) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27404 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27405 PyObject
*resultobj
;
27406 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27407 wxString
*arg2
= 0 ;
27409 bool temp2
= False
;
27410 PyObject
* obj0
= 0 ;
27411 PyObject
* obj1
= 0 ;
27412 char *kwnames
[] = {
27413 (char *) "self",(char *) "path", NULL
27416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27420 arg2
= wxString_in_helper(obj1
);
27421 if (arg2
== NULL
) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27448 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
;
27450 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27452 PyObject
* obj0
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27480 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27483 wxString
*arg2
= 0 ;
27484 bool temp2
= False
;
27485 PyObject
* obj0
= 0 ;
27486 PyObject
* obj1
= 0 ;
27487 char *kwnames
[] = {
27488 (char *) "self",(char *) "path", NULL
27491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27495 arg2
= wxString_in_helper(obj1
);
27496 if (arg2
== NULL
) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 Py_INCREF(Py_None
); resultobj
= Py_None
;
27521 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27522 PyObject
*resultobj
;
27523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27525 PyObject
* obj0
= 0 ;
27526 char *kwnames
[] = {
27527 (char *) "self", NULL
27530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
27531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27553 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27585 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27588 wxString
*arg2
= 0 ;
27589 bool temp2
= False
;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "path", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 arg2
= wxString_in_helper(obj1
);
27601 if (arg2
== NULL
) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 (arg1
)->SetPath((wxString
const &)*arg2
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27611 Py_INCREF(Py_None
); resultobj
= Py_None
;
27626 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27627 PyObject
*resultobj
;
27628 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27630 PyObject
* obj0
= 0 ;
27631 PyObject
* obj1
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self",(char *) "show", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27639 arg2
= (bool) SWIG_AsBool(obj1
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 (arg1
)->ShowHidden(arg2
);
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 Py_INCREF(Py_None
); resultobj
= Py_None
;
27655 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
;
27657 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27659 PyObject
* obj0
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "self", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
27665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 result
= (bool)(arg1
)->GetShowHidden();
27671 wxPyEndAllowThreads(__tstate
);
27672 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27683 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27684 PyObject
*resultobj
;
27685 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27687 PyObject
* obj0
= 0 ;
27688 char *kwnames
[] = {
27689 (char *) "self", NULL
27692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
27693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27715 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27716 PyObject
*resultobj
;
27717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27718 wxString
*arg2
= 0 ;
27719 bool temp2
= False
;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 char *kwnames
[] = {
27723 (char *) "self",(char *) "filter", NULL
27726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
27727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27730 arg2
= wxString_in_helper(obj1
);
27731 if (arg2
== NULL
) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 (arg1
)->SetFilter((wxString
const &)*arg2
);
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 Py_INCREF(Py_None
); resultobj
= Py_None
;
27756 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 char *kwnames
[] = {
27762 (char *) "self", NULL
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
27766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 resultobj
= SWIG_FromInt((int)result
);
27782 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27783 PyObject
*resultobj
;
27784 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27786 PyObject
* obj0
= 0 ;
27787 PyObject
* obj1
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self",(char *) "n", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27795 arg2
= (int) SWIG_AsInt(obj1
);
27796 if (PyErr_Occurred()) SWIG_fail
;
27798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27799 (arg1
)->SetFilterIndex(arg2
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 Py_INCREF(Py_None
); resultobj
= Py_None
;
27811 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27814 wxTreeItemId result
;
27815 PyObject
* obj0
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27825 result
= (arg1
)->GetRootId();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27831 wxTreeItemId
* resultptr
;
27832 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27841 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27844 wxPyTreeCtrl
*result
;
27845 PyObject
* obj0
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27855 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
27857 wxPyEndAllowThreads(__tstate
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27861 resultobj
= wxPyMake_wxObject(result
);
27869 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27870 PyObject
*resultobj
;
27871 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27872 wxDirFilterListCtrl
*result
;
27873 PyObject
* obj0
= 0 ;
27874 char *kwnames
[] = {
27875 (char *) "self", NULL
27878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
27879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
27885 wxPyEndAllowThreads(__tstate
);
27886 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
27895 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27896 PyObject
*resultobj
;
27897 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27898 wxTreeItemId arg2
;
27899 wxString
*arg3
= 0 ;
27901 wxTreeItemId result
;
27902 wxTreeItemId
*argp2
;
27903 bool temp3
= False
;
27905 PyObject
* obj0
= 0 ;
27906 PyObject
* obj1
= 0 ;
27907 PyObject
* obj2
= 0 ;
27908 char *kwnames
[] = {
27909 (char *) "self",(char *) "parentId",(char *) "path", NULL
27913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27916 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
27917 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
27920 arg3
= wxString_in_helper(obj2
);
27921 if (arg3
== NULL
) SWIG_fail
;
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
27928 wxPyEndAllowThreads(__tstate
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 wxTreeItemId
* resultptr
;
27933 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27937 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
27938 resultobj
= t_output_helper(resultobj
,o
);
27954 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
;
27956 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27967 (arg1
)->DoResize();
27969 wxPyEndAllowThreads(__tstate
);
27970 if (PyErr_Occurred()) SWIG_fail
;
27972 Py_INCREF(Py_None
); resultobj
= Py_None
;
27979 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27980 PyObject
*resultobj
;
27981 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27982 PyObject
* obj0
= 0 ;
27983 char *kwnames
[] = {
27984 (char *) "self", NULL
27987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
27988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 (arg1
)->ReCreateTree();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 Py_INCREF(Py_None
); resultobj
= Py_None
;
28004 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28007 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28009 return Py_BuildValue((char *)"");
28011 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28014 int arg2
= (int) (int)-1 ;
28015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28019 long arg5
= (long) 0 ;
28020 wxDirFilterListCtrl
*result
;
28023 PyObject
* obj0
= 0 ;
28024 PyObject
* obj1
= 0 ;
28025 PyObject
* obj2
= 0 ;
28026 PyObject
* obj3
= 0 ;
28027 PyObject
* obj4
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28036 arg2
= (int const) SWIG_AsInt(obj1
);
28037 if (PyErr_Occurred()) SWIG_fail
;
28042 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28048 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28052 arg5
= (long) SWIG_AsLong(obj4
);
28053 if (PyErr_Occurred()) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28069 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
;
28071 wxDirFilterListCtrl
*result
;
28072 char *kwnames
[] = {
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28091 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28092 PyObject
*resultobj
;
28093 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28094 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28095 int arg3
= (int) (int)-1 ;
28096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28100 long arg6
= (long) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 PyObject
* obj2
= 0 ;
28107 PyObject
* obj3
= 0 ;
28108 PyObject
* obj4
= 0 ;
28109 PyObject
* obj5
= 0 ;
28110 char *kwnames
[] = {
28111 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28120 arg3
= (int const) SWIG_AsInt(obj2
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28136 arg6
= (long) SWIG_AsLong(obj5
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28155 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28158 wxString
*arg2
= 0 ;
28160 bool temp2
= False
;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 PyObject
* obj2
= 0 ;
28164 char *kwnames
[] = {
28165 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28172 arg2
= wxString_in_helper(obj1
);
28173 if (arg2
== NULL
) SWIG_fail
;
28176 arg3
= (int) SWIG_AsInt(obj2
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28180 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28182 wxPyEndAllowThreads(__tstate
);
28183 if (PyErr_Occurred()) SWIG_fail
;
28185 Py_INCREF(Py_None
); resultobj
= Py_None
;
28200 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28203 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28205 return Py_BuildValue((char *)"");
28207 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxWindow
*arg1
= (wxWindow
*) 0 ;
28211 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28212 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28213 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28214 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28215 long arg5
= (long) 0 ;
28216 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28217 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28218 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28219 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28220 wxPyControl
*result
;
28223 bool temp7
= False
;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 PyObject
* obj2
= 0 ;
28227 PyObject
* obj3
= 0 ;
28228 PyObject
* obj4
= 0 ;
28229 PyObject
* obj5
= 0 ;
28230 PyObject
* obj6
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28238 arg2
= (int const) SWIG_AsInt(obj1
);
28239 if (PyErr_Occurred()) SWIG_fail
;
28243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28253 arg5
= (long) SWIG_AsLong(obj4
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28257 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28260 if (arg6
== NULL
) {
28261 PyErr_SetString(PyExc_TypeError
,"null reference");
28267 arg7
= wxString_in_helper(obj6
);
28268 if (arg7
== NULL
) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28294 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxPyControl
*result
;
28297 char *kwnames
[] = {
28301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28304 result
= (wxPyControl
*)new wxPyControl();
28306 wxPyEndAllowThreads(__tstate
);
28307 if (PyErr_Occurred()) SWIG_fail
;
28309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28316 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28319 PyObject
*arg2
= (PyObject
*) 0 ;
28320 PyObject
*arg3
= (PyObject
*) 0 ;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 PyObject
* obj2
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self",(char *) "self",(char *) "_class", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28349 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 PyObject
* obj2
= 0 ;
28357 PyObject
* obj3
= 0 ;
28358 PyObject
* obj4
= 0 ;
28359 char *kwnames
[] = {
28360 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28366 arg2
= (int) SWIG_AsInt(obj1
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28368 arg3
= (int) SWIG_AsInt(obj2
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28370 arg4
= (int) SWIG_AsInt(obj3
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28372 arg5
= (int) SWIG_AsInt(obj4
);
28373 if (PyErr_Occurred()) SWIG_fail
;
28375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28376 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28378 wxPyEndAllowThreads(__tstate
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 Py_INCREF(Py_None
); resultobj
= Py_None
;
28388 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28389 PyObject
*resultobj
;
28390 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28395 int arg6
= (int) wxSIZE_AUTO
;
28396 PyObject
* obj0
= 0 ;
28397 PyObject
* obj1
= 0 ;
28398 PyObject
* obj2
= 0 ;
28399 PyObject
* obj3
= 0 ;
28400 PyObject
* obj4
= 0 ;
28401 PyObject
* obj5
= 0 ;
28402 char *kwnames
[] = {
28403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28409 arg2
= (int) SWIG_AsInt(obj1
);
28410 if (PyErr_Occurred()) SWIG_fail
;
28411 arg3
= (int) SWIG_AsInt(obj2
);
28412 if (PyErr_Occurred()) SWIG_fail
;
28413 arg4
= (int) SWIG_AsInt(obj3
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28415 arg5
= (int) SWIG_AsInt(obj4
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 arg6
= (int) SWIG_AsInt(obj5
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 Py_INCREF(Py_None
); resultobj
= Py_None
;
28435 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28436 PyObject
*resultobj
;
28437 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28440 PyObject
* obj0
= 0 ;
28441 PyObject
* obj1
= 0 ;
28442 PyObject
* obj2
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "width",(char *) "height", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28450 arg2
= (int) SWIG_AsInt(obj1
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28452 arg3
= (int) SWIG_AsInt(obj2
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28458 wxPyEndAllowThreads(__tstate
);
28459 if (PyErr_Occurred()) SWIG_fail
;
28461 Py_INCREF(Py_None
); resultobj
= Py_None
;
28468 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28469 PyObject
*resultobj
;
28470 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28473 PyObject
* obj0
= 0 ;
28474 PyObject
* obj1
= 0 ;
28475 PyObject
* obj2
= 0 ;
28476 char *kwnames
[] = {
28477 (char *) "self",(char *) "x",(char *) "y", NULL
28480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28483 arg2
= (int) SWIG_AsInt(obj1
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28485 arg3
= (int) SWIG_AsInt(obj2
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 Py_INCREF(Py_None
); resultobj
= Py_None
;
28501 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28504 int *arg2
= (int *) 0 ;
28505 int *arg3
= (int *) 0 ;
28508 PyObject
* obj0
= 0 ;
28509 char *kwnames
[] = {
28510 (char *) "self", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28520 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 Py_INCREF(Py_None
); resultobj
= Py_None
;
28527 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28528 resultobj
= t_output_helper(resultobj
,o
);
28531 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28532 resultobj
= t_output_helper(resultobj
,o
);
28540 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28541 PyObject
*resultobj
;
28542 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28543 int *arg2
= (int *) 0 ;
28544 int *arg3
= (int *) 0 ;
28547 PyObject
* obj0
= 0 ;
28548 char *kwnames
[] = {
28549 (char *) "self", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
28555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
28561 wxPyEndAllowThreads(__tstate
);
28562 if (PyErr_Occurred()) SWIG_fail
;
28564 Py_INCREF(Py_None
); resultobj
= Py_None
;
28566 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28567 resultobj
= t_output_helper(resultobj
,o
);
28570 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28571 resultobj
= t_output_helper(resultobj
,o
);
28579 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28580 PyObject
*resultobj
;
28581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28582 int *arg2
= (int *) 0 ;
28583 int *arg3
= (int *) 0 ;
28586 PyObject
* obj0
= 0 ;
28587 char *kwnames
[] = {
28588 (char *) "self", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 Py_INCREF(Py_None
); resultobj
= Py_None
;
28605 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
28606 resultobj
= t_output_helper(resultobj
,o
);
28609 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
28610 resultobj
= t_output_helper(resultobj
,o
);
28618 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28619 PyObject
*resultobj
;
28620 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28622 PyObject
* obj0
= 0 ;
28623 char *kwnames
[] = {
28624 (char *) "self", NULL
28627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
28628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28638 wxSize
* resultptr
;
28639 resultptr
= new wxSize((wxSize
&) result
);
28640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28648 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 wxSize
* resultptr
;
28669 resultptr
= new wxSize((wxSize
&) result
);
28670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28678 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28679 PyObject
*resultobj
;
28680 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28681 PyObject
* obj0
= 0 ;
28682 char *kwnames
[] = {
28683 (char *) "self", NULL
28686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
28687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 (arg1
)->base_InitDialog();
28693 wxPyEndAllowThreads(__tstate
);
28694 if (PyErr_Occurred()) SWIG_fail
;
28696 Py_INCREF(Py_None
); resultobj
= Py_None
;
28703 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (bool)(arg1
)->base_TransferDataToWindow();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28731 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28735 PyObject
* obj0
= 0 ;
28736 char *kwnames
[] = {
28737 (char *) "self", NULL
28740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
28741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28745 result
= (bool)(arg1
)->base_TransferDataFromWindow();
28747 wxPyEndAllowThreads(__tstate
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28759 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
;
28761 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28763 PyObject
* obj0
= 0 ;
28764 char *kwnames
[] = {
28765 (char *) "self", NULL
28768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
28769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (bool)(arg1
)->base_Validate();
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28787 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28788 PyObject
*resultobj
;
28789 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28791 PyObject
* obj0
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28801 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
28803 wxPyEndAllowThreads(__tstate
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28815 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28816 PyObject
*resultobj
;
28817 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28819 PyObject
* obj0
= 0 ;
28820 char *kwnames
[] = {
28821 (char *) "self", NULL
28824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
28825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28843 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
;
28845 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28847 PyObject
* obj0
= 0 ;
28848 char *kwnames
[] = {
28849 (char *) "self", NULL
28852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
28853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28857 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
28859 wxPyEndAllowThreads(__tstate
);
28860 if (PyErr_Occurred()) SWIG_fail
;
28863 wxSize
* resultptr
;
28864 resultptr
= new wxSize((wxSize
&) result
);
28865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
28873 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28874 PyObject
*resultobj
;
28875 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28876 wxWindow
*arg2
= (wxWindow
*) 0 ;
28877 PyObject
* obj0
= 0 ;
28878 PyObject
* obj1
= 0 ;
28879 char *kwnames
[] = {
28880 (char *) "self",(char *) "child", NULL
28883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->base_AddChild(arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28905 wxWindow
*arg2
= (wxWindow
*) 0 ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 char *kwnames
[] = {
28909 (char *) "self",(char *) "child", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
28913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 (arg1
)->base_RemoveChild(arg2
);
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 Py_INCREF(Py_None
); resultobj
= Py_None
;
28931 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= (bool)(arg1
)->base_ShouldInheritColours();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28959 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28960 PyObject
*resultobj
;
28961 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28962 wxColour
*arg2
= 0 ;
28964 PyObject
* obj0
= 0 ;
28965 PyObject
* obj1
= 0 ;
28966 char *kwnames
[] = {
28967 (char *) "self",(char *) "c", NULL
28970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
28971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28975 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 Py_INCREF(Py_None
); resultobj
= Py_None
;
28991 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
28993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28994 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
28996 return Py_BuildValue((char *)"");
28998 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
;
29000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29001 int arg2
= (int) 0 ;
29002 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29003 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29004 wxHelpEvent
*result
;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 PyObject
* obj2
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "type",(char *) "winid",(char *) "pt", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29015 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29019 arg2
= (int) SWIG_AsInt(obj1
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29025 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29042 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
;
29044 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29046 PyObject
* obj0
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29062 wxPoint
* resultptr
;
29063 resultptr
= new wxPoint((wxPoint
&) result
);
29064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29072 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29073 PyObject
*resultobj
;
29074 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29075 wxPoint
*arg2
= 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "pos", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 Py_INCREF(Py_None
); resultobj
= Py_None
;
29104 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29120 result
= (wxString
*) &_result_ref
;
29123 wxPyEndAllowThreads(__tstate
);
29124 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29130 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29139 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29140 PyObject
*resultobj
;
29141 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29142 wxString
*arg2
= 0 ;
29143 bool temp2
= False
;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "self",(char *) "link", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 arg2
= wxString_in_helper(obj1
);
29155 if (arg2
== NULL
) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 (arg1
)->SetLink((wxString
const &)*arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 Py_INCREF(Py_None
); resultobj
= Py_None
;
29180 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29181 PyObject
*resultobj
;
29182 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29184 PyObject
* obj0
= 0 ;
29185 char *kwnames
[] = {
29186 (char *) "self", NULL
29189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29195 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29196 result
= (wxString
*) &_result_ref
;
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29204 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29206 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29215 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29216 PyObject
*resultobj
;
29217 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29218 wxString
*arg2
= 0 ;
29219 bool temp2
= False
;
29220 PyObject
* obj0
= 0 ;
29221 PyObject
* obj1
= 0 ;
29222 char *kwnames
[] = {
29223 (char *) "self",(char *) "target", NULL
29226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29230 arg2
= wxString_in_helper(obj1
);
29231 if (arg2
== NULL
) SWIG_fail
;
29235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29236 (arg1
)->SetTarget((wxString
const &)*arg2
);
29238 wxPyEndAllowThreads(__tstate
);
29239 if (PyErr_Occurred()) SWIG_fail
;
29241 Py_INCREF(Py_None
); resultobj
= Py_None
;
29256 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29259 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29261 return Py_BuildValue((char *)"");
29263 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxWindow
*arg1
= (wxWindow
*) NULL
;
29266 bool arg2
= (bool) True
;
29267 wxContextHelp
*result
;
29268 PyObject
* obj0
= 0 ;
29269 PyObject
* obj1
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "window",(char *) "doNow", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29280 arg2
= (bool) SWIG_AsBool(obj1
);
29281 if (PyErr_Occurred()) SWIG_fail
;
29284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29285 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29287 wxPyEndAllowThreads(__tstate
);
29288 if (PyErr_Occurred()) SWIG_fail
;
29290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29297 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
;
29299 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29300 PyObject
* obj0
= 0 ;
29301 char *kwnames
[] = {
29302 (char *) "self", NULL
29305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 wxPyEndAllowThreads(__tstate
);
29313 if (PyErr_Occurred()) SWIG_fail
;
29315 Py_INCREF(Py_None
); resultobj
= Py_None
;
29322 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29325 wxWindow
*arg2
= (wxWindow
*) NULL
;
29327 PyObject
* obj0
= 0 ;
29328 PyObject
* obj1
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "window", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29342 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29357 PyObject
*resultobj
;
29358 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29360 PyObject
* obj0
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (bool)(arg1
)->EndContextHelp();
29372 wxPyEndAllowThreads(__tstate
);
29373 if (PyErr_Occurred()) SWIG_fail
;
29376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29384 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29387 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29389 return Py_BuildValue((char *)"");
29391 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29392 PyObject
*resultobj
;
29393 wxWindow
*arg1
= (wxWindow
*) 0 ;
29394 int arg2
= (int) wxID_CONTEXT_HELP
;
29395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29399 long arg5
= (long) wxBU_AUTODRAW
;
29400 wxContextHelpButton
*result
;
29403 PyObject
* obj0
= 0 ;
29404 PyObject
* obj1
= 0 ;
29405 PyObject
* obj2
= 0 ;
29406 PyObject
* obj3
= 0 ;
29407 PyObject
* obj4
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29416 arg2
= (int) SWIG_AsInt(obj1
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29432 arg5
= (long) SWIG_AsLong(obj4
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29439 wxPyEndAllowThreads(__tstate
);
29440 if (PyErr_Occurred()) SWIG_fail
;
29442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
29449 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
29451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29452 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
29454 return Py_BuildValue((char *)"");
29456 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29457 PyObject
*resultobj
;
29458 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29459 wxHelpProvider
*result
;
29460 PyObject
* obj0
= 0 ;
29461 char *kwnames
[] = {
29462 (char *) "helpProvider", NULL
29465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
29466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29482 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxHelpProvider
*result
;
29485 char *kwnames
[] = {
29489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (wxHelpProvider
*)wxHelpProvider::Get();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
29504 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29507 wxWindow
*arg2
= (wxWindow
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "window", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29540 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29541 PyObject
*resultobj
;
29542 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29543 wxWindow
*arg2
= (wxWindow
*) 0 ;
29545 PyObject
* obj0
= 0 ;
29546 PyObject
* obj1
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "window", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29558 result
= (bool)(arg1
)->ShowHelp(arg2
);
29560 wxPyEndAllowThreads(__tstate
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29572 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
;
29574 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29575 wxWindow
*arg2
= (wxWindow
*) 0 ;
29576 wxString
*arg3
= 0 ;
29577 bool temp3
= False
;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 PyObject
* obj2
= 0 ;
29581 char *kwnames
[] = {
29582 (char *) "self",(char *) "window",(char *) "text", NULL
29585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29591 arg3
= wxString_in_helper(obj2
);
29592 if (arg3
== NULL
) SWIG_fail
;
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29599 wxPyEndAllowThreads(__tstate
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29602 Py_INCREF(Py_None
); resultobj
= Py_None
;
29617 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
;
29619 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29621 wxString
*arg3
= 0 ;
29622 bool temp3
= False
;
29623 PyObject
* obj0
= 0 ;
29624 PyObject
* obj1
= 0 ;
29625 PyObject
* obj2
= 0 ;
29626 char *kwnames
[] = {
29627 (char *) "self",(char *) "id",(char *) "text", NULL
29630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29633 arg2
= (int) SWIG_AsInt(obj1
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 arg3
= wxString_in_helper(obj2
);
29637 if (arg3
== NULL
) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29647 Py_INCREF(Py_None
); resultobj
= Py_None
;
29662 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29663 PyObject
*resultobj
;
29664 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29665 wxWindow
*arg2
= (wxWindow
*) 0 ;
29666 PyObject
* obj0
= 0 ;
29667 PyObject
* obj1
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self",(char *) "window", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29679 (arg1
)->RemoveHelp(arg2
);
29681 wxPyEndAllowThreads(__tstate
);
29682 if (PyErr_Occurred()) SWIG_fail
;
29684 Py_INCREF(Py_None
); resultobj
= Py_None
;
29691 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
29694 PyObject
* obj0
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 wxHelpProvider_Destroy(arg1
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 Py_INCREF(Py_None
); resultobj
= Py_None
;
29716 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29719 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
29721 return Py_BuildValue((char *)"");
29723 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxSimpleHelpProvider
*result
;
29726 char *kwnames
[] = {
29730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
29745 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
29747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29748 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
29750 return Py_BuildValue((char *)"");
29752 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxBitmap
*arg1
= 0 ;
29755 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29756 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29757 wxGenericDragImage
*result
;
29758 PyObject
* obj0
= 0 ;
29759 PyObject
* obj1
= 0 ;
29760 char *kwnames
[] = {
29761 (char *) "image",(char *) "cursor", NULL
29764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
29765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29768 if (arg1
== NULL
) {
29769 PyErr_SetString(PyExc_TypeError
,"null reference");
29773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29776 if (arg2
== NULL
) {
29777 PyErr_SetString(PyExc_TypeError
,"null reference");
29782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29783 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29795 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29796 PyObject
*resultobj
;
29798 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29799 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29800 wxGenericDragImage
*result
;
29801 PyObject
* obj0
= 0 ;
29802 PyObject
* obj1
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "image",(char *) "cursor", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29811 if (arg1
== NULL
) {
29812 PyErr_SetString(PyExc_TypeError
,"null reference");
29816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29819 if (arg2
== NULL
) {
29820 PyErr_SetString(PyExc_TypeError
,"null reference");
29825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29826 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
29828 wxPyEndAllowThreads(__tstate
);
29829 if (PyErr_Occurred()) SWIG_fail
;
29831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29838 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxString
*arg1
= 0 ;
29841 wxCursor
const &arg2_defvalue
= wxNullCursor
;
29842 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
29843 wxGenericDragImage
*result
;
29844 bool temp1
= False
;
29845 PyObject
* obj0
= 0 ;
29846 PyObject
* obj1
= 0 ;
29847 char *kwnames
[] = {
29848 (char *) "str",(char *) "cursor", NULL
29851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
29853 arg1
= wxString_in_helper(obj0
);
29854 if (arg1
== NULL
) SWIG_fail
;
29858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
29859 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29861 if (arg2
== NULL
) {
29862 PyErr_SetString(PyExc_TypeError
,"null reference");
29867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29868 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29888 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
;
29890 wxPyTreeCtrl
*arg1
= 0 ;
29891 wxTreeItemId
*arg2
= 0 ;
29892 wxGenericDragImage
*result
;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "treeCtrl",(char *) "id", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
29901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29903 if (arg1
== NULL
) {
29904 PyErr_SetString(PyExc_TypeError
,"null reference");
29907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
29908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29910 if (arg2
== NULL
) {
29911 PyErr_SetString(PyExc_TypeError
,"null reference");
29915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29916 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
29918 wxPyEndAllowThreads(__tstate
);
29919 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29928 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29929 PyObject
*resultobj
;
29930 wxPyListCtrl
*arg1
= 0 ;
29932 wxGenericDragImage
*result
;
29933 PyObject
* obj0
= 0 ;
29934 PyObject
* obj1
= 0 ;
29935 char *kwnames
[] = {
29936 (char *) "listCtrl",(char *) "id", NULL
29939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
29941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29943 if (arg1
== NULL
) {
29944 PyErr_SetString(PyExc_TypeError
,"null reference");
29947 arg2
= (long) SWIG_AsLong(obj1
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
29963 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29965 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 char *kwnames
[] = {
29968 (char *) "self", NULL
29971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
29972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
29973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 Py_INCREF(Py_None
); resultobj
= Py_None
;
29988 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
;
29990 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
29991 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29992 PyObject
* obj0
= 0 ;
29993 PyObject
* obj1
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self",(char *) "bitmap", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 (arg1
)->SetBackingBitmap(arg2
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30010 Py_INCREF(Py_None
); resultobj
= Py_None
;
30017 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
;
30019 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30020 wxPoint
*arg2
= 0 ;
30021 wxWindow
*arg3
= (wxWindow
*) 0 ;
30022 bool arg4
= (bool) False
;
30023 wxRect
*arg5
= (wxRect
*) NULL
;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 PyObject
* obj2
= 0 ;
30029 PyObject
* obj3
= 0 ;
30030 PyObject
* obj4
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30040 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30042 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30045 arg4
= (bool) SWIG_AsBool(obj3
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30054 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30056 wxPyEndAllowThreads(__tstate
);
30057 if (PyErr_Occurred()) SWIG_fail
;
30060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30068 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30069 PyObject
*resultobj
;
30070 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30071 wxPoint
*arg2
= 0 ;
30072 wxWindow
*arg3
= (wxWindow
*) 0 ;
30073 wxWindow
*arg4
= (wxWindow
*) 0 ;
30076 PyObject
* obj0
= 0 ;
30077 PyObject
* obj1
= 0 ;
30078 PyObject
* obj2
= 0 ;
30079 PyObject
* obj3
= 0 ;
30080 char *kwnames
[] = {
30081 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30089 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30091 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30093 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30097 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30099 wxPyEndAllowThreads(__tstate
);
30100 if (PyErr_Occurred()) SWIG_fail
;
30103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30111 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (bool)(arg1
)->EndDrag();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30139 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30142 wxPoint
*arg2
= 0 ;
30145 PyObject
* obj0
= 0 ;
30146 PyObject
* obj1
= 0 ;
30147 char *kwnames
[] = {
30148 (char *) "self",(char *) "pt", NULL
30151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30160 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30162 wxPyEndAllowThreads(__tstate
);
30163 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30174 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (bool)(arg1
)->Show();
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30202 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
;
30204 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30206 PyObject
* obj0
= 0 ;
30207 char *kwnames
[] = {
30208 (char *) "self", NULL
30211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (bool)(arg1
)->Hide();
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30230 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30232 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30233 wxPoint
*arg2
= 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "pos", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30247 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30251 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30253 wxPyEndAllowThreads(__tstate
);
30254 if (PyErr_Occurred()) SWIG_fail
;
30257 wxRect
* resultptr
;
30258 resultptr
= new wxRect((wxRect
&) result
);
30259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30267 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30271 wxPoint
*arg3
= 0 ;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 PyObject
* obj2
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "dc",(char *) "pos", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30285 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30287 if (arg2
== NULL
) {
30288 PyErr_SetString(PyExc_TypeError
,"null reference");
30293 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30311 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
;
30313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30315 wxMemoryDC
*arg3
= 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 PyObject
* obj2
= 0 ;
30324 PyObject
* obj3
= 0 ;
30325 PyObject
* obj4
= 0 ;
30326 char *kwnames
[] = {
30327 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30336 if (arg2
== NULL
) {
30337 PyErr_SetString(PyExc_TypeError
,"null reference");
30340 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30343 if (arg3
== NULL
) {
30344 PyErr_SetString(PyExc_TypeError
,"null reference");
30349 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30353 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30371 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30374 wxPoint
*arg2
= 0 ;
30375 wxPoint
*arg3
= 0 ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 PyObject
* obj3
= 0 ;
30385 PyObject
* obj4
= 0 ;
30386 char *kwnames
[] = {
30387 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30401 arg4
= (bool) SWIG_AsBool(obj3
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30403 arg5
= (bool) SWIG_AsBool(obj4
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30421 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30424 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30426 return Py_BuildValue((char *)"");
30428 static PyMethodDef SwigMethods
[] = {
30429 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30430 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30431 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30432 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30433 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30434 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
30435 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30436 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
30437 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30438 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30439 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30440 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30441 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30442 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
30443 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
30444 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
30445 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
30446 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30447 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
30448 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
30449 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
30450 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30451 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
30452 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30453 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30454 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30455 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30456 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30457 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
30458 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
30459 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
30460 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
30461 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
30462 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
30463 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
30464 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30465 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30466 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30467 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
30468 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30469 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
30470 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30471 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30472 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30473 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30474 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30475 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30476 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30477 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30478 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30479 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30480 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30481 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
30482 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30483 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30484 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30485 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
30486 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
30487 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
30488 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
30489 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30490 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30491 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30492 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30493 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30494 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30495 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
30496 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30497 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
30498 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
30499 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30500 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
30501 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30502 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
30503 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30504 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
30505 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
30506 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30507 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30508 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
30509 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
30510 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
30511 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
30512 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
30513 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30514 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30515 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
30516 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30517 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30518 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
30519 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
30520 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
30521 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
30522 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30523 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
30524 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
30525 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
30526 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
30527 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30528 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
30529 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
30530 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
30531 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30532 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
30533 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
30534 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
30535 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30536 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
30537 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
30538 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30539 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30540 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
30541 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30542 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
30543 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30544 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
30545 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30546 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
30547 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
30548 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
},
30549 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30550 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
30551 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
30552 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
30553 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
30554 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
30555 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30556 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30557 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30558 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30559 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30560 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30561 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30562 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30563 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30564 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30565 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30566 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30567 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
30568 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30569 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30570 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
30571 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30572 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30573 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30574 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
30575 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
30576 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
30577 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
30578 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
30579 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
30580 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
30581 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
30582 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30583 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30584 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30585 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30586 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30587 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30588 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
30589 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
30590 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
30591 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
30592 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
30593 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
30594 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
30595 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30596 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30597 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30598 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
30599 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
30600 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
30601 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
30602 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
30603 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
30604 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
30605 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
30606 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
30607 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
30608 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30609 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30610 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30611 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
30612 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
30613 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
30614 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
30615 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30616 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
30617 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
30618 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
30619 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
30620 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
30621 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
30622 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
30623 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
30624 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
30625 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
30626 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30627 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
30628 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
30629 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
30630 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30631 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
30632 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
30633 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30634 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
},
30635 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
30636 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30637 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
30638 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30639 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
30640 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
30641 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
30642 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
30643 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30644 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
30645 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30646 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30647 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
30648 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30649 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
30650 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30651 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
30652 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
30653 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
30654 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30655 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
30656 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30657 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30658 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30659 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30660 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30661 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30662 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30663 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30664 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30665 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
30666 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30667 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30668 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30669 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30670 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30671 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
30672 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30673 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30674 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30675 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30676 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
30677 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
30678 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30679 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
30680 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
30681 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30682 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
30683 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
30684 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30685 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30686 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30687 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
30688 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
30689 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
30690 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
30691 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
30692 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
30693 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
30694 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30695 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30696 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30697 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
30698 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30699 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
30700 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30701 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30702 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30703 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
30704 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
30705 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
30706 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
30707 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30708 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30709 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
30710 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
30711 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
30712 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
30713 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
30714 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30715 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30716 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
30717 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30718 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30719 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
30720 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30721 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
30722 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
30723 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
30724 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
30725 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
30726 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
30727 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30728 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
30729 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30730 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
30731 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
30732 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
30733 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
30734 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30735 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
30736 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
30737 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
30738 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30739 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30740 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
30741 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30742 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
30743 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30744 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30745 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
30746 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
30747 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30748 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
30749 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
30750 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
30751 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
30752 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
30753 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30754 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
30755 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
30756 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
30757 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30758 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
30759 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30760 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
30761 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
30762 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
30763 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30764 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30765 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
30766 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
30767 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
30768 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
30769 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
30770 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
30771 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
30772 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30773 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
30774 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
30775 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
30776 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
30777 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30778 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
30779 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
30780 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
30781 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
30782 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30783 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30784 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30785 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
30786 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
30787 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
30788 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
30789 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
30790 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
30791 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30792 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
30793 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30794 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
30795 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
30796 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30797 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
30798 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
30799 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30800 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
30801 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
30802 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30803 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30804 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30805 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30806 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30807 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30808 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
30809 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
30810 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30811 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30812 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30813 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30814 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
30815 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30816 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
30817 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
30818 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30819 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
30820 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
30821 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
30822 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
30823 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30824 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
30825 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
30826 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
30827 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
30828 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30829 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
30830 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
30831 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
30832 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
30833 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
30834 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
30835 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
30836 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
30837 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
30838 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30839 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
30840 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
30841 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
30842 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
30843 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30844 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
30845 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30846 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
30847 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
30848 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30849 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30850 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30851 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
30852 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
30853 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
30854 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
30855 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
30856 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
30857 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
30858 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
30859 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30860 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
30861 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
30862 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30863 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
30864 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
30865 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
30866 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30867 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
30868 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
30869 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
30870 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
30871 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
30872 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30873 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30874 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30875 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30876 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30877 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
30878 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30879 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30880 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30881 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
30882 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
30883 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30884 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
30885 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
30886 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30887 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
30888 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
30889 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30890 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
30891 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
30892 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
30893 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
30894 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
30895 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30896 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30897 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30898 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30899 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
30900 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30901 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
30902 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30903 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
30904 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30905 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30906 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30907 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
30908 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
30909 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30910 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
30911 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30912 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30913 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
30914 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
30915 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
30916 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
30917 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
30918 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30919 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30920 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
30921 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
30922 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
30923 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
30924 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
30925 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
30926 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
30927 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
30928 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
30929 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
30930 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
30931 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
30932 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
30933 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
30934 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
30935 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
30936 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
30937 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
30938 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30939 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30940 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
30941 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
30942 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
30943 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
30944 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
30945 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
30946 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
30947 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
30948 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
30949 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30950 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
30951 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
30952 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
30953 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
30954 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
30955 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
30956 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30957 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
30958 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
30959 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
30960 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
30961 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
30962 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30963 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
30964 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
30965 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
30966 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30967 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
30968 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30969 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
30970 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30971 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
30972 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
30973 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
30974 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
30975 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
30976 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
30977 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
30978 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30979 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
30980 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
30981 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30982 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
30983 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30984 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
30985 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30986 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
30987 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
30988 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30989 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
30990 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
30991 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
30992 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30993 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
30994 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31001 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31016 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31028 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31034 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31036 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31046 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31054 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31057 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31061 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31071 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31076 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31077 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31083 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31088 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31096 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31119 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31127 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31128 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31154 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31157 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31176 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31181 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31205 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31212 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31213 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31217 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31218 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31220 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31229 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31231 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31242 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31253 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31255 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31256 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31258 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31259 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31261 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31262 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31264 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31265 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31267 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31268 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31270 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31271 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31273 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31274 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31276 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31277 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31279 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31280 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31282 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31283 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31285 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31286 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31288 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31289 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31291 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31292 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31294 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31295 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31297 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31298 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31300 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31301 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31303 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31304 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31306 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31307 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31309 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31310 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31312 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31313 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31315 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31316 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31318 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31319 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31321 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31324 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31325 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31327 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31328 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31330 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31331 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31333 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31336 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31337 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31339 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31340 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31342 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31343 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31345 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31346 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31348 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31349 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31351 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31352 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31354 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31355 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31357 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31358 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31360 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31361 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31363 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31364 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31366 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31367 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31369 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31370 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31372 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31373 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31375 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31376 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31378 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31379 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31381 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31382 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31384 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31385 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31387 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31390 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31391 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31393 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31394 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31396 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31399 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31400 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31402 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31403 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31405 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31406 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31408 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31409 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31411 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31412 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31414 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31415 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31417 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
31418 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31420 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
31421 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31423 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
31424 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
31426 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
31427 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31429 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
31430 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31432 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
31433 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
31435 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
31436 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31438 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
31439 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
31441 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
31442 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
31444 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
31445 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
31447 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
31448 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
31450 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
31451 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31453 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
31454 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
31456 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
31457 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
31459 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
31460 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
31462 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
31463 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
31465 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
31466 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31468 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
31469 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
31471 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
31472 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
31474 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
31475 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
31477 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
31478 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
31480 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
31481 return (void *)((wxControl
*) ((wxGauge
*) x
));
31483 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
31484 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
31486 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
31487 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
31489 static void *_p_wxButtonTo_p_wxControl(void *x
) {
31490 return (void *)((wxControl
*) ((wxButton
*) x
));
31492 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
31493 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
31495 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
31496 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31498 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
31499 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
31501 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
31502 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
31504 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
31505 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
31507 static void *_p_wxListbookTo_p_wxControl(void *x
) {
31508 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
31510 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
31511 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
31513 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
31514 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
31516 static void *_p_wxListViewTo_p_wxControl(void *x
) {
31517 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
31519 static void *_p_wxSliderTo_p_wxControl(void *x
) {
31520 return (void *)((wxControl
*) ((wxSlider
*) x
));
31522 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
31523 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
31525 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
31526 return (void *)((wxControl
*) ((wxPyControl
*) x
));
31528 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
31529 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
31531 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
31532 return (void *)((wxControl
*) ((wxStaticText
*) x
));
31534 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
31535 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
31537 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
31538 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
31540 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
31541 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31543 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
31544 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31546 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
31547 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31549 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
31550 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
31552 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
31553 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31555 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
31556 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31558 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
31559 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31561 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
31562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31564 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31565 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31567 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31568 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31570 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31571 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31573 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
31574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
31576 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31577 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31579 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
31580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31582 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
31583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31585 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31586 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31588 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31589 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31591 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
31592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31594 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
31595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31597 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
31598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31600 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
31601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31603 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
31604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31606 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31607 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31609 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
31610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31612 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
31613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31615 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31618 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
31619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31621 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
31622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31624 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
31625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31627 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
31628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31630 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
31631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31633 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
31634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31636 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
31637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31639 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
31640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31642 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
31643 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31645 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
31646 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31648 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
31649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31651 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
31652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31654 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
31655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31657 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
31658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
31660 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
31661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31663 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
31664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31666 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
31667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31669 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
31670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31672 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
31673 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31675 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
31676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31678 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
31679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31681 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
31682 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
31684 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
31685 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
31687 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
31688 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
31690 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
31691 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
31693 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
31694 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31696 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
31697 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31699 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
31700 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
31702 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31705 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31708 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31711 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31714 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31717 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31720 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31723 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31726 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31729 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) ((wxSizer
*) x
));
31732 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31735 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
31738 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
31741 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31744 static void *_p_wxEventTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) ((wxEvent
*) x
));
31747 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31750 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31753 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31756 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
31759 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
31762 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
31765 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31768 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31771 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31774 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31777 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31780 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31783 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
31786 static void *_p_wxControlTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31789 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
31792 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
31795 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
31798 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
31801 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
31804 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31807 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
31810 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31813 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31816 static void *_p_wxListViewTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
31819 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
31822 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
31825 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31828 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31831 static void *_p_wxListbookTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
31834 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31837 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
31840 static void *_p_wxSliderTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
31843 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31846 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31849 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31852 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31855 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31858 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31861 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31864 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31867 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31870 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
31873 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
31876 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31879 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31882 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31885 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31888 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31891 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31894 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31897 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31900 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31903 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31906 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31909 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31912 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31915 static void *_p_wxListEventTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31918 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
31921 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
31924 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
31927 static void *_p_wxButtonTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
31930 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
31933 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
31936 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
31939 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31942 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
31945 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
31948 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
31951 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
31954 static void *_p_wxListItemTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) ((wxListItem
*) x
));
31957 static void *_p_wxImageTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) ((wxImage
*) x
));
31960 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
31963 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31966 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31969 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
31972 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
31975 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31978 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31981 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31984 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31987 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31990 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31993 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31996 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31999 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32002 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32005 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32008 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32011 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32014 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32017 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32020 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32023 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32026 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32029 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32032 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32035 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32038 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32041 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32044 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32047 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32050 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32053 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32056 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32059 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32060 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32062 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32063 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32065 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32066 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32068 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32069 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32071 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32072 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32074 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32075 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32077 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32078 return (void *)((wxWindow
*) ((wxControl
*) x
));
32080 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32081 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32083 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32084 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32086 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32087 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32089 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32090 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32092 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32093 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32095 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32096 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32098 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32099 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32101 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32102 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32104 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32105 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32107 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32108 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32110 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32111 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32113 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32114 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32116 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32117 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32119 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32120 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32122 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32123 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32125 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32126 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32128 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32129 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32131 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32132 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32134 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32135 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32137 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32138 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32140 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32141 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32143 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32144 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32146 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32147 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32149 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32150 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32152 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32153 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32155 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32156 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32158 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32159 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32161 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32162 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32164 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32165 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32167 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32168 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32170 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32171 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32173 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32174 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32176 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32177 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32179 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32180 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32182 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32183 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32185 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32186 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32188 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32189 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32191 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32192 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32194 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32195 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32197 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32198 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32200 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32201 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32203 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32204 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32206 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32207 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32209 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32210 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32212 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
32213 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
32215 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32216 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32218 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32219 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32221 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32222 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32224 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32225 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32227 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32228 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32230 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}};
32231 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}};
32232 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}};
32233 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}};
32234 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}};
32235 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}};
32236 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}};
32237 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}};
32238 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}};
32239 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}};
32240 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}};
32241 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}};
32242 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}};
32243 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}};
32244 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}};
32245 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}};
32246 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}};
32247 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}};
32248 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}};
32249 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}};
32250 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}};
32251 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}};
32252 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}};
32253 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}};
32254 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}};
32255 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}};
32256 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}};
32257 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}};
32258 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}};
32259 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}};
32260 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}};
32261 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}};
32262 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}};
32263 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}};
32264 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}};
32265 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}};
32266 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}};
32267 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}};
32268 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}};
32269 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}};
32270 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}};
32271 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}};
32272 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}};
32273 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}};
32274 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}};
32275 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}};
32276 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}};
32277 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}};
32278 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}};
32279 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}};
32280 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}};
32281 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}};
32282 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}};
32283 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}};
32284 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}};
32285 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}};
32286 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}};
32287 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}};
32288 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}};
32289 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}};
32290 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}};
32291 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}};
32292 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}};
32293 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}};
32294 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}};
32295 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}};
32296 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}};
32297 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}};
32298 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}};
32299 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}};
32300 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}};
32301 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}};
32302 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}};
32303 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}};
32304 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}};
32305 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}};
32306 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}};
32307 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}};
32308 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}};
32309 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}};
32310 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}};
32311 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}};
32312 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}};
32313 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}};
32314 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}};
32316 static swig_type_info
*swig_types_initial
[] = {
32317 _swigt__p_wxTextUrlEvent
,
32318 _swigt__p_wxBookCtrlEvent
,
32320 _swigt__p_wxCheckBox
,
32321 _swigt__p_wxPyTreeCtrl
,
32323 _swigt__p_wxGenericDirCtrl
,
32325 _swigt__p_wxPyTreeItemData
,
32326 _swigt__p_wxItemContainer
,
32327 _swigt__p_wxPyListCtrl
,
32328 _swigt__p_wxDirFilterListCtrl
,
32329 _swigt__p_wxStaticLine
,
32330 _swigt__p_wxControl
,
32331 _swigt__p_wxPyControl
,
32333 _swigt__p_wxToolBarBase
,
32335 _swigt__p_wxToggleButton
,
32336 _swigt__p_wxRadioButton
,
32337 _swigt__p_wxChoice
,
32338 _swigt__p_wxMemoryDC
,
32339 _swigt__p_wxListItemAttr
,
32344 _swigt__p_wxListView
,
32346 _swigt__p_wxVisualAttributes
,
32347 _swigt__p_wxTextCtrl
,
32348 _swigt__p_wxNotebook
,
32349 _swigt__p_wxNotifyEvent
,
32350 _swigt__p_wxArrayString
,
32351 _swigt__p_wxListbook
,
32352 _swigt__p_wxStaticBitmap
,
32353 _swigt__p_wxSlider
,
32354 _swigt__p_wxStaticBox
,
32355 _swigt__p_wxArrayInt
,
32356 _swigt__p_wxContextHelp
,
32358 _swigt__p_wxEvtHandler
,
32359 _swigt__p_wxListEvent
,
32360 _swigt__p_wxCheckListBox
,
32361 _swigt__p_wxListBox
,
32362 _swigt__p_wxBookCtrl
,
32363 _swigt__p_wxSpinButton
,
32364 _swigt__p_wxButton
,
32365 _swigt__p_wxBitmapButton
,
32367 _swigt__p_wxContextHelpButton
,
32368 _swigt__p_wxRadioBox
,
32369 _swigt__p_wxScrollBar
,
32371 _swigt__p_wxTreeItemId
,
32372 _swigt__p_wxComboBox
,
32373 _swigt__p_wxHelpEvent
,
32374 _swigt__p_wxListItem
,
32375 _swigt__p_wxNotebookSizer
,
32376 _swigt__p_wxSpinEvent
,
32377 _swigt__p_wxGenericDragImage
,
32378 _swigt__p_wxSpinCtrl
,
32379 _swigt__p_wxImageList
,
32380 _swigt__p_wxHelpProvider
,
32381 _swigt__p_wxTextAttr
,
32382 _swigt__p_wxSimpleHelpProvider
,
32384 _swigt__p_wxListbookEvent
,
32385 _swigt__p_wxNotebookEvent
,
32386 _swigt__p_wxObject
,
32387 _swigt__p_wxCursor
,
32388 _swigt__p_wxKeyEvent
,
32389 _swigt__p_wxWindow
,
32390 _swigt__p_wxString
,
32391 _swigt__p_wxBitmap
,
32392 _swigt__p_wxTreeEvent
,
32393 _swigt__p_wxMouseEvent
,
32394 _swigt__p_wxCommandEvent
,
32395 _swigt__p_wxStaticText
,
32396 _swigt__p_wxControlWithItems
,
32397 _swigt__p_wxToolBarToolBase
,
32398 _swigt__p_wxColour
,
32399 _swigt__p_wxToolBar
,
32400 _swigt__p_wxBookCtrlSizer
,
32401 _swigt__p_wxValidator
,
32406 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32408 static swig_const_info swig_const_table
[] = {
32418 SWIGEXPORT(void) SWIG_init(void) {
32419 static PyObject
*SWIG_globals
= 0;
32420 static int typeinit
= 0;
32423 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
32424 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
32425 d
= PyModule_GetDict(m
);
32428 for (i
= 0; swig_types_initial
[i
]; i
++) {
32429 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
32433 SWIG_InstallConstants(d
,swig_const_table
);
32435 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
32436 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
32437 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
32438 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
32439 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
32440 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
32441 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
32442 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
32443 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
32444 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
32445 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
32446 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
32447 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
32448 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
32449 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
32450 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
32451 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
32452 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
32453 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
32454 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
32455 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
32456 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
32457 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
32458 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
32459 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
32460 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
32461 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
32462 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
32463 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
32464 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
32465 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
32466 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
32467 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
32468 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
32469 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
32470 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
32471 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
32472 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
32473 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
32474 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
32475 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
32476 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
32477 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
32478 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
32479 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
32480 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
32481 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
32482 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
32483 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
32484 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
32485 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
32486 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
32487 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
32488 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
32489 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
32490 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
32491 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
32492 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
32493 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
32494 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
32495 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
32496 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
32497 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
32498 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
32499 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
32500 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
32501 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
32502 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
32503 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
32504 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
32505 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
32506 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
32507 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
32508 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
32509 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
32510 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
32511 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
32512 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
32513 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
32514 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
32515 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
32516 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
32517 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
32518 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
32519 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
32520 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
32521 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
32522 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
32523 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
32524 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
32525 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
32526 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
32527 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
32528 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
32529 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
32530 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
32531 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
32532 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
32533 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
32534 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
32535 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
32536 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
32537 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
32538 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
32539 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
32540 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
32541 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
32542 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
32543 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
32544 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
32545 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
32546 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
32547 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
32548 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
32549 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
32550 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
32551 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
32552 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
32553 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
32554 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
32555 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
32556 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
32557 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
32558 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
32559 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
32560 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
32561 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
32562 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
32563 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
32564 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
32565 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
32566 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
32567 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
32568 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
32569 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
32570 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
32571 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
32572 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
32573 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
32574 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
32575 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
32576 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
32577 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
32578 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
32579 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
32580 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
32581 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
32582 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
32583 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
32584 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
32585 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
32586 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
32587 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
32588 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
32589 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
32590 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
32591 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
32592 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
32593 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
32594 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
32595 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
32596 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
32597 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
32598 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
32599 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
32600 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
32601 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
32602 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
32603 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
32604 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
32605 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
32606 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
32607 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
32608 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
32609 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
32610 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
32611 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
32612 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
32613 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
32614 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
32615 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
32616 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
32617 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
32618 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
32619 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
32620 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
32621 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
32622 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
32623 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
32624 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
32625 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
32626 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
32627 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
32628 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
32629 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
32630 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
32631 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
32632 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
32633 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
32634 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
32635 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
32636 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
32637 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
32638 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
32639 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
32640 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
32641 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
32642 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
32643 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
32644 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
32645 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
32647 // Map renamed classes back to their common name for OOR
32648 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32650 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
32651 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
32652 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
32653 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
32654 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
32655 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
32656 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
32657 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
32658 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
32659 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
32660 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
32661 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
32662 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
32663 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
32664 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
32665 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
32666 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
32667 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
32668 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
32669 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
32670 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
32671 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
32672 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
32673 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
32674 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
32675 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
32676 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
32677 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
32678 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
32679 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
32680 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
32681 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
32682 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
32683 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
32684 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
32685 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
32686 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
32687 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
32688 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
32689 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
32690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
32691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
32692 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
32693 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
32694 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
32695 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
32696 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
32697 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
32698 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
32699 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
32700 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
32701 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
32702 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
32703 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
32704 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
32705 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
32707 // Map renamed classes back to their common name for OOR
32708 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32709 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32711 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
32712 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
32713 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
32714 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
32715 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
32716 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
32717 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
32718 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
32719 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
32720 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
32722 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");