1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
304 #define SWIG_name "_controls_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
352 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
353 static const wxString
wxPyEmptyString(wxEmptyString
);
354 static const wxString
wxPyControlNameStr(wxControlNameStr
);
356 const wxArrayString wxPyEmptyStringArray
;
358 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject
* obj
)
432 if (PyErr_Occurred()) {
440 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
461 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
462 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
463 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
464 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
465 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
466 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
468 #include <wx/checklst.h>
471 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
472 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
474 wxPyClientData
* data
= new wxPyClientData(clientData
);
475 self
->Insert(item
, pos
, data
);
477 self
->Insert(item
, pos
);
479 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
481 self
->GetSelections(lst
);
482 PyObject
*tup
= PyTuple_New(lst
.GetCount());
483 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
484 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
488 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
490 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
491 self
->GetItem(item
)->SetTextColour(c
);
494 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
496 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
497 self
->GetItem(item
)->SetBackgroundColour(c
);
500 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
502 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
503 self
->GetItem(item
)->SetFont(f
);
506 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
508 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
514 } else if (target
== Py_None
) {
518 if (!PyTuple_Check(target
)) {
520 target
= PyTuple_New(1);
521 PyTuple_SetItem(target
, 0, o2
);
524 PyTuple_SetItem(o3
, 0, o
);
527 target
= PySequence_Concat(o2
, o3
);
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject
* obj
)
538 if (PyLong_Check(obj
)) {
539 return PyLong_AsUnsignedLong(obj
);
541 long i
= SWIG_AsLong(obj
);
542 if ( !PyErr_Occurred() && (i
< 0)) {
543 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject
* obj
)
553 SWIG_AsUnsignedLong(obj
);
554 if (PyErr_Occurred()) {
562 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
563 self
->AppendText(text
);
565 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
566 return self
->GetValue().Mid(from
, to
- from
);
568 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
569 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
570 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
572 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
574 #include <wx/slider.h>
577 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
578 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
581 // implement dummy items for platforms that don't have this class
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
585 class wxToggleButton
: public wxControl
588 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
589 const wxPoint
&, const wxSize
&, long,
590 const wxValidator
&, const wxString
&)
591 { wxPyRaiseNotImplemented(); }
594 { wxPyRaiseNotImplemented(); }
598 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
600 SWIGSTATICINLINE(PyObject
* )
601 SWIG_FromUnsignedLong(unsigned long value
)
603 return (value
> LONG_MAX
) ?
604 PyLong_FromUnsignedLong(value
)
605 : PyInt_FromLong(swig_numeric_cast(long,value
));
608 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
609 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
610 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
612 Py_INCREF(udata
->m_obj
);
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
620 self
->SetClientData(new wxPyUserData(clientData
));
622 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
623 wxPyUserData
* udata
= NULL
;
624 if (clientData
&& clientData
!= Py_None
)
625 udata
= new wxPyUserData(clientData
);
626 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
627 shortHelp
, longHelp
, udata
);
629 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
630 wxPyUserData
* udata
= NULL
;
631 if (clientData
&& clientData
!= Py_None
)
632 udata
= new wxPyUserData(clientData
);
633 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
634 shortHelp
, longHelp
, udata
);
636 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
637 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
639 Py_INCREF(udata
->m_obj
);
646 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
647 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
650 #include <wx/listctrl.h>
653 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
658 PyObject
* func
= (PyObject
*)funcPtr
;
659 bool blocked
= wxPyBeginBlockThreads();
661 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
662 PyObject
* result
= PyEval_CallObject(func
, args
);
665 retval
= PyInt_AsLong(result
);
669 wxPyEndBlockThreads(blocked
);
673 // C++ Version of a Python aware class
674 class wxPyListCtrl
: public wxListCtrl
{
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
682 const wxValidator
& validator
,
683 const wxString
& name
) :
684 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
686 bool Create(wxWindow
* parent
, wxWindowID id
,
690 const wxValidator
& validator
,
691 const wxString
& name
) {
692 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
708 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
710 item
.SetMask( wxLIST_MASK_STATE
|
718 if (self
->GetColumn(col
, item
))
719 return new wxListItem(item
);
723 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
724 wxListItem
* info
= new wxListItem
;
725 info
->m_itemId
= itemId
;
727 info
->m_mask
= 0xFFFF;
728 self
->GetItem(*info
);
731 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
733 self
->GetItemPosition(item
, pos
);
736 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
738 self
->GetItemRect(item
, rect
, code
);
741 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
742 if (!PyCallable_Check(func
))
744 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
746 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
750 return (wxWindow
*)self
->m_mainWin
;
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
757 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
759 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl
: public wxTreeCtrl
{
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
770 const wxValidator
& validator
,
771 const wxString
& name
) :
772 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
774 bool Create(wxWindow
*parent
, wxWindowID id
,
778 const wxValidator
& validator
,
779 const wxString
& name
) {
780 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
784 int OnCompareItems(const wxTreeItemId
& item1
,
785 const wxTreeItemId
& item2
) {
788 bool blocked
= wxPyBeginBlockThreads();
789 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
790 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
791 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
792 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
796 wxPyEndBlockThreads(blocked
);
798 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
817 unsigned long max_value
)
819 if (!PyErr_Occurred()) {
820 if (value
> max_value
) {
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value
, type
, max_value
);
824 PyErr_SetObject(PyExc_OverflowError
, err
);
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject
*obj
)
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
838 "unsigned int", UINT_MAX
));
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject
* obj
)
848 SWIG_AsUnsignedInt(obj
);
849 if (PyErr_Occurred()) {
857 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
858 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
860 data
= new wxPyTreeItemData();
861 data
->SetId(item
); // set the id
862 self
->SetItemData(item
, data
);
866 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
867 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
869 data
= new wxPyTreeItemData();
870 data
->SetId(item
); // set the id
871 self
->SetItemData(item
, data
);
873 return data
->GetData();
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
876 data
->SetId(item
); // set the id
877 self
->SetItemData(item
, data
);
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
880 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
882 data
= new wxPyTreeItemData(obj
);
883 data
->SetId(item
); // set the id
884 self
->SetItemData(item
, data
);
888 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
889 bool blocked
= wxPyBeginBlockThreads();
890 PyObject
* rval
= PyList_New(0);
891 wxArrayTreeItemIds array
;
893 num
= self
->GetSelections(array
);
894 for (x
=0; x
< num
; x
++) {
895 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
896 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
897 PyList_Append(rval
, item
);
899 wxPyEndBlockThreads(blocked
);
902 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
904 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
905 bool blocked
= wxPyBeginBlockThreads();
906 PyObject
* tup
= PyTuple_New(2);
907 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
908 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
909 wxPyEndBlockThreads(blocked
);
912 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
913 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
914 bool blocked
= wxPyBeginBlockThreads();
915 PyObject
* tup
= PyTuple_New(2);
916 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
917 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
918 wxPyEndBlockThreads(blocked
);
921 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
923 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
924 bool blocked
= wxPyBeginBlockThreads();
925 wxRect
* r
= new wxRect(rect
);
926 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
927 wxPyEndBlockThreads(blocked
);
933 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
934 // C++ version of Python aware wxControl
935 class wxPyControl
: public wxControl
937 DECLARE_DYNAMIC_CLASS(wxPyControl
)
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
941 const wxPoint
& pos
= wxDefaultPosition
,
942 const wxSize
& size
= wxDefaultSize
,
944 const wxValidator
& validator
=wxDefaultValidator
,
945 const wxString
& name
= wxPyControlNameStr
)
946 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
948 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
962 DEC_PYCALLBACK__(InitDialog
);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
965 DEC_PYCALLBACK_BOOL_(Validate
);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
992 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
995 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
996 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
997 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
998 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1013 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1015 #include <wx/generic/dragimgg.h>
1020 static int _wrap_ButtonNameStr_set(PyObject
*_val
) {
1021 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1026 static PyObject
*_wrap_ButtonNameStr_get() {
1031 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1033 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1040 static PyObject
*_wrap_new_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1041 PyObject
*resultobj
;
1042 wxWindow
*arg1
= (wxWindow
*) 0 ;
1044 wxString
*arg3
= 0 ;
1045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1049 long arg6
= (long) 0 ;
1050 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1051 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1052 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1053 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1055 bool temp3
= False
;
1058 bool temp8
= False
;
1059 PyObject
* obj0
= 0 ;
1060 PyObject
* obj1
= 0 ;
1061 PyObject
* obj2
= 0 ;
1062 PyObject
* obj3
= 0 ;
1063 PyObject
* obj4
= 0 ;
1064 PyObject
* obj5
= 0 ;
1065 PyObject
* obj6
= 0 ;
1066 PyObject
* obj7
= 0 ;
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1074 arg2
= (int) SWIG_AsInt(obj1
);
1075 if (PyErr_Occurred()) SWIG_fail
;
1077 arg3
= wxString_in_helper(obj2
);
1078 if (arg3
== NULL
) SWIG_fail
;
1084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1094 arg6
= (long) SWIG_AsLong(obj5
);
1095 if (PyErr_Occurred()) SWIG_fail
;
1098 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1102 PyErr_SetString(PyExc_TypeError
,"null reference");
1108 arg8
= wxString_in_helper(obj7
);
1109 if (arg8
== NULL
) SWIG_fail
;
1114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1115 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1117 wxPyEndAllowThreads(__tstate
);
1118 if (PyErr_Occurred()) SWIG_fail
;
1121 resultobj
= wxPyMake_wxObject(result
);
1145 static PyObject
*_wrap_new_PreButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1146 PyObject
*resultobj
;
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1155 result
= (wxButton
*)new wxButton();
1157 wxPyEndAllowThreads(__tstate
);
1158 if (PyErr_Occurred()) SWIG_fail
;
1161 resultobj
= wxPyMake_wxObject(result
);
1169 static PyObject
*_wrap_Button_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
*resultobj
;
1171 wxButton
*arg1
= (wxButton
*) 0 ;
1172 wxWindow
*arg2
= (wxWindow
*) 0 ;
1174 wxString
*arg4
= 0 ;
1175 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1176 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1177 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1178 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1179 long arg7
= (long) 0 ;
1180 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1181 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1182 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1183 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1185 bool temp4
= False
;
1188 bool temp9
= False
;
1189 PyObject
* obj0
= 0 ;
1190 PyObject
* obj1
= 0 ;
1191 PyObject
* obj2
= 0 ;
1192 PyObject
* obj3
= 0 ;
1193 PyObject
* obj4
= 0 ;
1194 PyObject
* obj5
= 0 ;
1195 PyObject
* obj6
= 0 ;
1196 PyObject
* obj7
= 0 ;
1197 PyObject
* obj8
= 0 ;
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1207 arg3
= (int) SWIG_AsInt(obj2
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 arg4
= wxString_in_helper(obj3
);
1211 if (arg4
== NULL
) SWIG_fail
;
1217 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1223 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1227 arg7
= (long) SWIG_AsLong(obj6
);
1228 if (PyErr_Occurred()) SWIG_fail
;
1231 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1235 PyErr_SetString(PyExc_TypeError
,"null reference");
1241 arg9
= wxString_in_helper(obj8
);
1242 if (arg9
== NULL
) SWIG_fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1278 static PyObject
*_wrap_Button_SetDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1279 PyObject
*resultobj
;
1280 wxButton
*arg1
= (wxButton
*) 0 ;
1281 PyObject
* obj0
= 0 ;
1283 (char *) "self", NULL
1286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1291 (arg1
)->SetDefault();
1293 wxPyEndAllowThreads(__tstate
);
1294 if (PyErr_Occurred()) SWIG_fail
;
1296 Py_INCREF(Py_None
); resultobj
= Py_None
;
1303 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
*resultobj
;
1310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1313 result
= wxButton::GetDefaultSize();
1315 wxPyEndAllowThreads(__tstate
);
1316 if (PyErr_Occurred()) SWIG_fail
;
1320 resultptr
= new wxSize((wxSize
&) result
);
1321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1329 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1330 PyObject
*resultobj
;
1331 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1332 wxVisualAttributes result
;
1333 PyObject
* obj0
= 0 ;
1335 (char *) "variant", NULL
1338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1340 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1345 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1347 wxPyEndAllowThreads(__tstate
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1351 wxVisualAttributes
* resultptr
;
1352 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1361 static PyObject
* Button_swigregister(PyObject
*self
, PyObject
*args
) {
1363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1364 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1366 return Py_BuildValue((char *)"");
1368 static PyObject
*_wrap_new_BitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxWindow
*arg1
= (wxWindow
*) 0 ;
1372 wxBitmap
*arg3
= 0 ;
1373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1377 long arg6
= (long) wxBU_AUTODRAW
;
1378 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1379 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1380 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1381 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1382 wxBitmapButton
*result
;
1385 bool temp8
= False
;
1386 PyObject
* obj0
= 0 ;
1387 PyObject
* obj1
= 0 ;
1388 PyObject
* obj2
= 0 ;
1389 PyObject
* obj3
= 0 ;
1390 PyObject
* obj4
= 0 ;
1391 PyObject
* obj5
= 0 ;
1392 PyObject
* obj6
= 0 ;
1393 PyObject
* obj7
= 0 ;
1395 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1401 arg2
= (int) SWIG_AsInt(obj1
);
1402 if (PyErr_Occurred()) SWIG_fail
;
1403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1407 PyErr_SetString(PyExc_TypeError
,"null reference");
1413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1423 arg6
= (long) SWIG_AsLong(obj5
);
1424 if (PyErr_Occurred()) SWIG_fail
;
1427 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1431 PyErr_SetString(PyExc_TypeError
,"null reference");
1437 arg8
= wxString_in_helper(obj7
);
1438 if (arg8
== NULL
) SWIG_fail
;
1443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1444 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1446 wxPyEndAllowThreads(__tstate
);
1447 if (PyErr_Occurred()) SWIG_fail
;
1450 resultobj
= wxPyMake_wxObject(result
);
1466 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 wxBitmapButton
*result
;
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 result
= (wxBitmapButton
*)new wxBitmapButton();
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1482 resultobj
= wxPyMake_wxObject(result
);
1490 static PyObject
*_wrap_BitmapButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1493 wxWindow
*arg2
= (wxWindow
*) 0 ;
1495 wxBitmap
*arg4
= 0 ;
1496 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1497 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1498 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1499 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1500 long arg7
= (long) wxBU_AUTODRAW
;
1501 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1502 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1503 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1504 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1508 bool temp9
= False
;
1509 PyObject
* obj0
= 0 ;
1510 PyObject
* obj1
= 0 ;
1511 PyObject
* obj2
= 0 ;
1512 PyObject
* obj3
= 0 ;
1513 PyObject
* obj4
= 0 ;
1514 PyObject
* obj5
= 0 ;
1515 PyObject
* obj6
= 0 ;
1516 PyObject
* obj7
= 0 ;
1517 PyObject
* obj8
= 0 ;
1519 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1527 arg3
= (int) SWIG_AsInt(obj2
);
1528 if (PyErr_Occurred()) SWIG_fail
;
1529 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1530 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1533 PyErr_SetString(PyExc_TypeError
,"null reference");
1539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1545 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1549 arg7
= (long) SWIG_AsLong(obj6
);
1550 if (PyErr_Occurred()) SWIG_fail
;
1553 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1557 PyErr_SetString(PyExc_TypeError
,"null reference");
1563 arg9
= wxString_in_helper(obj8
);
1564 if (arg9
== NULL
) SWIG_fail
;
1569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1570 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1572 wxPyEndAllowThreads(__tstate
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1592 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
*resultobj
;
1594 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1596 PyObject
* obj0
= 0 ;
1598 (char *) "self", NULL
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1606 result
= (arg1
)->GetBitmapLabel();
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1612 wxBitmap
* resultptr
;
1613 resultptr
= new wxBitmap((wxBitmap
&) result
);
1614 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1622 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1623 PyObject
*resultobj
;
1624 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1626 PyObject
* obj0
= 0 ;
1628 (char *) "self", NULL
1631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (arg1
)->GetBitmapDisabled();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1642 wxBitmap
* resultptr
;
1643 resultptr
= new wxBitmap((wxBitmap
&) result
);
1644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1652 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1656 PyObject
* obj0
= 0 ;
1658 (char *) "self", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 result
= (arg1
)->GetBitmapFocus();
1668 wxPyEndAllowThreads(__tstate
);
1669 if (PyErr_Occurred()) SWIG_fail
;
1672 wxBitmap
* resultptr
;
1673 resultptr
= new wxBitmap((wxBitmap
&) result
);
1674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1682 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1688 (char *) "self", NULL
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1696 result
= (arg1
)->GetBitmapSelected();
1698 wxPyEndAllowThreads(__tstate
);
1699 if (PyErr_Occurred()) SWIG_fail
;
1702 wxBitmap
* resultptr
;
1703 resultptr
= new wxBitmap((wxBitmap
&) result
);
1704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1712 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1715 wxBitmap
*arg2
= 0 ;
1716 PyObject
* obj0
= 0 ;
1717 PyObject
* obj1
= 0 ;
1719 (char *) "self",(char *) "bitmap", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1729 PyErr_SetString(PyExc_TypeError
,"null reference");
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1734 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1739 Py_INCREF(Py_None
); resultobj
= Py_None
;
1746 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1749 wxBitmap
*arg2
= 0 ;
1750 PyObject
* obj0
= 0 ;
1751 PyObject
* obj1
= 0 ;
1753 (char *) "self",(char *) "bitmap", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1763 PyErr_SetString(PyExc_TypeError
,"null reference");
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 Py_INCREF(Py_None
); resultobj
= Py_None
;
1780 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1783 wxBitmap
*arg2
= 0 ;
1784 PyObject
* obj0
= 0 ;
1785 PyObject
* obj1
= 0 ;
1787 (char *) "self",(char *) "bitmap", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1797 PyErr_SetString(PyExc_TypeError
,"null reference");
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1817 wxBitmap
*arg2
= 0 ;
1818 PyObject
* obj0
= 0 ;
1819 PyObject
* obj1
= 0 ;
1821 (char *) "self",(char *) "bitmap", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1831 PyErr_SetString(PyExc_TypeError
,"null reference");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1841 Py_INCREF(Py_None
); resultobj
= Py_None
;
1848 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1850 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1853 PyObject
* obj0
= 0 ;
1854 PyObject
* obj1
= 0 ;
1855 PyObject
* obj2
= 0 ;
1857 (char *) "self",(char *) "x",(char *) "y", NULL
1860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1863 arg2
= (int) SWIG_AsInt(obj1
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1865 arg3
= (int) SWIG_AsInt(obj2
);
1866 if (PyErr_Occurred()) SWIG_fail
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 (arg1
)->SetMargins(arg2
,arg3
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) SWIG_fail
;
1874 Py_INCREF(Py_None
); resultobj
= Py_None
;
1881 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
*resultobj
;
1883 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1885 PyObject
* obj0
= 0 ;
1887 (char *) "self", NULL
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
1891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1895 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
1897 wxPyEndAllowThreads(__tstate
);
1898 if (PyErr_Occurred()) SWIG_fail
;
1900 resultobj
= SWIG_FromInt((int)result
);
1907 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
*resultobj
;
1909 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1911 PyObject
* obj0
= 0 ;
1913 (char *) "self", NULL
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
1917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_FromInt((int)result
);
1933 static PyObject
* BitmapButton_swigregister(PyObject
*self
, PyObject
*args
) {
1935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
1938 return Py_BuildValue((char *)"");
1940 static int _wrap_CheckBoxNameStr_set(PyObject
*_val
) {
1941 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
1946 static PyObject
*_wrap_CheckBoxNameStr_get() {
1951 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1953 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
1960 static PyObject
*_wrap_new_CheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
*resultobj
;
1962 wxWindow
*arg1
= (wxWindow
*) 0 ;
1964 wxString
*arg3
= 0 ;
1965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1969 long arg6
= (long) 0 ;
1970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1972 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
1973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1975 bool temp3
= False
;
1978 bool temp8
= False
;
1979 PyObject
* obj0
= 0 ;
1980 PyObject
* obj1
= 0 ;
1981 PyObject
* obj2
= 0 ;
1982 PyObject
* obj3
= 0 ;
1983 PyObject
* obj4
= 0 ;
1984 PyObject
* obj5
= 0 ;
1985 PyObject
* obj6
= 0 ;
1986 PyObject
* obj7
= 0 ;
1988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 arg2
= (int) SWIG_AsInt(obj1
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 arg3
= wxString_in_helper(obj2
);
1998 if (arg3
== NULL
) SWIG_fail
;
2004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2014 arg6
= (long) SWIG_AsLong(obj5
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2018 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2022 PyErr_SetString(PyExc_TypeError
,"null reference");
2028 arg8
= wxString_in_helper(obj7
);
2029 if (arg8
== NULL
) SWIG_fail
;
2034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2035 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2037 wxPyEndAllowThreads(__tstate
);
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2063 static PyObject
*_wrap_new_PreCheckBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (wxCheckBox
*)new wxCheckBox();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2085 static PyObject
*_wrap_CheckBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2088 wxWindow
*arg2
= (wxWindow
*) 0 ;
2090 wxString
*arg4
= 0 ;
2091 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2092 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2093 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2094 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2095 long arg7
= (long) 0 ;
2096 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2097 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2098 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2099 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2101 bool temp4
= False
;
2104 bool temp9
= False
;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2107 PyObject
* obj2
= 0 ;
2108 PyObject
* obj3
= 0 ;
2109 PyObject
* obj4
= 0 ;
2110 PyObject
* obj5
= 0 ;
2111 PyObject
* obj6
= 0 ;
2112 PyObject
* obj7
= 0 ;
2113 PyObject
* obj8
= 0 ;
2115 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 arg3
= (int) SWIG_AsInt(obj2
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 arg4
= wxString_in_helper(obj3
);
2127 if (arg4
== NULL
) SWIG_fail
;
2133 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2139 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2143 arg7
= (long) SWIG_AsLong(obj6
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2147 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2151 PyErr_SetString(PyExc_TypeError
,"null reference");
2157 arg9
= wxString_in_helper(obj8
);
2158 if (arg9
== NULL
) SWIG_fail
;
2163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2166 wxPyEndAllowThreads(__tstate
);
2167 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2194 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (bool)(arg1
)->GetValue();
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2222 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2228 (char *) "self", NULL
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2236 result
= (bool)(arg1
)->IsChecked();
2238 wxPyEndAllowThreads(__tstate
);
2239 if (PyErr_Occurred()) SWIG_fail
;
2242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2250 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2255 PyObject
* obj1
= 0 ;
2257 (char *) "self",(char *) "state", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2263 arg2
= (bool const) SWIG_AsBool(obj1
);
2264 if (PyErr_Occurred()) SWIG_fail
;
2266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2267 (arg1
)->SetValue(arg2
);
2269 wxPyEndAllowThreads(__tstate
);
2270 if (PyErr_Occurred()) SWIG_fail
;
2272 Py_INCREF(Py_None
); resultobj
= Py_None
;
2279 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2281 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2283 PyObject
* obj0
= 0 ;
2285 (char *) "self", NULL
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2293 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2295 wxPyEndAllowThreads(__tstate
);
2296 if (PyErr_Occurred()) SWIG_fail
;
2298 resultobj
= SWIG_FromInt((int)result
);
2305 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2309 PyObject
* obj0
= 0 ;
2310 PyObject
* obj1
= 0 ;
2312 (char *) "self",(char *) "state", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2318 arg2
= (wxCheckBoxState
) SWIG_AsInt(obj1
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2362 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
*resultobj
;
2364 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2366 PyObject
* obj0
= 0 ;
2368 (char *) "self", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2376 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2378 wxPyEndAllowThreads(__tstate
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2390 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2393 wxVisualAttributes result
;
2394 PyObject
* obj0
= 0 ;
2396 (char *) "variant", NULL
2399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2401 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2402 if (PyErr_Occurred()) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 wxVisualAttributes
* resultptr
;
2413 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2422 static PyObject
* CheckBox_swigregister(PyObject
*self
, PyObject
*args
) {
2424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2425 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2427 return Py_BuildValue((char *)"");
2429 static int _wrap_ChoiceNameStr_set(PyObject
*_val
) {
2430 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2435 static PyObject
*_wrap_ChoiceNameStr_get() {
2440 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2442 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2449 static PyObject
*_wrap_new_Choice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxWindow
*arg1
= (wxWindow
*) 0 ;
2452 int arg2
= (int) -1 ;
2453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2457 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2458 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2459 long arg6
= (long) 0 ;
2460 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2461 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2462 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2463 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2467 bool temp5
= False
;
2468 bool temp8
= False
;
2469 PyObject
* obj0
= 0 ;
2470 PyObject
* obj1
= 0 ;
2471 PyObject
* obj2
= 0 ;
2472 PyObject
* obj3
= 0 ;
2473 PyObject
* obj4
= 0 ;
2474 PyObject
* obj5
= 0 ;
2475 PyObject
* obj6
= 0 ;
2476 PyObject
* obj7
= 0 ;
2478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int) SWIG_AsInt(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2491 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2497 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2502 if (! PySequence_Check(obj4
)) {
2503 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2506 arg5
= new wxArrayString
;
2508 int i
, len
=PySequence_Length(obj4
);
2509 for (i
=0; i
<len
; i
++) {
2510 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2512 PyObject
* str
= PyObject_Unicode(item
);
2514 PyObject
* str
= PyObject_Str(item
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2517 arg5
->Add(Py2wxString(str
));
2524 arg6
= (long) SWIG_AsLong(obj5
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2528 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2532 PyErr_SetString(PyExc_TypeError
,"null reference");
2538 arg8
= wxString_in_helper(obj7
);
2539 if (arg8
== NULL
) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2552 if (temp5
) delete arg5
;
2561 if (temp5
) delete arg5
;
2571 static PyObject
*_wrap_new_PreChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (wxChoice
*)new wxChoice();
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2593 static PyObject
*_wrap_Choice_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxChoice
*arg1
= (wxChoice
*) 0 ;
2596 wxWindow
*arg2
= (wxWindow
*) 0 ;
2597 int arg3
= (int) -1 ;
2598 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2599 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2600 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2601 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2602 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2603 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2604 long arg7
= (long) 0 ;
2605 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2606 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2607 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2608 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2612 bool temp6
= False
;
2613 bool temp9
= False
;
2614 PyObject
* obj0
= 0 ;
2615 PyObject
* obj1
= 0 ;
2616 PyObject
* obj2
= 0 ;
2617 PyObject
* obj3
= 0 ;
2618 PyObject
* obj4
= 0 ;
2619 PyObject
* obj5
= 0 ;
2620 PyObject
* obj6
= 0 ;
2621 PyObject
* obj7
= 0 ;
2622 PyObject
* obj8
= 0 ;
2624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2633 arg3
= (int) SWIG_AsInt(obj2
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2650 if (! PySequence_Check(obj5
)) {
2651 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2654 arg6
= new wxArrayString
;
2656 int i
, len
=PySequence_Length(obj5
);
2657 for (i
=0; i
<len
; i
++) {
2658 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2660 PyObject
* str
= PyObject_Unicode(item
);
2662 PyObject
* str
= PyObject_Str(item
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2665 arg6
->Add(Py2wxString(str
));
2672 arg7
= (long) SWIG_AsLong(obj6
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2676 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2680 PyErr_SetString(PyExc_TypeError
,"null reference");
2686 arg9
= wxString_in_helper(obj8
);
2687 if (arg9
== NULL
) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2702 if (temp6
) delete arg6
;
2711 if (temp6
) delete arg6
;
2721 static PyObject
*_wrap_Choice_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2722 PyObject
*resultobj
;
2723 wxChoice
*arg1
= (wxChoice
*) 0 ;
2725 PyObject
* obj0
= 0 ;
2726 PyObject
* obj1
= 0 ;
2728 (char *) "self",(char *) "n", NULL
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2734 arg2
= (int const) SWIG_AsInt(obj1
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 (arg1
)->SetSelection(arg2
);
2740 wxPyEndAllowThreads(__tstate
);
2741 if (PyErr_Occurred()) SWIG_fail
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxChoice
*arg1
= (wxChoice
*) 0 ;
2753 wxString
*arg2
= 0 ;
2755 bool temp2
= False
;
2756 PyObject
* obj0
= 0 ;
2757 PyObject
* obj1
= 0 ;
2759 (char *) "self",(char *) "string", NULL
2762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg2
= wxString_in_helper(obj1
);
2767 if (arg2
== NULL
) SWIG_fail
;
2771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2772 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2774 wxPyEndAllowThreads(__tstate
);
2775 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2794 static PyObject
*_wrap_Choice_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2796 wxChoice
*arg1
= (wxChoice
*) 0 ;
2798 wxString
*arg3
= 0 ;
2799 bool temp3
= False
;
2800 PyObject
* obj0
= 0 ;
2801 PyObject
* obj1
= 0 ;
2802 PyObject
* obj2
= 0 ;
2804 (char *) "self",(char *) "n",(char *) "string", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2810 arg2
= (int) SWIG_AsInt(obj1
);
2811 if (PyErr_Occurred()) SWIG_fail
;
2813 arg3
= wxString_in_helper(obj2
);
2814 if (arg3
== NULL
) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2839 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
*resultobj
;
2841 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2842 wxVisualAttributes result
;
2843 PyObject
* obj0
= 0 ;
2845 (char *) "variant", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2850 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2861 wxVisualAttributes
* resultptr
;
2862 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2871 static PyObject
* Choice_swigregister(PyObject
*self
, PyObject
*args
) {
2873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2874 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
2876 return Py_BuildValue((char *)"");
2878 static int _wrap_ComboBoxNameStr_set(PyObject
*_val
) {
2879 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
2884 static PyObject
*_wrap_ComboBoxNameStr_get() {
2889 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2891 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
2898 static PyObject
*_wrap_new_ComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxWindow
*arg1
= (wxWindow
*) 0 ;
2901 int arg2
= (int) -1 ;
2902 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2903 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2904 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2905 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2906 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2907 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2908 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2909 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2910 long arg7
= (long) 0 ;
2911 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2912 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2913 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
2914 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2916 bool temp3
= False
;
2919 bool temp6
= False
;
2920 bool temp9
= False
;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2923 PyObject
* obj2
= 0 ;
2924 PyObject
* obj3
= 0 ;
2925 PyObject
* obj4
= 0 ;
2926 PyObject
* obj5
= 0 ;
2927 PyObject
* obj6
= 0 ;
2928 PyObject
* obj7
= 0 ;
2929 PyObject
* obj8
= 0 ;
2931 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2938 arg2
= (int) SWIG_AsInt(obj1
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2943 arg3
= wxString_in_helper(obj2
);
2944 if (arg3
== NULL
) SWIG_fail
;
2951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2962 if (! PySequence_Check(obj5
)) {
2963 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2966 arg6
= new wxArrayString
;
2968 int i
, len
=PySequence_Length(obj5
);
2969 for (i
=0; i
<len
; i
++) {
2970 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2972 PyObject
* str
= PyObject_Unicode(item
);
2974 PyObject
* str
= PyObject_Str(item
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2977 arg6
->Add(Py2wxString(str
));
2984 arg7
= (long) SWIG_AsLong(obj6
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2992 PyErr_SetString(PyExc_TypeError
,"null reference");
2998 arg9
= wxString_in_helper(obj8
);
2999 if (arg9
== NULL
) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3016 if (temp6
) delete arg6
;
3029 if (temp6
) delete arg6
;
3039 static PyObject
*_wrap_new_PreComboBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (wxComboBox
*)new wxComboBox();
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3061 static PyObject
*_wrap_ComboBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3064 wxWindow
*arg2
= (wxWindow
*) 0 ;
3065 int arg3
= (int) -1 ;
3066 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3067 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3068 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3069 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3070 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3071 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3072 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3073 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3074 long arg8
= (long) 0 ;
3075 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3076 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3077 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3078 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3080 bool temp4
= False
;
3083 bool temp7
= False
;
3084 bool temp10
= False
;
3085 PyObject
* obj0
= 0 ;
3086 PyObject
* obj1
= 0 ;
3087 PyObject
* obj2
= 0 ;
3088 PyObject
* obj3
= 0 ;
3089 PyObject
* obj4
= 0 ;
3090 PyObject
* obj5
= 0 ;
3091 PyObject
* obj6
= 0 ;
3092 PyObject
* obj7
= 0 ;
3093 PyObject
* obj8
= 0 ;
3094 PyObject
* obj9
= 0 ;
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 arg3
= (int) SWIG_AsInt(obj2
);
3106 if (PyErr_Occurred()) SWIG_fail
;
3110 arg4
= wxString_in_helper(obj3
);
3111 if (arg4
== NULL
) SWIG_fail
;
3118 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3124 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3129 if (! PySequence_Check(obj6
)) {
3130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3133 arg7
= new wxArrayString
;
3135 int i
, len
=PySequence_Length(obj6
);
3136 for (i
=0; i
<len
; i
++) {
3137 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3139 PyObject
* str
= PyObject_Unicode(item
);
3141 PyObject
* str
= PyObject_Str(item
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3144 arg7
->Add(Py2wxString(str
));
3151 arg8
= (long) SWIG_AsLong(obj7
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3155 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3159 PyErr_SetString(PyExc_TypeError
,"null reference");
3165 arg10
= wxString_in_helper(obj9
);
3166 if (arg10
== NULL
) SWIG_fail
;
3171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3174 wxPyEndAllowThreads(__tstate
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3185 if (temp7
) delete arg7
;
3198 if (temp7
) delete arg7
;
3208 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= ((wxComboBox
const *)arg1
)->GetValue();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3240 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3243 wxString
*arg2
= 0 ;
3244 bool temp2
= False
;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "value", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3255 arg2
= wxString_in_helper(obj1
);
3256 if (arg2
== NULL
) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 (arg1
)->SetValue((wxString
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_ComboBox_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_ComboBox_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3309 PyObject
* obj0
= 0 ;
3311 (char *) "self", NULL
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 static PyObject
*_wrap_ComboBox_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3332 PyObject
*resultobj
;
3333 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 wxPyEndAllowThreads(__tstate
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3349 Py_INCREF(Py_None
); resultobj
= Py_None
;
3356 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3360 PyObject
* obj0
= 0 ;
3361 PyObject
* obj1
= 0 ;
3363 (char *) "self",(char *) "pos", NULL
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3369 arg2
= (long) SWIG_AsLong(obj1
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3373 (arg1
)->SetInsertionPoint(arg2
);
3375 wxPyEndAllowThreads(__tstate
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3378 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3386 PyObject
*resultobj
;
3387 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3389 PyObject
* obj0
= 0 ;
3391 (char *) "self", NULL
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3404 resultobj
= SWIG_FromLong((long)result
);
3411 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3415 PyObject
* obj0
= 0 ;
3417 (char *) "self", NULL
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 resultobj
= SWIG_FromLong((long)result
);
3437 static PyObject
*_wrap_ComboBox_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3442 wxString
*arg4
= 0 ;
3443 bool temp4
= False
;
3444 PyObject
* obj0
= 0 ;
3445 PyObject
* obj1
= 0 ;
3446 PyObject
* obj2
= 0 ;
3447 PyObject
* obj3
= 0 ;
3449 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3455 arg2
= (long) SWIG_AsLong(obj1
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3457 arg3
= (long) SWIG_AsLong(obj2
);
3458 if (PyErr_Occurred()) SWIG_fail
;
3460 arg4
= wxString_in_helper(obj3
);
3461 if (arg4
== NULL
) SWIG_fail
;
3465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3468 wxPyEndAllowThreads(__tstate
);
3469 if (PyErr_Occurred()) SWIG_fail
;
3471 Py_INCREF(Py_None
); resultobj
= Py_None
;
3486 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
*resultobj
;
3488 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3493 (char *) "self",(char *) "n", NULL
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3499 arg2
= (int) SWIG_AsInt(obj1
);
3500 if (PyErr_Occurred()) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 (arg1
)->SetSelection(arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 Py_INCREF(Py_None
); resultobj
= Py_None
;
3515 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3520 PyObject
* obj0
= 0 ;
3521 PyObject
* obj1
= 0 ;
3522 PyObject
* obj2
= 0 ;
3524 (char *) "self",(char *) "from",(char *) "to", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3530 arg2
= (long) SWIG_AsLong(obj1
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3532 arg3
= (long) SWIG_AsLong(obj2
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 (arg1
)->SetSelection(arg2
,arg3
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3541 Py_INCREF(Py_None
); resultobj
= Py_None
;
3548 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3551 wxString
*arg2
= 0 ;
3553 bool temp2
= False
;
3554 PyObject
* obj0
= 0 ;
3555 PyObject
* obj1
= 0 ;
3557 (char *) "self",(char *) "string", NULL
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 arg2
= wxString_in_helper(obj1
);
3565 if (arg2
== NULL
) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3592 static PyObject
*_wrap_ComboBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3593 PyObject
*resultobj
;
3594 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3596 wxString
*arg3
= 0 ;
3597 bool temp3
= False
;
3598 PyObject
* obj0
= 0 ;
3599 PyObject
* obj1
= 0 ;
3600 PyObject
* obj2
= 0 ;
3602 (char *) "self",(char *) "n",(char *) "string", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg2
= (int) SWIG_AsInt(obj1
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 arg3
= wxString_in_helper(obj2
);
3612 if (arg3
== NULL
) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3637 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3642 PyObject
* obj1
= 0 ;
3644 (char *) "self",(char *) "editable", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3650 arg2
= (bool) SWIG_AsBool(obj1
);
3651 if (PyErr_Occurred()) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 (arg1
)->SetEditable(arg2
);
3656 wxPyEndAllowThreads(__tstate
);
3657 if (PyErr_Occurred()) SWIG_fail
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3669 PyObject
* obj0
= 0 ;
3671 (char *) "self", NULL
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetInsertionPointEnd();
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long) SWIG_AsLong(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long) SWIG_AsLong(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->Remove(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3727 wxVisualAttributes result
;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "variant", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3735 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 wxVisualAttributes
* resultptr
;
3747 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3756 static PyObject
* ComboBox_swigregister(PyObject
*self
, PyObject
*args
) {
3758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3761 return Py_BuildValue((char *)"");
3763 static int _wrap_GaugeNameStr_set(PyObject
*_val
) {
3764 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3769 static PyObject
*_wrap_GaugeNameStr_get() {
3774 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3776 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3783 static PyObject
*_wrap_new_Gauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3785 wxWindow
*arg1
= (wxWindow
*) 0 ;
3788 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3789 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3790 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3791 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3792 long arg6
= (long) wxGA_HORIZONTAL
;
3793 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3794 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3795 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3796 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3800 bool temp8
= False
;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 arg2
= (int) SWIG_AsInt(obj1
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3818 arg3
= (int) SWIG_AsInt(obj2
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3823 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3829 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3833 arg6
= (long) SWIG_AsLong(obj5
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
3838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3841 PyErr_SetString(PyExc_TypeError
,"null reference");
3847 arg8
= wxString_in_helper(obj7
);
3848 if (arg8
== NULL
) SWIG_fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3874 static PyObject
*_wrap_new_PreGauge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
3883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3884 result
= (wxGauge
*)new wxGauge();
3886 wxPyEndAllowThreads(__tstate
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
3896 static PyObject
*_wrap_Gauge_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3897 PyObject
*resultobj
;
3898 wxGauge
*arg1
= (wxGauge
*) 0 ;
3899 wxWindow
*arg2
= (wxWindow
*) 0 ;
3902 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3903 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3904 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3905 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3906 long arg7
= (long) wxGA_HORIZONTAL
;
3907 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3908 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3909 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
3910 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3914 bool temp9
= False
;
3915 PyObject
* obj0
= 0 ;
3916 PyObject
* obj1
= 0 ;
3917 PyObject
* obj2
= 0 ;
3918 PyObject
* obj3
= 0 ;
3919 PyObject
* obj4
= 0 ;
3920 PyObject
* obj5
= 0 ;
3921 PyObject
* obj6
= 0 ;
3922 PyObject
* obj7
= 0 ;
3923 PyObject
* obj8
= 0 ;
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
3930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3933 arg3
= (int) SWIG_AsInt(obj2
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3935 arg4
= (int) SWIG_AsInt(obj3
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3940 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3946 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3950 arg7
= (long) SWIG_AsLong(obj6
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3954 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3958 PyErr_SetString(PyExc_TypeError
,"null reference");
3964 arg9
= wxString_in_helper(obj8
);
3965 if (arg9
== NULL
) SWIG_fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3993 static PyObject
*_wrap_Gauge_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxGauge
*arg1
= (wxGauge
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3998 PyObject
* obj1
= 0 ;
4000 (char *) "self",(char *) "range", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 arg2
= (int) SWIG_AsInt(obj1
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 (arg1
)->SetRange(arg2
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 Py_INCREF(Py_None
); resultobj
= Py_None
;
4022 static PyObject
*_wrap_Gauge_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
;
4024 wxGauge
*arg1
= (wxGauge
*) 0 ;
4026 PyObject
* obj0
= 0 ;
4028 (char *) "self", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_FromInt((int)result
);
4048 static PyObject
*_wrap_Gauge_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
*resultobj
;
4050 wxGauge
*arg1
= (wxGauge
*) 0 ;
4052 PyObject
* obj0
= 0 ;
4053 PyObject
* obj1
= 0 ;
4055 (char *) "self",(char *) "pos", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->SetValue(arg2
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Gauge_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxGauge
*arg1
= (wxGauge
*) 0 ;
4081 PyObject
* obj0
= 0 ;
4083 (char *) "self", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= SWIG_FromInt((int)result
);
4103 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxGauge
*arg1
= (wxGauge
*) 0 ;
4107 PyObject
* obj0
= 0 ;
4109 (char *) "self", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4131 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxGauge
*arg1
= (wxGauge
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4138 (char *) "self",(char *) "w", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 arg2
= (int) SWIG_AsInt(obj1
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4148 (arg1
)->SetShadowWidth(arg2
);
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 Py_INCREF(Py_None
); resultobj
= Py_None
;
4160 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxGauge
*arg1
= (wxGauge
*) 0 ;
4164 PyObject
* obj0
= 0 ;
4166 (char *) "self", NULL
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_FromInt((int)result
);
4186 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
;
4188 wxGauge
*arg1
= (wxGauge
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4193 (char *) "self",(char *) "w", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 arg2
= (int) SWIG_AsInt(obj1
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4203 (arg1
)->SetBezelFace(arg2
);
4205 wxPyEndAllowThreads(__tstate
);
4206 if (PyErr_Occurred()) SWIG_fail
;
4208 Py_INCREF(Py_None
); resultobj
= Py_None
;
4215 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4216 PyObject
*resultobj
;
4217 wxGauge
*arg1
= (wxGauge
*) 0 ;
4219 PyObject
* obj0
= 0 ;
4221 (char *) "self", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= SWIG_FromInt((int)result
);
4241 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4244 wxVisualAttributes result
;
4245 PyObject
* obj0
= 0 ;
4247 (char *) "variant", NULL
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4252 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 wxVisualAttributes
* resultptr
;
4264 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4273 static PyObject
* Gauge_swigregister(PyObject
*self
, PyObject
*args
) {
4275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4278 return Py_BuildValue((char *)"");
4280 static int _wrap_StaticBitmapNameStr_set(PyObject
*_val
) {
4281 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4286 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4291 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4293 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4300 static int _wrap_StaticBoxNameStr_set(PyObject
*_val
) {
4301 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4306 static PyObject
*_wrap_StaticBoxNameStr_get() {
4311 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4313 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4320 static int _wrap_StaticTextNameStr_set(PyObject
*_val
) {
4321 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4326 static PyObject
*_wrap_StaticTextNameStr_get() {
4331 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4333 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4340 static PyObject
*_wrap_new_StaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxWindow
*arg1
= (wxWindow
*) 0 ;
4344 wxString
*arg3
= 0 ;
4345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4349 long arg6
= (long) 0 ;
4350 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4352 wxStaticBox
*result
;
4353 bool temp3
= False
;
4356 bool temp7
= False
;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 PyObject
* obj3
= 0 ;
4361 PyObject
* obj4
= 0 ;
4362 PyObject
* obj5
= 0 ;
4363 PyObject
* obj6
= 0 ;
4365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4371 arg2
= (int) SWIG_AsInt(obj1
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4374 arg3
= wxString_in_helper(obj2
);
4375 if (arg3
== NULL
) SWIG_fail
;
4381 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4387 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4391 arg6
= (long) SWIG_AsLong(obj5
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 arg7
= wxString_in_helper(obj6
);
4397 if (arg7
== NULL
) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4409 resultobj
= wxPyMake_wxObject(result
);
4433 static PyObject
*_wrap_new_PreStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
;
4435 wxStaticBox
*result
;
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (wxStaticBox
*)new wxStaticBox();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= wxPyMake_wxObject(result
);
4457 static PyObject
*_wrap_StaticBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4460 wxWindow
*arg2
= (wxWindow
*) 0 ;
4462 wxString
*arg4
= 0 ;
4463 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4464 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4465 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4466 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4467 long arg7
= (long) 0 ;
4468 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4471 bool temp4
= False
;
4474 bool temp8
= False
;
4475 PyObject
* obj0
= 0 ;
4476 PyObject
* obj1
= 0 ;
4477 PyObject
* obj2
= 0 ;
4478 PyObject
* obj3
= 0 ;
4479 PyObject
* obj4
= 0 ;
4480 PyObject
* obj5
= 0 ;
4481 PyObject
* obj6
= 0 ;
4482 PyObject
* obj7
= 0 ;
4484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 arg3
= (int) SWIG_AsInt(obj2
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 arg4
= wxString_in_helper(obj3
);
4496 if (arg4
== NULL
) SWIG_fail
;
4502 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4508 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4512 arg7
= (long) SWIG_AsLong(obj6
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4517 arg8
= wxString_in_helper(obj7
);
4518 if (arg8
== NULL
) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4554 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4557 wxVisualAttributes result
;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "variant", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4565 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4570 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4572 wxPyEndAllowThreads(__tstate
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 wxVisualAttributes
* resultptr
;
4577 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4586 static PyObject
* StaticBox_swigregister(PyObject
*self
, PyObject
*args
) {
4588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4591 return Py_BuildValue((char *)"");
4593 static PyObject
*_wrap_new_StaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxWindow
*arg1
= (wxWindow
*) 0 ;
4597 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4598 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4599 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4600 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4601 long arg5
= (long) wxLI_HORIZONTAL
;
4602 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4603 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4604 wxStaticLine
*result
;
4607 bool temp6
= False
;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4610 PyObject
* obj2
= 0 ;
4611 PyObject
* obj3
= 0 ;
4612 PyObject
* obj4
= 0 ;
4613 PyObject
* obj5
= 0 ;
4615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4621 arg2
= (int) SWIG_AsInt(obj1
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4632 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4636 arg5
= (long) SWIG_AsLong(obj4
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4641 arg6
= wxString_in_helper(obj5
);
4642 if (arg6
== NULL
) SWIG_fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4668 static PyObject
*_wrap_new_PreStaticLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
;
4670 wxStaticLine
*result
;
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxStaticLine
*)new wxStaticLine();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4690 static PyObject
*_wrap_StaticLine_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
*resultobj
;
4692 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4693 wxWindow
*arg2
= (wxWindow
*) 0 ;
4695 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4696 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4697 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4698 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4699 long arg6
= (long) wxLI_HORIZONTAL
;
4700 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4701 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4705 bool temp7
= False
;
4706 PyObject
* obj0
= 0 ;
4707 PyObject
* obj1
= 0 ;
4708 PyObject
* obj2
= 0 ;
4709 PyObject
* obj3
= 0 ;
4710 PyObject
* obj4
= 0 ;
4711 PyObject
* obj5
= 0 ;
4712 PyObject
* obj6
= 0 ;
4714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 arg3
= (int) SWIG_AsInt(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4733 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4737 arg6
= (long) SWIG_AsLong(obj5
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4742 arg7
= wxString_in_helper(obj6
);
4743 if (arg7
== NULL
) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4771 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4799 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
*resultobj
;
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (int)wxStaticLine::GetDefaultSize();
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_FromInt((int)result
);
4821 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4822 PyObject
*resultobj
;
4823 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4824 wxVisualAttributes result
;
4825 PyObject
* obj0
= 0 ;
4827 (char *) "variant", NULL
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4832 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4843 wxVisualAttributes
* resultptr
;
4844 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4853 static PyObject
* StaticLine_swigregister(PyObject
*self
, PyObject
*args
) {
4855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4856 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
4858 return Py_BuildValue((char *)"");
4860 static PyObject
*_wrap_new_StaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxWindow
*arg1
= (wxWindow
*) 0 ;
4864 wxString
*arg3
= 0 ;
4865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4869 long arg6
= (long) 0 ;
4870 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4872 wxStaticText
*result
;
4873 bool temp3
= False
;
4876 bool temp7
= False
;
4877 PyObject
* obj0
= 0 ;
4878 PyObject
* obj1
= 0 ;
4879 PyObject
* obj2
= 0 ;
4880 PyObject
* obj3
= 0 ;
4881 PyObject
* obj4
= 0 ;
4882 PyObject
* obj5
= 0 ;
4883 PyObject
* obj6
= 0 ;
4885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4891 arg2
= (int) SWIG_AsInt(obj1
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 arg3
= wxString_in_helper(obj2
);
4895 if (arg3
== NULL
) SWIG_fail
;
4901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4911 arg6
= (long) SWIG_AsLong(obj5
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4916 arg7
= wxString_in_helper(obj6
);
4917 if (arg7
== NULL
) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4951 static PyObject
*_wrap_new_PreStaticText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxStaticText
*result
;
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 result
= (wxStaticText
*)new wxStaticText();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
4973 static PyObject
*_wrap_StaticText_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
*resultobj
;
4975 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
4976 wxWindow
*arg2
= (wxWindow
*) 0 ;
4978 wxString
*arg4
= 0 ;
4979 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4980 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4981 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4982 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4983 long arg7
= (long) 0 ;
4984 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
4985 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4987 bool temp4
= False
;
4990 bool temp8
= False
;
4991 PyObject
* obj0
= 0 ;
4992 PyObject
* obj1
= 0 ;
4993 PyObject
* obj2
= 0 ;
4994 PyObject
* obj3
= 0 ;
4995 PyObject
* obj4
= 0 ;
4996 PyObject
* obj5
= 0 ;
4997 PyObject
* obj6
= 0 ;
4998 PyObject
* obj7
= 0 ;
5000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 arg3
= (int) SWIG_AsInt(obj2
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 arg4
= wxString_in_helper(obj3
);
5012 if (arg4
== NULL
) SWIG_fail
;
5018 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5024 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5028 arg7
= (long) SWIG_AsLong(obj6
);
5029 if (PyErr_Occurred()) SWIG_fail
;
5033 arg8
= wxString_in_helper(obj7
);
5034 if (arg8
== NULL
) SWIG_fail
;
5039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5070 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5073 wxVisualAttributes result
;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "variant", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5081 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5092 wxVisualAttributes
* resultptr
;
5093 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5102 static PyObject
* StaticText_swigregister(PyObject
*self
, PyObject
*args
) {
5104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5105 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5107 return Py_BuildValue((char *)"");
5109 static PyObject
*_wrap_new_StaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxWindow
*arg1
= (wxWindow
*) 0 ;
5113 wxBitmap
*arg3
= 0 ;
5114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5118 long arg6
= (long) 0 ;
5119 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5120 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5121 wxStaticBitmap
*result
;
5124 bool temp7
= False
;
5125 PyObject
* obj0
= 0 ;
5126 PyObject
* obj1
= 0 ;
5127 PyObject
* obj2
= 0 ;
5128 PyObject
* obj3
= 0 ;
5129 PyObject
* obj4
= 0 ;
5130 PyObject
* obj5
= 0 ;
5131 PyObject
* obj6
= 0 ;
5133 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5139 arg2
= (int) SWIG_AsInt(obj1
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5141 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5145 PyErr_SetString(PyExc_TypeError
,"null reference");
5151 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5157 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5161 arg6
= (long) SWIG_AsLong(obj5
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5166 arg7
= wxString_in_helper(obj6
);
5167 if (arg7
== NULL
) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5193 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5194 PyObject
*resultobj
;
5195 wxStaticBitmap
*result
;
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5203 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5215 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5218 wxWindow
*arg2
= (wxWindow
*) 0 ;
5220 wxBitmap
*arg4
= 0 ;
5221 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5222 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5223 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5224 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5225 long arg7
= (long) 0 ;
5226 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5231 bool temp8
= False
;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5234 PyObject
* obj2
= 0 ;
5235 PyObject
* obj3
= 0 ;
5236 PyObject
* obj4
= 0 ;
5237 PyObject
* obj5
= 0 ;
5238 PyObject
* obj6
= 0 ;
5239 PyObject
* obj7
= 0 ;
5241 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg3
= (int) SWIG_AsInt(obj2
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5251 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5255 PyErr_SetString(PyExc_TypeError
,"null reference");
5261 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5267 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5271 arg7
= (long) SWIG_AsLong(obj6
);
5272 if (PyErr_Occurred()) SWIG_fail
;
5276 arg8
= wxString_in_helper(obj7
);
5277 if (arg8
== NULL
) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5305 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (arg1
)->GetBitmap();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5325 wxBitmap
* resultptr
;
5326 resultptr
= new wxBitmap((wxBitmap
&) result
);
5327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5335 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
;
5337 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5338 wxBitmap
*arg2
= 0 ;
5339 PyObject
* obj0
= 0 ;
5340 PyObject
* obj1
= 0 ;
5342 (char *) "self",(char *) "bitmap", NULL
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5352 PyErr_SetString(PyExc_TypeError
,"null reference");
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5374 PyObject
* obj1
= 0 ;
5376 (char *) "self",(char *) "icon", NULL
5379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5386 PyErr_SetString(PyExc_TypeError
,"null reference");
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5406 wxVisualAttributes result
;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "variant", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5414 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 wxVisualAttributes
* resultptr
;
5426 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5427 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5435 static PyObject
* StaticBitmap_swigregister(PyObject
*self
, PyObject
*args
) {
5437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5438 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5440 return Py_BuildValue((char *)"");
5442 static int _wrap_ListBoxNameStr_set(PyObject
*_val
) {
5443 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5448 static PyObject
*_wrap_ListBoxNameStr_get() {
5453 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5455 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5462 static PyObject
*_wrap_new_ListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxWindow
*arg1
= (wxWindow
*) 0 ;
5466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5470 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5471 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5472 long arg6
= (long) 0 ;
5473 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5474 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5475 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5480 bool temp5
= False
;
5481 bool temp8
= False
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5484 PyObject
* obj2
= 0 ;
5485 PyObject
* obj3
= 0 ;
5486 PyObject
* obj4
= 0 ;
5487 PyObject
* obj5
= 0 ;
5488 PyObject
* obj6
= 0 ;
5489 PyObject
* obj7
= 0 ;
5491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= (int) SWIG_AsInt(obj1
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5508 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5513 if (! PySequence_Check(obj4
)) {
5514 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5517 arg5
= new wxArrayString
;
5519 int i
, len
=PySequence_Length(obj4
);
5520 for (i
=0; i
<len
; i
++) {
5521 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5523 PyObject
* str
= PyObject_Unicode(item
);
5525 PyObject
* str
= PyObject_Str(item
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5528 arg5
->Add(Py2wxString(str
));
5535 arg6
= (long) SWIG_AsLong(obj5
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5543 PyErr_SetString(PyExc_TypeError
,"null reference");
5549 arg8
= wxString_in_helper(obj7
);
5550 if (arg8
== NULL
) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5563 if (temp5
) delete arg5
;
5572 if (temp5
) delete arg5
;
5582 static PyObject
*_wrap_new_PreListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 result
= (wxListBox
*)new wxListBox();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5604 static PyObject
*_wrap_ListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxListBox
*arg1
= (wxListBox
*) 0 ;
5607 wxWindow
*arg2
= (wxWindow
*) 0 ;
5609 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5610 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5611 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5612 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5613 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5614 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5615 long arg7
= (long) 0 ;
5616 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5617 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5618 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5619 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5623 bool temp6
= False
;
5624 bool temp9
= False
;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 PyObject
* obj2
= 0 ;
5628 PyObject
* obj3
= 0 ;
5629 PyObject
* obj4
= 0 ;
5630 PyObject
* obj5
= 0 ;
5631 PyObject
* obj6
= 0 ;
5632 PyObject
* obj7
= 0 ;
5633 PyObject
* obj8
= 0 ;
5635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5643 arg3
= (int) SWIG_AsInt(obj2
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5648 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5654 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5659 if (! PySequence_Check(obj5
)) {
5660 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5663 arg6
= new wxArrayString
;
5665 int i
, len
=PySequence_Length(obj5
);
5666 for (i
=0; i
<len
; i
++) {
5667 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5669 PyObject
* str
= PyObject_Unicode(item
);
5671 PyObject
* str
= PyObject_Str(item
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5674 arg6
->Add(Py2wxString(str
));
5681 arg7
= (long) SWIG_AsLong(obj6
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5685 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5689 PyErr_SetString(PyExc_TypeError
,"null reference");
5695 arg9
= wxString_in_helper(obj8
);
5696 if (arg9
== NULL
) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5711 if (temp6
) delete arg6
;
5720 if (temp6
) delete arg6
;
5730 static PyObject
*_wrap_ListBox_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
*resultobj
;
5732 wxListBox
*arg1
= (wxListBox
*) 0 ;
5733 wxString
*arg2
= 0 ;
5735 PyObject
*arg4
= (PyObject
*) NULL
;
5736 bool temp2
= False
;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5739 PyObject
* obj2
= 0 ;
5740 PyObject
* obj3
= 0 ;
5742 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 arg2
= wxString_in_helper(obj1
);
5750 if (arg2
== NULL
) SWIG_fail
;
5753 arg3
= (int) SWIG_AsInt(obj2
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5760 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5762 wxPyEndAllowThreads(__tstate
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxListBox
*arg1
= (wxListBox
*) 0 ;
5783 wxArrayString
*arg2
= 0 ;
5785 bool temp2
= False
;
5786 PyObject
* obj0
= 0 ;
5787 PyObject
* obj1
= 0 ;
5788 PyObject
* obj2
= 0 ;
5790 (char *) "self",(char *) "items",(char *) "pos", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 if (! PySequence_Check(obj1
)) {
5798 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5801 arg2
= new wxArrayString
;
5803 int i
, len
=PySequence_Length(obj1
);
5804 for (i
=0; i
<len
; i
++) {
5805 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5807 PyObject
* str
= PyObject_Unicode(item
);
5809 PyObject
* str
= PyObject_Str(item
);
5811 if (PyErr_Occurred()) SWIG_fail
;
5812 arg2
->Add(Py2wxString(str
));
5817 arg3
= (int) SWIG_AsInt(obj2
);
5818 if (PyErr_Occurred()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5828 if (temp2
) delete arg2
;
5833 if (temp2
) delete arg2
;
5839 static PyObject
*_wrap_ListBox_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxListBox
*arg1
= (wxListBox
*) 0 ;
5842 wxArrayString
*arg2
= 0 ;
5843 bool temp2
= False
;
5844 PyObject
* obj0
= 0 ;
5845 PyObject
* obj1
= 0 ;
5847 (char *) "self",(char *) "items", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 if (! PySequence_Check(obj1
)) {
5855 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5858 arg2
= new wxArrayString
;
5860 int i
, len
=PySequence_Length(obj1
);
5861 for (i
=0; i
<len
; i
++) {
5862 PyObject
* item
= PySequence_GetItem(obj1
, i
);
5864 PyObject
* str
= PyObject_Unicode(item
);
5866 PyObject
* str
= PyObject_Str(item
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5869 arg2
->Add(Py2wxString(str
));
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 (arg1
)->Set((wxArrayString
const &)*arg2
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 Py_INCREF(Py_None
); resultobj
= Py_None
;
5883 if (temp2
) delete arg2
;
5888 if (temp2
) delete arg2
;
5894 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxListBox
*arg1
= (wxListBox
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "n", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (int) SWIG_AsInt(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5926 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
*resultobj
;
5928 wxListBox
*arg1
= (wxListBox
*) 0 ;
5930 bool arg3
= (bool) True
;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5935 (char *) "self",(char *) "n",(char *) "select", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 arg2
= (int) SWIG_AsInt(obj1
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 arg3
= (bool) SWIG_AsBool(obj2
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5949 (arg1
)->SetSelection(arg2
,arg3
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 Py_INCREF(Py_None
); resultobj
= Py_None
;
5961 static PyObject
*_wrap_ListBox_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxListBox
*arg1
= (wxListBox
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5966 PyObject
* obj1
= 0 ;
5968 (char *) "self",(char *) "n", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5974 arg2
= (int) SWIG_AsInt(obj1
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5978 (arg1
)->Select(arg2
);
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5983 Py_INCREF(Py_None
); resultobj
= Py_None
;
5990 static PyObject
*_wrap_ListBox_Deselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
*resultobj
;
5992 wxListBox
*arg1
= (wxListBox
*) 0 ;
5994 PyObject
* obj0
= 0 ;
5995 PyObject
* obj1
= 0 ;
5997 (char *) "self",(char *) "n", NULL
6000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6003 arg2
= (int) SWIG_AsInt(obj1
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 (arg1
)->Deselect(arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6020 PyObject
*resultobj
;
6021 wxListBox
*arg1
= (wxListBox
*) 0 ;
6022 int arg2
= (int) -1 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6026 (char *) "self",(char *) "itemToLeaveSelected", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 arg2
= (int) SWIG_AsInt(obj1
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 (arg1
)->DeselectAll(arg2
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6043 Py_INCREF(Py_None
); resultobj
= Py_None
;
6050 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6051 PyObject
*resultobj
;
6052 wxListBox
*arg1
= (wxListBox
*) 0 ;
6053 wxString
*arg2
= 0 ;
6054 bool arg3
= (bool) True
;
6056 bool temp2
= False
;
6057 PyObject
* obj0
= 0 ;
6058 PyObject
* obj1
= 0 ;
6059 PyObject
* obj2
= 0 ;
6061 (char *) "self",(char *) "s",(char *) "select", NULL
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6068 arg2
= wxString_in_helper(obj1
);
6069 if (arg2
== NULL
) SWIG_fail
;
6073 arg3
= (bool) SWIG_AsBool(obj2
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6078 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxListBox
*arg1
= (wxListBox
*) 0 ;
6104 PyObject
* obj0
= 0 ;
6106 (char *) "self", NULL
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6126 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6128 wxListBox
*arg1
= (wxListBox
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "n", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (int) SWIG_AsInt(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 (arg1
)->SetFirstItem(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxListBox
*arg1
= (wxListBox
*) 0 ;
6158 wxString
*arg2
= 0 ;
6159 bool temp2
= False
;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6163 (char *) "self",(char *) "s", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 arg2
= wxString_in_helper(obj1
);
6171 if (arg2
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 Py_INCREF(Py_None
); resultobj
= Py_None
;
6196 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
*resultobj
;
6198 wxListBox
*arg1
= (wxListBox
*) 0 ;
6200 PyObject
* obj0
= 0 ;
6201 PyObject
* obj1
= 0 ;
6203 (char *) "self",(char *) "n", NULL
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6209 arg2
= (int) SWIG_AsInt(obj1
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->EnsureVisible(arg2
);
6215 wxPyEndAllowThreads(__tstate
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 Py_INCREF(Py_None
); resultobj
= Py_None
;
6225 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxListBox
*arg1
= (wxListBox
*) 0 ;
6228 wxString
*arg2
= 0 ;
6229 bool temp2
= False
;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "s", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6240 arg2
= wxString_in_helper(obj1
);
6241 if (arg2
== NULL
) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6266 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxListBox
*arg1
= (wxListBox
*) 0 ;
6270 PyObject
* obj0
= 0 ;
6272 (char *) "self", NULL
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6294 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxListBox
*arg1
= (wxListBox
*) 0 ;
6298 wxColour
*arg3
= 0 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6302 PyObject
* obj2
= 0 ;
6304 (char *) "self",(char *) "item",(char *) "c", NULL
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6310 arg2
= (int) SWIG_AsInt(obj1
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6318 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6320 wxPyEndAllowThreads(__tstate
);
6321 if (PyErr_Occurred()) SWIG_fail
;
6323 Py_INCREF(Py_None
); resultobj
= Py_None
;
6330 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxListBox
*arg1
= (wxListBox
*) 0 ;
6334 wxColour
*arg3
= 0 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "item",(char *) "c", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 arg2
= (int) SWIG_AsInt(obj1
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxListBox
*arg1
= (wxListBox
*) 0 ;
6371 PyObject
* obj0
= 0 ;
6372 PyObject
* obj1
= 0 ;
6373 PyObject
* obj2
= 0 ;
6375 (char *) "self",(char *) "item",(char *) "f", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6381 arg2
= (int) SWIG_AsInt(obj1
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6383 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6387 PyErr_SetString(PyExc_TypeError
,"null reference");
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6407 wxVisualAttributes result
;
6408 PyObject
* obj0
= 0 ;
6410 (char *) "variant", NULL
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6415 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6420 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 wxVisualAttributes
* resultptr
;
6427 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6436 static PyObject
* ListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6441 return Py_BuildValue((char *)"");
6443 static PyObject
*_wrap_new_CheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6445 wxWindow
*arg1
= (wxWindow
*) 0 ;
6447 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6448 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6449 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6450 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6451 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6452 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6453 long arg6
= (long) 0 ;
6454 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6455 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6456 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6457 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6458 wxCheckListBox
*result
;
6461 bool temp5
= False
;
6462 bool temp8
= False
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6465 PyObject
* obj2
= 0 ;
6466 PyObject
* obj3
= 0 ;
6467 PyObject
* obj4
= 0 ;
6468 PyObject
* obj5
= 0 ;
6469 PyObject
* obj6
= 0 ;
6470 PyObject
* obj7
= 0 ;
6472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6478 arg2
= (int) SWIG_AsInt(obj1
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6483 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6489 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6494 if (! PySequence_Check(obj4
)) {
6495 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6498 arg5
= new wxArrayString
;
6500 int i
, len
=PySequence_Length(obj4
);
6501 for (i
=0; i
<len
; i
++) {
6502 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6504 PyObject
* str
= PyObject_Unicode(item
);
6506 PyObject
* str
= PyObject_Str(item
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6509 arg5
->Add(Py2wxString(str
));
6516 arg6
= (long) SWIG_AsLong(obj5
);
6517 if (PyErr_Occurred()) SWIG_fail
;
6520 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6524 PyErr_SetString(PyExc_TypeError
,"null reference");
6530 arg8
= wxString_in_helper(obj7
);
6531 if (arg8
== NULL
) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6544 if (temp5
) delete arg5
;
6553 if (temp5
) delete arg5
;
6563 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxCheckListBox
*result
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxCheckListBox
*)new wxCheckListBox();
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6585 static PyObject
*_wrap_CheckListBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6588 wxWindow
*arg2
= (wxWindow
*) 0 ;
6590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6594 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6595 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6596 long arg7
= (long) 0 ;
6597 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6598 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6599 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6600 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6604 bool temp6
= False
;
6605 bool temp9
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6608 PyObject
* obj2
= 0 ;
6609 PyObject
* obj3
= 0 ;
6610 PyObject
* obj4
= 0 ;
6611 PyObject
* obj5
= 0 ;
6612 PyObject
* obj6
= 0 ;
6613 PyObject
* obj7
= 0 ;
6614 PyObject
* obj8
= 0 ;
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg3
= (int) SWIG_AsInt(obj2
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6640 if (! PySequence_Check(obj5
)) {
6641 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6644 arg6
= new wxArrayString
;
6646 int i
, len
=PySequence_Length(obj5
);
6647 for (i
=0; i
<len
; i
++) {
6648 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6650 PyObject
* str
= PyObject_Unicode(item
);
6652 PyObject
* str
= PyObject_Str(item
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6655 arg6
->Add(Py2wxString(str
));
6662 arg7
= (long) SWIG_AsLong(obj6
);
6663 if (PyErr_Occurred()) SWIG_fail
;
6666 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6670 PyErr_SetString(PyExc_TypeError
,"null reference");
6676 arg9
= wxString_in_helper(obj8
);
6677 if (arg9
== NULL
) SWIG_fail
;
6682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6685 wxPyEndAllowThreads(__tstate
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6692 if (temp6
) delete arg6
;
6701 if (temp6
) delete arg6
;
6711 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6716 PyObject
* obj0
= 0 ;
6717 PyObject
* obj1
= 0 ;
6719 (char *) "self",(char *) "index", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6725 arg2
= (int) SWIG_AsInt(obj1
);
6726 if (PyErr_Occurred()) SWIG_fail
;
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 result
= (bool)(arg1
)->IsChecked(arg2
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6743 static PyObject
*_wrap_CheckListBox_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6744 PyObject
*resultobj
;
6745 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6747 int arg3
= (int) True
;
6748 PyObject
* obj0
= 0 ;
6749 PyObject
* obj1
= 0 ;
6750 PyObject
* obj2
= 0 ;
6752 (char *) "self",(char *) "index",(char *) "check", NULL
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 arg2
= (int) SWIG_AsInt(obj1
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 arg3
= (int) SWIG_AsInt(obj2
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->Check(arg2
,arg3
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "self",(char *) "pt", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
6791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6795 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= SWIG_FromInt((int)result
);
6811 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6817 PyObject
* obj0
= 0 ;
6818 PyObject
* obj1
= 0 ;
6819 PyObject
* obj2
= 0 ;
6821 (char *) "self",(char *) "x",(char *) "y", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 arg2
= (int) SWIG_AsInt(obj1
);
6828 if (PyErr_Occurred()) SWIG_fail
;
6829 arg3
= (int) SWIG_AsInt(obj2
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_FromInt((int)result
);
6845 static PyObject
* CheckListBox_swigregister(PyObject
*self
, PyObject
*args
) {
6847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6848 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
6850 return Py_BuildValue((char *)"");
6852 static int _wrap_TextCtrlNameStr_set(PyObject
*_val
) {
6853 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
6858 static PyObject
*_wrap_TextCtrlNameStr_get() {
6863 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6865 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
6872 static PyObject
*_wrap_new_TextAttr__SWIG_0(PyObject
*self
, PyObject
*args
) {
6873 PyObject
*resultobj
;
6876 if(!PyArg_ParseTuple(args
,(char *)":new_TextAttr")) goto fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (wxTextAttr
*)new wxTextAttr();
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6891 static PyObject
*_wrap_new_TextAttr__SWIG_1(PyObject
*self
, PyObject
*args
) {
6892 PyObject
*resultobj
;
6893 wxColour
*arg1
= 0 ;
6894 wxColour
const &arg2_defvalue
= wxNullColour
;
6895 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
6896 wxFont
const &arg3_defvalue
= wxNullFont
;
6897 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
6898 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6904 PyObject
* obj2
= 0 ;
6905 PyObject
* obj3
= 0 ;
6907 if(!PyArg_ParseTuple(args
,(char *)"O|OOO:new_TextAttr",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6910 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
6915 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6919 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6923 PyErr_SetString(PyExc_TypeError
,"null reference");
6928 arg4
= (wxTextAttrAlignment
) SWIG_AsInt(obj3
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
6945 static PyObject
*_wrap_new_TextAttr(PyObject
*self
, PyObject
*args
) {
6950 argc
= PyObject_Length(args
);
6951 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
6952 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6955 return _wrap_new_TextAttr__SWIG_0(self
,args
);
6957 if ((argc
>= 1) && (argc
<= 4)) {
6960 _v
= wxColour_typecheck(argv
[0]);
6964 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6967 _v
= wxColour_typecheck(argv
[1]);
6971 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6975 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxFont
, 0) == -1) {
6984 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6986 _v
= SWIG_CheckInt(argv
[3]);
6988 return _wrap_new_TextAttr__SWIG_1(self
,args
);
6995 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TextAttr'");
7000 static PyObject
*_wrap_delete_TextAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 Py_INCREF(Py_None
); resultobj
= Py_None
;
7025 static PyObject
*_wrap_TextAttr_Init(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7028 PyObject
* obj0
= 0 ;
7030 (char *) "self", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) SWIG_fail
;
7043 Py_INCREF(Py_None
); resultobj
= Py_None
;
7050 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7053 wxColour
*arg2
= 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7058 (char *) "self",(char *) "colText", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 Py_INCREF(Py_None
); resultobj
= Py_None
;
7082 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
;
7084 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7085 wxColour
*arg2
= 0 ;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7090 (char *) "self",(char *) "colBack", NULL
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 Py_INCREF(Py_None
); resultobj
= Py_None
;
7114 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7118 long arg3
= (long) wxTEXT_ATTR_FONT
;
7119 PyObject
* obj0
= 0 ;
7120 PyObject
* obj1
= 0 ;
7121 PyObject
* obj2
= 0 ;
7123 (char *) "self",(char *) "font",(char *) "flags", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7133 PyErr_SetString(PyExc_TypeError
,"null reference");
7137 arg3
= (long) SWIG_AsLong(obj2
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7147 Py_INCREF(Py_None
); resultobj
= Py_None
;
7154 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7155 PyObject
*resultobj
;
7156 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7161 (char *) "self",(char *) "alignment", NULL
7164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7167 arg2
= (wxTextAttrAlignment
) SWIG_AsInt(obj1
);
7168 if (PyErr_Occurred()) SWIG_fail
;
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7176 Py_INCREF(Py_None
); resultobj
= Py_None
;
7183 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7184 PyObject
*resultobj
;
7185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7186 wxArrayInt
*arg2
= 0 ;
7187 bool temp2
= False
;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7191 (char *) "self",(char *) "tabs", NULL
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7198 if (! PySequence_Check(obj1
)) {
7199 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7202 arg2
= new wxArrayInt
;
7204 int i
, len
=PySequence_Length(obj1
);
7205 for (i
=0; i
<len
; i
++) {
7206 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7207 PyObject
* number
= PyNumber_Int(item
);
7208 arg2
->Add(PyInt_AS_LONG(number
));
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 if (temp2
) delete arg2
;
7227 if (temp2
) delete arg2
;
7233 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7238 PyObject
* obj1
= 0 ;
7240 (char *) "self",(char *) "indent", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7246 arg2
= (int) SWIG_AsInt(obj1
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 (arg1
)->SetLeftIndent(arg2
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7255 Py_INCREF(Py_None
); resultobj
= Py_None
;
7262 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "self",(char *) "indent", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 arg2
= (int) SWIG_AsInt(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 (arg1
)->SetRightIndent(arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 Py_INCREF(Py_None
); resultobj
= Py_None
;
7291 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7298 (char *) "self",(char *) "flags", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 arg2
= (long) SWIG_AsLong(obj1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetFlags(arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7324 PyObject
* obj0
= 0 ;
7326 (char *) "self", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7336 wxPyEndAllowThreads(__tstate
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7348 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
*resultobj
;
7350 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7354 (char *) "self", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7376 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7404 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7408 PyObject
* obj0
= 0 ;
7410 (char *) "self", NULL
7413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7432 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "self", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7446 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7448 wxPyEndAllowThreads(__tstate
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7460 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7466 (char *) "self", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7492 PyObject
* obj0
= 0 ;
7494 (char *) "self", NULL
7497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7502 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7504 wxPyEndAllowThreads(__tstate
);
7505 if (PyErr_Occurred()) SWIG_fail
;
7508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7516 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7524 (char *) "self",(char *) "flag", NULL
7527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7530 arg2
= (long) SWIG_AsLong(obj1
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7548 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7564 result
= (wxColour
*) &_result_ref
;
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7577 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7581 PyObject
* obj0
= 0 ;
7583 (char *) "self", NULL
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7593 result
= (wxColour
*) &_result_ref
;
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7606 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7622 result
= (wxFont
*) &_result_ref
;
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7629 wxFont
* resultptr
= new wxFont(*result
);
7630 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7638 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7639 PyObject
*resultobj
;
7640 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7642 PyObject
* obj0
= 0 ;
7644 (char *) "self", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7657 resultobj
= SWIG_FromInt((int)result
);
7664 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7680 result
= (wxArrayInt
*) &_result_ref
;
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= PyList_New(0);
7689 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7690 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7691 PyList_Append(resultobj
, val
);
7701 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
*resultobj
;
7703 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7705 PyObject
* obj0
= 0 ;
7707 (char *) "self", NULL
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_FromLong((long)result
);
7727 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "self", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7741 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_FromLong((long)result
);
7753 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_FromLong((long)result
);
7779 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7807 static PyObject
*_wrap_TextAttr_Combine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
;
7809 wxTextAttr
*arg1
= 0 ;
7810 wxTextAttr
*arg2
= 0 ;
7811 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7815 PyObject
* obj2
= 0 ;
7817 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7825 PyErr_SetString(PyExc_TypeError
,"null reference");
7828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
7829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7832 PyErr_SetString(PyExc_TypeError
,"null reference");
7835 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7839 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
7841 wxPyEndAllowThreads(__tstate
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7845 wxTextAttr
* resultptr
;
7846 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
7847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
7855 static PyObject
* TextAttr_swigregister(PyObject
*self
, PyObject
*args
) {
7857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7858 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
7860 return Py_BuildValue((char *)"");
7862 static PyObject
*_wrap_new_TextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxWindow
*arg1
= (wxWindow
*) 0 ;
7866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7872 long arg6
= (long) 0 ;
7873 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
7874 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
7875 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
7876 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7878 bool temp3
= False
;
7881 bool temp8
= False
;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7884 PyObject
* obj2
= 0 ;
7885 PyObject
* obj3
= 0 ;
7886 PyObject
* obj4
= 0 ;
7887 PyObject
* obj5
= 0 ;
7888 PyObject
* obj6
= 0 ;
7889 PyObject
* obj7
= 0 ;
7891 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
7895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 arg2
= (int) SWIG_AsInt(obj1
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7901 arg3
= wxString_in_helper(obj2
);
7902 if (arg3
== NULL
) SWIG_fail
;
7909 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7915 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7919 arg6
= (long) SWIG_AsLong(obj5
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7923 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7927 PyErr_SetString(PyExc_TypeError
,"null reference");
7933 arg8
= wxString_in_helper(obj7
);
7934 if (arg8
== NULL
) SWIG_fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= wxPyMake_wxObject(result
);
7970 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (wxTextCtrl
*)new wxTextCtrl();
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= wxPyMake_wxObject(result
);
7994 static PyObject
*_wrap_TextCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7995 PyObject
*resultobj
;
7996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7997 wxWindow
*arg2
= (wxWindow
*) 0 ;
7999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8001 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8002 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8003 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8004 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8005 long arg7
= (long) 0 ;
8006 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8007 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8008 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8009 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8011 bool temp4
= False
;
8014 bool temp9
= False
;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8018 PyObject
* obj3
= 0 ;
8019 PyObject
* obj4
= 0 ;
8020 PyObject
* obj5
= 0 ;
8021 PyObject
* obj6
= 0 ;
8022 PyObject
* obj7
= 0 ;
8023 PyObject
* obj8
= 0 ;
8025 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8033 arg3
= (int) SWIG_AsInt(obj2
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8037 arg4
= wxString_in_helper(obj3
);
8038 if (arg4
== NULL
) SWIG_fail
;
8045 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8051 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8055 arg7
= (long) SWIG_AsLong(obj6
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8063 PyErr_SetString(PyExc_TypeError
,"null reference");
8069 arg9
= wxString_in_helper(obj8
);
8070 if (arg9
== NULL
) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8106 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8110 PyObject
* obj0
= 0 ;
8112 (char *) "self", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8138 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8141 wxString
*arg2
= 0 ;
8142 bool temp2
= False
;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8146 (char *) "self",(char *) "value", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 arg2
= wxString_in_helper(obj1
);
8154 if (arg2
== NULL
) SWIG_fail
;
8158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8159 (arg1
)->SetValue((wxString
const &)*arg2
);
8161 wxPyEndAllowThreads(__tstate
);
8162 if (PyErr_Occurred()) SWIG_fail
;
8164 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8185 PyObject
* obj0
= 0 ;
8186 PyObject
* obj1
= 0 ;
8187 PyObject
* obj2
= 0 ;
8189 (char *) "self",(char *) "from",(char *) "to", NULL
8192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8195 arg2
= (long) SWIG_AsLong(obj1
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8197 arg3
= (long) SWIG_AsLong(obj2
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8219 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8227 (char *) "self",(char *) "lineNo", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 arg2
= (long) SWIG_AsLong(obj1
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8237 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8239 wxPyEndAllowThreads(__tstate
);
8240 if (PyErr_Occurred()) SWIG_fail
;
8242 resultobj
= SWIG_FromInt((int)result
);
8249 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8255 PyObject
* obj1
= 0 ;
8257 (char *) "self",(char *) "lineNo", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 arg2
= (long) SWIG_AsLong(obj1
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8285 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8289 PyObject
* obj0
= 0 ;
8291 (char *) "self", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_FromInt((int)result
);
8311 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "self", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8325 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8327 wxPyEndAllowThreads(__tstate
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8339 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8373 (char *) "self", NULL
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8395 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "self", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8423 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8426 long *arg2
= (long *) 0 ;
8427 long *arg3
= (long *) 0 ;
8430 PyObject
* obj0
= 0 ;
8432 (char *) "self", NULL
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8442 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8444 wxPyEndAllowThreads(__tstate
);
8445 if (PyErr_Occurred()) SWIG_fail
;
8447 Py_INCREF(Py_None
); resultobj
= Py_None
;
8449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8450 resultobj
= t_output_helper(resultobj
,o
);
8453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8454 resultobj
= t_output_helper(resultobj
,o
);
8462 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8494 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8497 PyObject
* obj0
= 0 ;
8499 (char *) "self", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 Py_INCREF(Py_None
); resultobj
= Py_None
;
8519 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
;
8521 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8524 wxString
*arg4
= 0 ;
8525 bool temp4
= False
;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8529 PyObject
* obj3
= 0 ;
8531 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8537 arg2
= (long) SWIG_AsLong(obj1
);
8538 if (PyErr_Occurred()) SWIG_fail
;
8539 arg3
= (long) SWIG_AsLong(obj2
);
8540 if (PyErr_Occurred()) SWIG_fail
;
8542 arg4
= wxString_in_helper(obj3
);
8543 if (arg4
== NULL
) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 Py_INCREF(Py_None
); resultobj
= Py_None
;
8568 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8574 PyObject
* obj1
= 0 ;
8575 PyObject
* obj2
= 0 ;
8577 (char *) "self",(char *) "from",(char *) "to", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8583 arg2
= (long) SWIG_AsLong(obj1
);
8584 if (PyErr_Occurred()) SWIG_fail
;
8585 arg3
= (long) SWIG_AsLong(obj2
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 (arg1
)->Remove(arg2
,arg3
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8594 Py_INCREF(Py_None
); resultobj
= Py_None
;
8601 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
;
8603 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8604 wxString
*arg2
= 0 ;
8606 bool temp2
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8610 (char *) "self",(char *) "file", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 arg2
= wxString_in_helper(obj1
);
8618 if (arg2
== NULL
) SWIG_fail
;
8622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8623 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8645 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
;
8647 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8648 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8649 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8651 bool temp2
= False
;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8655 (char *) "self",(char *) "file", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8663 arg2
= wxString_in_helper(obj1
);
8664 if (arg2
== NULL
) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8692 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8695 PyObject
* obj0
= 0 ;
8697 (char *) "self", NULL
8700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8705 (arg1
)->MarkDirty();
8707 wxPyEndAllowThreads(__tstate
);
8708 if (PyErr_Occurred()) SWIG_fail
;
8710 Py_INCREF(Py_None
); resultobj
= Py_None
;
8717 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8720 PyObject
* obj0
= 0 ;
8722 (char *) "self", NULL
8725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 (arg1
)->DiscardEdits();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 Py_INCREF(Py_None
); resultobj
= Py_None
;
8742 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
;
8744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8745 unsigned long arg2
;
8746 PyObject
* obj0
= 0 ;
8747 PyObject
* obj1
= 0 ;
8749 (char *) "self",(char *) "len", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8755 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 (arg1
)->SetMaxLength(arg2
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 Py_INCREF(Py_None
); resultobj
= Py_None
;
8771 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8774 wxString
*arg2
= 0 ;
8775 bool temp2
= False
;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj1
= 0 ;
8779 (char *) "self",(char *) "text", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 arg2
= wxString_in_helper(obj1
);
8787 if (arg2
== NULL
) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->WriteText((wxString
const &)*arg2
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8812 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8815 wxString
*arg2
= 0 ;
8816 bool temp2
= False
;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8820 (char *) "self",(char *) "text", NULL
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
8824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8827 arg2
= wxString_in_helper(obj1
);
8828 if (arg2
== NULL
) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 (arg1
)->AppendText((wxString
const &)*arg2
);
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8856 wxKeyEvent
*arg2
= 0 ;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8861 (char *) "self",(char *) "event", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
8868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8871 PyErr_SetString(PyExc_TypeError
,"null reference");
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8890 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8895 wxTextAttr
*arg4
= 0 ;
8897 PyObject
* obj0
= 0 ;
8898 PyObject
* obj1
= 0 ;
8899 PyObject
* obj2
= 0 ;
8900 PyObject
* obj3
= 0 ;
8902 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8908 arg2
= (long) SWIG_AsLong(obj1
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8910 arg3
= (long) SWIG_AsLong(obj2
);
8911 if (PyErr_Occurred()) SWIG_fail
;
8912 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
8913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8916 PyErr_SetString(PyExc_TypeError
,"null reference");
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8935 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
;
8937 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8939 wxTextAttr
*arg3
= 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 PyObject
* obj2
= 0 ;
8945 (char *) "self",(char *) "position",(char *) "style", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 arg2
= (long) SWIG_AsLong(obj1
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8953 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8957 PyErr_SetString(PyExc_TypeError
,"null reference");
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8976 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8977 PyObject
*resultobj
;
8978 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8979 wxTextAttr
*arg2
= 0 ;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8984 (char *) "self",(char *) "style", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8994 PyErr_SetString(PyExc_TypeError
,"null reference");
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9013 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9017 PyObject
* obj0
= 0 ;
9019 (char *) "self", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9029 result
= (wxTextAttr
*) &_result_ref
;
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9042 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9050 PyObject
* obj2
= 0 ;
9052 (char *) "self",(char *) "x",(char *) "y", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 arg2
= (long) SWIG_AsLong(obj1
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9060 arg3
= (long) SWIG_AsLong(obj2
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9069 resultobj
= SWIG_FromLong((long)result
);
9076 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9077 PyObject
*resultobj
;
9078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9080 long *arg3
= (long *) 0 ;
9081 long *arg4
= (long *) 0 ;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "self",(char *) "pos", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 arg2
= (long) SWIG_AsLong(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9107 resultobj
= t_output_helper(resultobj
,o
);
9110 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9111 resultobj
= t_output_helper(resultobj
,o
);
9119 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9120 PyObject
*resultobj
;
9121 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9123 PyObject
* obj0
= 0 ;
9124 PyObject
* obj1
= 0 ;
9126 (char *) "self",(char *) "pos", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 arg2
= (long) SWIG_AsLong(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 (arg1
)->ShowPosition(arg2
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 Py_INCREF(Py_None
); resultobj
= Py_None
;
9148 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9152 long *arg3
= (long *) 0 ;
9153 long *arg4
= (long *) 0 ;
9158 PyObject
* obj0
= 0 ;
9159 PyObject
* obj1
= 0 ;
9161 (char *) "self",(char *) "pt", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 resultobj
= SWIG_FromInt((int)result
);
9182 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9183 resultobj
= t_output_helper(resultobj
,o
);
9186 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9187 resultobj
= t_output_helper(resultobj
,o
);
9195 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9198 PyObject
* obj0
= 0 ;
9200 (char *) "self", NULL
9203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9210 wxPyEndAllowThreads(__tstate
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9213 Py_INCREF(Py_None
); resultobj
= Py_None
;
9220 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9223 PyObject
* obj0
= 0 ;
9225 (char *) "self", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9298 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9302 PyObject
* obj0
= 0 ;
9304 (char *) "self", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9326 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "self", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9354 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9357 PyObject
* obj0
= 0 ;
9359 (char *) "self", NULL
9362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 Py_INCREF(Py_None
); resultobj
= Py_None
;
9379 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9384 (char *) "self", NULL
9387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 Py_INCREF(Py_None
); resultobj
= Py_None
;
9404 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9405 PyObject
*resultobj
;
9406 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9408 PyObject
* obj0
= 0 ;
9410 (char *) "self", NULL
9413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9432 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9436 PyObject
* obj0
= 0 ;
9438 (char *) "self", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9460 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9465 PyObject
* obj1
= 0 ;
9467 (char *) "self",(char *) "pos", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9473 arg2
= (long) SWIG_AsLong(obj1
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 (arg1
)->SetInsertionPoint(arg2
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 Py_INCREF(Py_None
); resultobj
= Py_None
;
9489 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
*resultobj
;
9491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->SetInsertionPointEnd();
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9518 PyObject
* obj0
= 0 ;
9520 (char *) "self", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) SWIG_fail
;
9533 resultobj
= SWIG_FromLong((long)result
);
9540 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9559 resultobj
= SWIG_FromLong((long)result
);
9566 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9567 PyObject
*resultobj
;
9568 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 PyObject
* obj2
= 0 ;
9575 (char *) "self",(char *) "from",(char *) "to", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 arg2
= (long) SWIG_AsLong(obj1
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9583 arg3
= (long) SWIG_AsLong(obj2
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9587 (arg1
)->SetSelection(arg2
,arg3
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 Py_INCREF(Py_None
); resultobj
= Py_None
;
9599 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9602 PyObject
* obj0
= 0 ;
9604 (char *) "self", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->SelectAll();
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9617 Py_INCREF(Py_None
); resultobj
= Py_None
;
9624 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9631 (char *) "self",(char *) "editable", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 arg2
= (bool) SWIG_AsBool(obj1
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 (arg1
)->SetEditable(arg2
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_TextCtrl_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9656 wxString
*arg2
= 0 ;
9657 bool temp2
= False
;
9658 PyObject
* obj0
= 0 ;
9659 PyObject
* obj1
= 0 ;
9661 (char *) "self",(char *) "text", NULL
9664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9668 arg2
= wxString_in_helper(obj1
);
9669 if (arg2
== NULL
) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 Py_INCREF(Py_None
); resultobj
= Py_None
;
9694 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9695 PyObject
*resultobj
;
9696 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9702 PyObject
* obj2
= 0 ;
9704 (char *) "self",(char *) "from",(char *) "to", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= (long) SWIG_AsLong(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9712 arg3
= (long) SWIG_AsLong(obj2
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9734 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9737 wxVisualAttributes result
;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "variant", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9745 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9756 wxVisualAttributes
* resultptr
;
9757 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
9766 static PyObject
* TextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
9768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9769 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
9771 return Py_BuildValue((char *)"");
9773 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9776 wxMouseEvent
*arg2
= 0 ;
9779 wxTextUrlEvent
*result
;
9780 PyObject
* obj0
= 0 ;
9781 PyObject
* obj1
= 0 ;
9782 PyObject
* obj2
= 0 ;
9783 PyObject
* obj3
= 0 ;
9785 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9789 arg1
= (int) SWIG_AsInt(obj0
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
9792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9795 PyErr_SetString(PyExc_TypeError
,"null reference");
9798 arg3
= (long) SWIG_AsLong(obj2
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9800 arg4
= (long) SWIG_AsLong(obj3
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
9816 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9819 wxMouseEvent
*result
;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
9832 result
= (wxMouseEvent
*) &_result_ref
;
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
9845 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_FromLong((long)result
);
9871 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
9875 PyObject
* obj0
= 0 ;
9877 (char *) "self", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
9881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
9882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9885 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_FromLong((long)result
);
9897 static PyObject
* TextUrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9900 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
9902 return Py_BuildValue((char *)"");
9904 static int _wrap_ScrollBarNameStr_set(PyObject
*_val
) {
9905 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
9910 static PyObject
*_wrap_ScrollBarNameStr_get() {
9915 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9917 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
9924 static PyObject
*_wrap_new_ScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9925 PyObject
*resultobj
;
9926 wxWindow
*arg1
= (wxWindow
*) 0 ;
9927 int arg2
= (int) -1 ;
9928 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9929 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9930 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9931 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9932 long arg5
= (long) wxSB_HORIZONTAL
;
9933 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
9934 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
9935 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
9936 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9937 wxScrollBar
*result
;
9940 bool temp7
= False
;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 PyObject
* obj2
= 0 ;
9944 PyObject
* obj3
= 0 ;
9945 PyObject
* obj4
= 0 ;
9946 PyObject
* obj5
= 0 ;
9947 PyObject
* obj6
= 0 ;
9949 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9956 arg2
= (int) SWIG_AsInt(obj1
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9968 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9972 arg5
= (long) SWIG_AsLong(obj4
);
9973 if (PyErr_Occurred()) SWIG_fail
;
9976 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
9977 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9980 PyErr_SetString(PyExc_TypeError
,"null reference");
9986 arg7
= wxString_in_helper(obj6
);
9987 if (arg7
== NULL
) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10013 static PyObject
*_wrap_new_PreScrollBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxScrollBar
*result
;
10016 char *kwnames
[] = {
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (wxScrollBar
*)new wxScrollBar();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10035 static PyObject
*_wrap_ScrollBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10038 wxWindow
*arg2
= (wxWindow
*) 0 ;
10039 int arg3
= (int) -1 ;
10040 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10041 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10042 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10043 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10044 long arg6
= (long) wxSB_HORIZONTAL
;
10045 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10046 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10047 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10048 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10052 bool temp8
= False
;
10053 PyObject
* obj0
= 0 ;
10054 PyObject
* obj1
= 0 ;
10055 PyObject
* obj2
= 0 ;
10056 PyObject
* obj3
= 0 ;
10057 PyObject
* obj4
= 0 ;
10058 PyObject
* obj5
= 0 ;
10059 PyObject
* obj6
= 0 ;
10060 PyObject
* obj7
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10071 arg3
= (int) SWIG_AsInt(obj2
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10077 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10083 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10087 arg6
= (long) SWIG_AsLong(obj5
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10091 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10094 if (arg7
== NULL
) {
10095 PyErr_SetString(PyExc_TypeError
,"null reference");
10101 arg8
= wxString_in_helper(obj7
);
10102 if (arg8
== NULL
) SWIG_fail
;
10107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10108 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10130 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10131 PyObject
*resultobj
;
10132 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10134 PyObject
* obj0
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_FromInt((int)result
);
10156 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10160 PyObject
* obj0
= 0 ;
10161 char *kwnames
[] = {
10162 (char *) "self", NULL
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10172 wxPyEndAllowThreads(__tstate
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 resultobj
= SWIG_FromInt((int)result
);
10182 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10183 PyObject
*resultobj
;
10184 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10186 PyObject
* obj0
= 0 ;
10187 char *kwnames
[] = {
10188 (char *) "self", NULL
10191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= SWIG_FromInt((int)result
);
10208 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10222 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10224 wxPyEndAllowThreads(__tstate
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= SWIG_FromInt((int)result
);
10234 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10238 PyObject
* obj0
= 0 ;
10239 char *kwnames
[] = {
10240 (char *) "self", NULL
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10262 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "viewStart", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10275 arg2
= (int) SWIG_AsInt(obj1
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 (arg1
)->SetThumbPosition(arg2
);
10281 wxPyEndAllowThreads(__tstate
);
10282 if (PyErr_Occurred()) SWIG_fail
;
10284 Py_INCREF(Py_None
); resultobj
= Py_None
;
10291 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
;
10293 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10298 bool arg6
= (bool) True
;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 PyObject
* obj2
= 0 ;
10302 PyObject
* obj3
= 0 ;
10303 PyObject
* obj4
= 0 ;
10304 PyObject
* obj5
= 0 ;
10305 char *kwnames
[] = {
10306 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10312 arg2
= (int) SWIG_AsInt(obj1
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10314 arg3
= (int) SWIG_AsInt(obj2
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10316 arg4
= (int) SWIG_AsInt(obj3
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10318 arg5
= (int) SWIG_AsInt(obj4
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 arg6
= (bool) SWIG_AsBool(obj5
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10331 Py_INCREF(Py_None
); resultobj
= Py_None
;
10338 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10341 wxVisualAttributes result
;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "variant", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10349 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 wxVisualAttributes
* resultptr
;
10361 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10370 static PyObject
* ScrollBar_swigregister(PyObject
*self
, PyObject
*args
) {
10372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10373 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10375 return Py_BuildValue((char *)"");
10377 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*_val
) {
10378 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10383 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10388 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10390 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10397 static int _wrap_SpinCtrlNameStr_set(PyObject
*_val
) {
10398 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10403 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10408 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10410 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10417 static PyObject
*_wrap_new_SpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxWindow
*arg1
= (wxWindow
*) 0 ;
10420 int arg2
= (int) -1 ;
10421 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10422 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10423 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10424 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10425 long arg5
= (long) wxSP_HORIZONTAL
;
10426 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10427 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10428 wxSpinButton
*result
;
10431 bool temp6
= False
;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 PyObject
* obj2
= 0 ;
10435 PyObject
* obj3
= 0 ;
10436 PyObject
* obj4
= 0 ;
10437 PyObject
* obj5
= 0 ;
10438 char *kwnames
[] = {
10439 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10446 arg2
= (int) SWIG_AsInt(obj1
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10452 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10458 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10462 arg5
= (long) SWIG_AsLong(obj4
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10467 arg6
= wxString_in_helper(obj5
);
10468 if (arg6
== NULL
) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10494 static PyObject
*_wrap_new_PreSpinButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxSpinButton
*result
;
10497 char *kwnames
[] = {
10501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (wxSpinButton
*)new wxSpinButton();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10516 static PyObject
*_wrap_SpinButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10519 wxWindow
*arg2
= (wxWindow
*) 0 ;
10520 int arg3
= (int) -1 ;
10521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10525 long arg6
= (long) wxSP_HORIZONTAL
;
10526 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10527 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10531 bool temp7
= False
;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 PyObject
* obj2
= 0 ;
10535 PyObject
* obj3
= 0 ;
10536 PyObject
* obj4
= 0 ;
10537 PyObject
* obj5
= 0 ;
10538 PyObject
* obj6
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 arg3
= (int) SWIG_AsInt(obj2
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10555 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10561 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10565 arg6
= (long) SWIG_AsLong(obj5
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10570 arg7
= wxString_in_helper(obj6
);
10571 if (arg7
== NULL
) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10599 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10603 PyObject
* obj0
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10618 resultobj
= SWIG_FromInt((int)result
);
10625 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10629 PyObject
* obj0
= 0 ;
10630 char *kwnames
[] = {
10631 (char *) "self", NULL
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= SWIG_FromInt((int)result
);
10651 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10655 PyObject
* obj0
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10665 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10667 wxPyEndAllowThreads(__tstate
);
10668 if (PyErr_Occurred()) SWIG_fail
;
10670 resultobj
= SWIG_FromInt((int)result
);
10677 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
;
10679 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char *kwnames
[] = {
10684 (char *) "self",(char *) "val", NULL
10687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10690 arg2
= (int) SWIG_AsInt(obj1
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetValue(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 Py_INCREF(Py_None
); resultobj
= Py_None
;
10706 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10710 PyObject
* obj0
= 0 ;
10711 PyObject
* obj1
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self",(char *) "minVal", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 arg2
= (int) SWIG_AsInt(obj1
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 (arg1
)->SetMin(arg2
);
10725 wxPyEndAllowThreads(__tstate
);
10726 if (PyErr_Occurred()) SWIG_fail
;
10728 Py_INCREF(Py_None
); resultobj
= Py_None
;
10735 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 char *kwnames
[] = {
10742 (char *) "self",(char *) "maxVal", NULL
10745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10748 arg2
= (int) SWIG_AsInt(obj1
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 (arg1
)->SetMax(arg2
);
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 Py_INCREF(Py_None
); resultobj
= Py_None
;
10764 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 PyObject
* obj2
= 0 ;
10772 char *kwnames
[] = {
10773 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10779 arg2
= (int) SWIG_AsInt(obj1
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10781 arg3
= (int) SWIG_AsInt(obj2
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->SetRange(arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10801 PyObject
* obj0
= 0 ;
10802 char *kwnames
[] = {
10803 (char *) "self", NULL
10806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
10807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10825 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10828 wxVisualAttributes result
;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "variant", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10836 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10841 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10847 wxVisualAttributes
* resultptr
;
10848 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10857 static PyObject
* SpinButton_swigregister(PyObject
*self
, PyObject
*args
) {
10859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10860 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
10862 return Py_BuildValue((char *)"");
10864 static PyObject
*_wrap_new_SpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxWindow
*arg1
= (wxWindow
*) 0 ;
10867 int arg2
= (int) -1 ;
10868 wxString
const &arg3_defvalue
= wxPyEmptyString
;
10869 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
10870 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10871 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10872 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10873 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10874 long arg6
= (long) wxSP_ARROW_KEYS
;
10875 int arg7
= (int) 0 ;
10876 int arg8
= (int) 100 ;
10877 int arg9
= (int) 0 ;
10878 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
10879 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
10880 wxSpinCtrl
*result
;
10881 bool temp3
= False
;
10884 bool temp10
= False
;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 PyObject
* obj4
= 0 ;
10890 PyObject
* obj5
= 0 ;
10891 PyObject
* obj6
= 0 ;
10892 PyObject
* obj7
= 0 ;
10893 PyObject
* obj8
= 0 ;
10894 PyObject
* obj9
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 arg2
= (int) SWIG_AsInt(obj1
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10908 arg3
= wxString_in_helper(obj2
);
10909 if (arg3
== NULL
) SWIG_fail
;
10916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10926 arg6
= (long) SWIG_AsLong(obj5
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10930 arg7
= (int) SWIG_AsInt(obj6
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10934 arg8
= (int) SWIG_AsInt(obj7
);
10935 if (PyErr_Occurred()) SWIG_fail
;
10938 arg9
= (int) SWIG_AsInt(obj8
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10943 arg10
= wxString_in_helper(obj9
);
10944 if (arg10
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
10978 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxSpinCtrl
*result
;
10981 char *kwnames
[] = {
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
10987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10988 result
= (wxSpinCtrl
*)new wxSpinCtrl();
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11000 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11003 wxWindow
*arg2
= (wxWindow
*) 0 ;
11004 int arg3
= (int) -1 ;
11005 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11007 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11008 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11009 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11010 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11011 long arg7
= (long) wxSP_ARROW_KEYS
;
11012 int arg8
= (int) 0 ;
11013 int arg9
= (int) 100 ;
11014 int arg10
= (int) 0 ;
11015 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11016 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11018 bool temp4
= False
;
11021 bool temp11
= False
;
11022 PyObject
* obj0
= 0 ;
11023 PyObject
* obj1
= 0 ;
11024 PyObject
* obj2
= 0 ;
11025 PyObject
* obj3
= 0 ;
11026 PyObject
* obj4
= 0 ;
11027 PyObject
* obj5
= 0 ;
11028 PyObject
* obj6
= 0 ;
11029 PyObject
* obj7
= 0 ;
11030 PyObject
* obj8
= 0 ;
11031 PyObject
* obj9
= 0 ;
11032 PyObject
* obj10
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11043 arg3
= (int) SWIG_AsInt(obj2
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11048 arg4
= wxString_in_helper(obj3
);
11049 if (arg4
== NULL
) SWIG_fail
;
11056 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11062 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11066 arg7
= (long) SWIG_AsLong(obj6
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11070 arg8
= (int) SWIG_AsInt(obj7
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 arg9
= (int) SWIG_AsInt(obj8
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 arg10
= (int) SWIG_AsInt(obj9
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11083 arg11
= wxString_in_helper(obj10
);
11084 if (arg11
== NULL
) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11120 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11121 PyObject
*resultobj
;
11122 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11124 PyObject
* obj0
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= SWIG_FromInt((int)result
);
11146 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11147 PyObject
*resultobj
;
11148 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 PyObject
* obj1
= 0 ;
11152 char *kwnames
[] = {
11153 (char *) "self",(char *) "value", NULL
11156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11159 arg2
= (int) SWIG_AsInt(obj1
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 (arg1
)->SetValue(arg2
);
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11178 wxString
*arg2
= 0 ;
11179 bool temp2
= False
;
11180 PyObject
* obj0
= 0 ;
11181 PyObject
* obj1
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self",(char *) "text", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 arg2
= wxString_in_helper(obj1
);
11191 if (arg2
== NULL
) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 (arg1
)->SetValue((wxString
const &)*arg2
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11216 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 arg2
= (int) SWIG_AsInt(obj1
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11233 arg3
= (int) SWIG_AsInt(obj2
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 (arg1
)->SetRange(arg2
,arg3
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 Py_INCREF(Py_None
); resultobj
= Py_None
;
11249 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= SWIG_FromInt((int)result
);
11275 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_FromInt((int)result
);
11301 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 PyObject
* obj1
= 0 ;
11308 PyObject
* obj2
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "from",(char *) "to", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11316 arg2
= (long) SWIG_AsLong(obj1
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg3
= (long) SWIG_AsLong(obj2
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 (arg1
)->SetSelection(arg2
,arg3
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 Py_INCREF(Py_None
); resultobj
= Py_None
;
11334 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11337 wxVisualAttributes result
;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "variant", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11345 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11352 wxPyEndAllowThreads(__tstate
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11356 wxVisualAttributes
* resultptr
;
11357 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11366 static PyObject
* SpinCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
11368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11369 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11371 return Py_BuildValue((char *)"");
11373 static PyObject
*_wrap_new_SpinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11376 int arg2
= (int) 0 ;
11377 wxSpinEvent
*result
;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "commandType",(char *) "winid", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11386 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11390 arg2
= (int) SWIG_AsInt(obj1
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11407 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11408 PyObject
*resultobj
;
11409 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 char *kwnames
[] = {
11413 (char *) "self", NULL
11416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 resultobj
= SWIG_FromInt((int)result
);
11433 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "pos", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 arg2
= (int) SWIG_AsInt(obj1
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->SetPosition(arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
* SpinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11465 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11467 return Py_BuildValue((char *)"");
11469 static int _wrap_RadioBoxNameStr_set(PyObject
*_val
) {
11470 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11475 static PyObject
*_wrap_RadioBoxNameStr_get() {
11480 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11482 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11489 static int _wrap_RadioButtonNameStr_set(PyObject
*_val
) {
11490 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11495 static PyObject
*_wrap_RadioButtonNameStr_get() {
11500 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11502 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11509 static PyObject
*_wrap_new_RadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxWindow
*arg1
= (wxWindow
*) 0 ;
11513 wxString
*arg3
= 0 ;
11514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11518 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11519 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11520 int arg7
= (int) 0 ;
11521 long arg8
= (long) wxRA_HORIZONTAL
;
11522 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11523 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11524 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11525 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11526 wxRadioBox
*result
;
11527 bool temp3
= False
;
11530 bool temp6
= False
;
11531 bool temp10
= False
;
11532 PyObject
* obj0
= 0 ;
11533 PyObject
* obj1
= 0 ;
11534 PyObject
* obj2
= 0 ;
11535 PyObject
* obj3
= 0 ;
11536 PyObject
* obj4
= 0 ;
11537 PyObject
* obj5
= 0 ;
11538 PyObject
* obj6
= 0 ;
11539 PyObject
* obj7
= 0 ;
11540 PyObject
* obj8
= 0 ;
11541 PyObject
* obj9
= 0 ;
11542 char *kwnames
[] = {
11543 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11549 arg2
= (int) SWIG_AsInt(obj1
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11552 arg3
= wxString_in_helper(obj2
);
11553 if (arg3
== NULL
) SWIG_fail
;
11559 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11565 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11570 if (! PySequence_Check(obj5
)) {
11571 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11574 arg6
= new wxArrayString
;
11576 int i
, len
=PySequence_Length(obj5
);
11577 for (i
=0; i
<len
; i
++) {
11578 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11580 PyObject
* str
= PyObject_Unicode(item
);
11582 PyObject
* str
= PyObject_Str(item
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11585 arg6
->Add(Py2wxString(str
));
11592 arg7
= (int) SWIG_AsInt(obj6
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11596 arg8
= (long) SWIG_AsLong(obj7
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11603 if (arg9
== NULL
) {
11604 PyErr_SetString(PyExc_TypeError
,"null reference");
11610 arg10
= wxString_in_helper(obj9
);
11611 if (arg10
== NULL
) SWIG_fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 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
);
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11628 if (temp6
) delete arg6
;
11641 if (temp6
) delete arg6
;
11651 static PyObject
*_wrap_new_PreRadioBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxRadioBox
*result
;
11654 char *kwnames
[] = {
11658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (wxRadioBox
*)new wxRadioBox();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11673 static PyObject
*_wrap_RadioBox_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11676 wxWindow
*arg2
= (wxWindow
*) 0 ;
11678 wxString
*arg4
= 0 ;
11679 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11680 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11681 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11682 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11683 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11684 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11685 int arg8
= (int) 0 ;
11686 long arg9
= (long) wxRA_HORIZONTAL
;
11687 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11688 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11689 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11690 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11692 bool temp4
= False
;
11695 bool temp7
= False
;
11696 bool temp11
= False
;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 PyObject
* obj2
= 0 ;
11700 PyObject
* obj3
= 0 ;
11701 PyObject
* obj4
= 0 ;
11702 PyObject
* obj5
= 0 ;
11703 PyObject
* obj6
= 0 ;
11704 PyObject
* obj7
= 0 ;
11705 PyObject
* obj8
= 0 ;
11706 PyObject
* obj9
= 0 ;
11707 PyObject
* obj10
= 0 ;
11708 char *kwnames
[] = {
11709 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11717 arg3
= (int) SWIG_AsInt(obj2
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 arg4
= wxString_in_helper(obj3
);
11721 if (arg4
== NULL
) SWIG_fail
;
11727 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11733 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11738 if (! PySequence_Check(obj6
)) {
11739 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11742 arg7
= new wxArrayString
;
11744 int i
, len
=PySequence_Length(obj6
);
11745 for (i
=0; i
<len
; i
++) {
11746 PyObject
* item
= PySequence_GetItem(obj6
, i
);
11748 PyObject
* str
= PyObject_Unicode(item
);
11750 PyObject
* str
= PyObject_Str(item
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11753 arg7
->Add(Py2wxString(str
));
11760 arg8
= (int) SWIG_AsInt(obj7
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 arg9
= (long) SWIG_AsLong(obj8
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11768 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11771 if (arg10
== NULL
) {
11772 PyErr_SetString(PyExc_TypeError
,"null reference");
11778 arg11
= wxString_in_helper(obj10
);
11779 if (arg11
== NULL
) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 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
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11798 if (temp7
) delete arg7
;
11811 if (temp7
) delete arg7
;
11821 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 char *kwnames
[] = {
11828 (char *) "self",(char *) "n", NULL
11831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11834 arg2
= (int) SWIG_AsInt(obj1
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 (arg1
)->SetSelection(arg2
);
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 Py_INCREF(Py_None
); resultobj
= Py_None
;
11850 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11854 PyObject
* obj0
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_FromInt((int)result
);
11876 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11908 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11911 wxString
*arg2
= 0 ;
11913 bool temp2
= False
;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "s", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11924 arg2
= wxString_in_helper(obj1
);
11925 if (arg2
== NULL
) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11952 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11953 PyObject
*resultobj
;
11954 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_FromInt((int)result
);
11978 static PyObject
*_wrap_RadioBox_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11981 wxString
*arg2
= 0 ;
11983 bool temp2
= False
;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "s", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11994 arg2
= wxString_in_helper(obj1
);
11995 if (arg2
== NULL
) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= SWIG_FromInt((int)result
);
12020 static PyObject
*_wrap_RadioBox_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "n", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12034 arg2
= (int) SWIG_AsInt(obj1
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12056 static PyObject
*_wrap_RadioBox_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12060 wxString
*arg3
= 0 ;
12061 bool temp3
= False
;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 char *kwnames
[] = {
12066 (char *) "self",(char *) "n",(char *) "label", NULL
12069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12072 arg2
= (int) SWIG_AsInt(obj1
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 arg3
= wxString_in_helper(obj2
);
12076 if (arg3
== NULL
) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 Py_INCREF(Py_None
); resultobj
= Py_None
;
12101 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12105 bool arg3
= (bool) True
;
12106 PyObject
* obj0
= 0 ;
12107 PyObject
* obj1
= 0 ;
12108 PyObject
* obj2
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self",(char *) "n",(char *) "enable", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 arg2
= (int) SWIG_AsInt(obj1
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 arg3
= (bool) SWIG_AsBool(obj2
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 (arg1
)->Enable(arg2
,arg3
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12140 bool arg3
= (bool) True
;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 PyObject
* obj2
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self",(char *) "n",(char *) "show", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12151 arg2
= (int) SWIG_AsInt(obj1
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 arg3
= (bool) SWIG_AsBool(obj2
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 (arg1
)->Show(arg2
,arg3
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12175 PyObject
* obj0
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 resultobj
= SWIG_FromInt((int)result
);
12197 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_FromInt((int)result
);
12223 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 PyObject
* obj2
= 0 ;
12233 PyObject
* obj3
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12241 arg2
= (int) SWIG_AsInt(obj1
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12243 arg3
= (wxDirection
) SWIG_AsInt(obj2
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12245 arg4
= (long) SWIG_AsLong(obj3
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_FromInt((int)result
);
12261 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12264 wxVisualAttributes result
;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "variant", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12272 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12273 if (PyErr_Occurred()) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 wxVisualAttributes
* resultptr
;
12284 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12293 static PyObject
* RadioBox_swigregister(PyObject
*self
, PyObject
*args
) {
12295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12296 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12298 return Py_BuildValue((char *)"");
12300 static PyObject
*_wrap_new_RadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxWindow
*arg1
= (wxWindow
*) 0 ;
12304 wxString
*arg3
= 0 ;
12305 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12306 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12307 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12308 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12309 long arg6
= (long) 0 ;
12310 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12311 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12312 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12313 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12314 wxRadioButton
*result
;
12315 bool temp3
= False
;
12318 bool temp8
= False
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 PyObject
* obj2
= 0 ;
12322 PyObject
* obj3
= 0 ;
12323 PyObject
* obj4
= 0 ;
12324 PyObject
* obj5
= 0 ;
12325 PyObject
* obj6
= 0 ;
12326 PyObject
* obj7
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 arg2
= (int) SWIG_AsInt(obj1
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 arg3
= wxString_in_helper(obj2
);
12338 if (arg3
== NULL
) SWIG_fail
;
12344 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12350 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12354 arg6
= (long) SWIG_AsLong(obj5
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12358 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12361 if (arg7
== NULL
) {
12362 PyErr_SetString(PyExc_TypeError
,"null reference");
12368 arg8
= wxString_in_helper(obj7
);
12369 if (arg8
== NULL
) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12403 static PyObject
*_wrap_new_PreRadioButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxRadioButton
*result
;
12406 char *kwnames
[] = {
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12413 result
= (wxRadioButton
*)new wxRadioButton();
12415 wxPyEndAllowThreads(__tstate
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12425 static PyObject
*_wrap_RadioButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12426 PyObject
*resultobj
;
12427 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12428 wxWindow
*arg2
= (wxWindow
*) 0 ;
12430 wxString
*arg4
= 0 ;
12431 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12432 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12433 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12434 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12435 long arg7
= (long) 0 ;
12436 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12437 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12438 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12439 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12441 bool temp4
= False
;
12444 bool temp9
= False
;
12445 PyObject
* obj0
= 0 ;
12446 PyObject
* obj1
= 0 ;
12447 PyObject
* obj2
= 0 ;
12448 PyObject
* obj3
= 0 ;
12449 PyObject
* obj4
= 0 ;
12450 PyObject
* obj5
= 0 ;
12451 PyObject
* obj6
= 0 ;
12452 PyObject
* obj7
= 0 ;
12453 PyObject
* obj8
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 arg3
= (int) SWIG_AsInt(obj2
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 arg4
= wxString_in_helper(obj3
);
12467 if (arg4
== NULL
) SWIG_fail
;
12473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12479 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12483 arg7
= (long) SWIG_AsLong(obj6
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12488 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12490 if (arg8
== NULL
) {
12491 PyErr_SetString(PyExc_TypeError
,"null reference");
12497 arg9
= wxString_in_helper(obj8
);
12498 if (arg9
== NULL
) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12506 wxPyEndAllowThreads(__tstate
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12534 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 char *kwnames
[] = {
12540 (char *) "self", NULL
12543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 result
= (bool)(arg1
)->GetValue();
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12562 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 PyObject
* obj1
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "value", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12575 arg2
= (bool) SWIG_AsBool(obj1
);
12576 if (PyErr_Occurred()) SWIG_fail
;
12578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12579 (arg1
)->SetValue(arg2
);
12581 wxPyEndAllowThreads(__tstate
);
12582 if (PyErr_Occurred()) SWIG_fail
;
12584 Py_INCREF(Py_None
); resultobj
= Py_None
;
12591 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12592 PyObject
*resultobj
;
12593 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12594 wxVisualAttributes result
;
12595 PyObject
* obj0
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "variant", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12602 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12607 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12613 wxVisualAttributes
* resultptr
;
12614 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12623 static PyObject
* RadioButton_swigregister(PyObject
*self
, PyObject
*args
) {
12625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12626 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12628 return Py_BuildValue((char *)"");
12630 static int _wrap_SliderNameStr_set(PyObject
*_val
) {
12631 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12636 static PyObject
*_wrap_SliderNameStr_get() {
12641 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12643 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12650 static PyObject
*_wrap_new_Slider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxWindow
*arg1
= (wxWindow
*) 0 ;
12657 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12658 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12659 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12660 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12661 long arg8
= (long) wxSL_HORIZONTAL
;
12662 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12663 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12664 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12665 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12669 bool temp10
= False
;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 PyObject
* obj2
= 0 ;
12673 PyObject
* obj3
= 0 ;
12674 PyObject
* obj4
= 0 ;
12675 PyObject
* obj5
= 0 ;
12676 PyObject
* obj6
= 0 ;
12677 PyObject
* obj7
= 0 ;
12678 PyObject
* obj8
= 0 ;
12679 PyObject
* obj9
= 0 ;
12680 char *kwnames
[] = {
12681 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12687 arg2
= (int) SWIG_AsInt(obj1
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12689 arg3
= (int) SWIG_AsInt(obj2
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12691 arg4
= (int) SWIG_AsInt(obj3
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12693 arg5
= (int) SWIG_AsInt(obj4
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12698 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12704 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12708 arg8
= (long) SWIG_AsLong(obj7
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12712 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12715 if (arg9
== NULL
) {
12716 PyErr_SetString(PyExc_TypeError
,"null reference");
12722 arg10
= wxString_in_helper(obj9
);
12723 if (arg10
== NULL
) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12749 static PyObject
*_wrap_new_PreSlider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12752 char *kwnames
[] = {
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
12758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12759 result
= (wxSlider
*)new wxSlider();
12761 wxPyEndAllowThreads(__tstate
);
12762 if (PyErr_Occurred()) SWIG_fail
;
12764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
12771 static PyObject
*_wrap_Slider_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12772 PyObject
*resultobj
;
12773 wxSlider
*arg1
= (wxSlider
*) 0 ;
12774 wxWindow
*arg2
= (wxWindow
*) 0 ;
12779 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12780 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12781 wxSize
const &arg8_defvalue
= wxDefaultSize
;
12782 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
12783 long arg9
= (long) wxSL_HORIZONTAL
;
12784 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12785 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12786 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
12787 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12791 bool temp11
= False
;
12792 PyObject
* obj0
= 0 ;
12793 PyObject
* obj1
= 0 ;
12794 PyObject
* obj2
= 0 ;
12795 PyObject
* obj3
= 0 ;
12796 PyObject
* obj4
= 0 ;
12797 PyObject
* obj5
= 0 ;
12798 PyObject
* obj6
= 0 ;
12799 PyObject
* obj7
= 0 ;
12800 PyObject
* obj8
= 0 ;
12801 PyObject
* obj9
= 0 ;
12802 PyObject
* obj10
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12812 arg3
= (int) SWIG_AsInt(obj2
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12814 arg4
= (int) SWIG_AsInt(obj3
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12816 arg5
= (int) SWIG_AsInt(obj4
);
12817 if (PyErr_Occurred()) SWIG_fail
;
12818 arg6
= (int) SWIG_AsInt(obj5
);
12819 if (PyErr_Occurred()) SWIG_fail
;
12823 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12829 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
12833 arg9
= (long) SWIG_AsLong(obj8
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12837 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12840 if (arg10
== NULL
) {
12841 PyErr_SetString(PyExc_TypeError
,"null reference");
12847 arg11
= wxString_in_helper(obj10
);
12848 if (arg11
== NULL
) SWIG_fail
;
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12876 static PyObject
*_wrap_Slider_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12877 PyObject
*resultobj
;
12878 wxSlider
*arg1
= (wxSlider
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12890 result
= (int)((wxSlider
const *)arg1
)->GetValue();
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 resultobj
= SWIG_FromInt((int)result
);
12902 static PyObject
*_wrap_Slider_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxSlider
*arg1
= (wxSlider
*) 0 ;
12906 PyObject
* obj0
= 0 ;
12907 PyObject
* obj1
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self",(char *) "value", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12915 arg2
= (int) SWIG_AsInt(obj1
);
12916 if (PyErr_Occurred()) SWIG_fail
;
12918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 (arg1
)->SetValue(arg2
);
12921 wxPyEndAllowThreads(__tstate
);
12922 if (PyErr_Occurred()) SWIG_fail
;
12924 Py_INCREF(Py_None
); resultobj
= Py_None
;
12931 static PyObject
*_wrap_Slider_SetRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxSlider
*arg1
= (wxSlider
*) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 PyObject
* obj2
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12946 arg2
= (int) SWIG_AsInt(obj1
);
12947 if (PyErr_Occurred()) SWIG_fail
;
12948 arg3
= (int) SWIG_AsInt(obj2
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 (arg1
)->SetRange(arg2
,arg3
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 static PyObject
*_wrap_Slider_GetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxSlider
*arg1
= (wxSlider
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "self", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (int)((wxSlider
const *)arg1
)->GetMin();
12980 wxPyEndAllowThreads(__tstate
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12983 resultobj
= SWIG_FromInt((int)result
);
12990 static PyObject
*_wrap_Slider_GetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxSlider
*arg1
= (wxSlider
*) 0 ;
12994 PyObject
* obj0
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "self", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_FromInt((int)result
);
13016 static PyObject
*_wrap_Slider_SetMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxSlider
*arg1
= (wxSlider
*) 0 ;
13020 PyObject
* obj0
= 0 ;
13021 PyObject
* obj1
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self",(char *) "minValue", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13029 arg2
= (int) SWIG_AsInt(obj1
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 (arg1
)->SetMin(arg2
);
13035 wxPyEndAllowThreads(__tstate
);
13036 if (PyErr_Occurred()) SWIG_fail
;
13038 Py_INCREF(Py_None
); resultobj
= Py_None
;
13045 static PyObject
*_wrap_Slider_SetMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxSlider
*arg1
= (wxSlider
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self",(char *) "maxValue", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 arg2
= (int) SWIG_AsInt(obj1
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->SetMax(arg2
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxSlider
*arg1
= (wxSlider
*) 0 ;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 char *kwnames
[] = {
13081 (char *) "self",(char *) "lineSize", NULL
13084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13087 arg2
= (int) SWIG_AsInt(obj1
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 (arg1
)->SetLineSize(arg2
);
13093 wxPyEndAllowThreads(__tstate
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13096 Py_INCREF(Py_None
); resultobj
= Py_None
;
13103 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxSlider
*arg1
= (wxSlider
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "pageSize", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13116 arg2
= (int) SWIG_AsInt(obj1
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13120 (arg1
)->SetPageSize(arg2
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 Py_INCREF(Py_None
); resultobj
= Py_None
;
13132 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxSlider
*arg1
= (wxSlider
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 char *kwnames
[] = {
13138 (char *) "self", NULL
13141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13146 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13148 wxPyEndAllowThreads(__tstate
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= SWIG_FromInt((int)result
);
13158 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxSlider
*arg1
= (wxSlider
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_FromInt((int)result
);
13184 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxSlider
*arg1
= (wxSlider
*) 0 ;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self",(char *) "lenPixels", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 arg2
= (int) SWIG_AsInt(obj1
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 (arg1
)->SetThumbLength(arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxSlider
*arg1
= (wxSlider
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_FromInt((int)result
);
13239 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxSlider
*arg1
= (wxSlider
*) 0 ;
13243 int arg3
= (int) 1 ;
13244 PyObject
* obj0
= 0 ;
13245 PyObject
* obj1
= 0 ;
13246 PyObject
* obj2
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self",(char *) "n",(char *) "pos", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13254 arg2
= (int) SWIG_AsInt(obj1
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 arg3
= (int) SWIG_AsInt(obj2
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13262 (arg1
)->SetTickFreq(arg2
,arg3
);
13264 wxPyEndAllowThreads(__tstate
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13267 Py_INCREF(Py_None
); resultobj
= Py_None
;
13274 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13275 PyObject
*resultobj
;
13276 wxSlider
*arg1
= (wxSlider
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 resultobj
= SWIG_FromInt((int)result
);
13300 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxSlider
*arg1
= (wxSlider
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 (arg1
)->ClearTicks();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 Py_INCREF(Py_None
); resultobj
= Py_None
;
13325 static PyObject
*_wrap_Slider_SetTick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxSlider
*arg1
= (wxSlider
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "tickPos", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= (int) SWIG_AsInt(obj1
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 (arg1
)->SetTick(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_Slider_ClearSel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxSlider
*arg1
= (wxSlider
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 (arg1
)->ClearSel();
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxSlider
*arg1
= (wxSlider
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_FromInt((int)result
);
13405 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxSlider
*arg1
= (wxSlider
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 resultobj
= SWIG_FromInt((int)result
);
13431 static PyObject
*_wrap_Slider_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxSlider
*arg1
= (wxSlider
*) 0 ;
13436 PyObject
* obj0
= 0 ;
13437 PyObject
* obj1
= 0 ;
13438 PyObject
* obj2
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "min",(char *) "max", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 arg2
= (int) SWIG_AsInt(obj1
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13448 arg3
= (int) SWIG_AsInt(obj2
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 (arg1
)->SetSelection(arg2
,arg3
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13467 wxVisualAttributes result
;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "variant", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13475 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13486 wxVisualAttributes
* resultptr
;
13487 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13496 static PyObject
* Slider_swigregister(PyObject
*self
, PyObject
*args
) {
13498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13499 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13501 return Py_BuildValue((char *)"");
13503 static int _wrap_ToggleButtonNameStr_set(PyObject
*_val
) {
13504 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13509 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13514 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13516 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13523 static PyObject
*_wrap_new_ToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxWindow
*arg1
= (wxWindow
*) 0 ;
13527 wxString
*arg3
= 0 ;
13528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13532 long arg6
= (long) 0 ;
13533 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13534 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13535 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13537 wxToggleButton
*result
;
13538 bool temp3
= False
;
13541 bool temp8
= False
;
13542 PyObject
* obj0
= 0 ;
13543 PyObject
* obj1
= 0 ;
13544 PyObject
* obj2
= 0 ;
13545 PyObject
* obj3
= 0 ;
13546 PyObject
* obj4
= 0 ;
13547 PyObject
* obj5
= 0 ;
13548 PyObject
* obj6
= 0 ;
13549 PyObject
* obj7
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 arg2
= (int) SWIG_AsInt(obj1
);
13558 if (PyErr_Occurred()) SWIG_fail
;
13560 arg3
= wxString_in_helper(obj2
);
13561 if (arg3
== NULL
) SWIG_fail
;
13567 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13573 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13577 arg6
= (long) SWIG_AsLong(obj5
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13581 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13584 if (arg7
== NULL
) {
13585 PyErr_SetString(PyExc_TypeError
,"null reference");
13591 arg8
= wxString_in_helper(obj7
);
13592 if (arg8
== NULL
) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13626 static PyObject
*_wrap_new_PreToggleButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxToggleButton
*result
;
13629 char *kwnames
[] = {
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (wxToggleButton
*)new wxToggleButton();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13648 static PyObject
*_wrap_ToggleButton_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13651 wxWindow
*arg2
= (wxWindow
*) 0 ;
13653 wxString
*arg4
= 0 ;
13654 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13655 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13656 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13657 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13658 long arg7
= (long) 0 ;
13659 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13660 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13661 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13662 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13664 bool temp4
= False
;
13667 bool temp9
= False
;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 PyObject
* obj2
= 0 ;
13671 PyObject
* obj3
= 0 ;
13672 PyObject
* obj4
= 0 ;
13673 PyObject
* obj5
= 0 ;
13674 PyObject
* obj6
= 0 ;
13675 PyObject
* obj7
= 0 ;
13676 PyObject
* obj8
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13686 arg3
= (int) SWIG_AsInt(obj2
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 arg4
= wxString_in_helper(obj3
);
13690 if (arg4
== NULL
) SWIG_fail
;
13696 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13702 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13706 arg7
= (long) SWIG_AsLong(obj6
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13710 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13713 if (arg8
== NULL
) {
13714 PyErr_SetString(PyExc_TypeError
,"null reference");
13720 arg9
= wxString_in_helper(obj8
);
13721 if (arg9
== NULL
) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13757 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self",(char *) "value", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13770 arg2
= (bool) SWIG_AsBool(obj1
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 (arg1
)->SetValue(arg2
);
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 Py_INCREF(Py_None
); resultobj
= Py_None
;
13786 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13790 PyObject
* obj0
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13814 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13817 wxString
*arg2
= 0 ;
13818 bool temp2
= False
;
13819 PyObject
* obj0
= 0 ;
13820 PyObject
* obj1
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self",(char *) "label", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 arg2
= wxString_in_helper(obj1
);
13830 if (arg2
== NULL
) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 (arg1
)->SetLabel((wxString
const &)*arg2
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 Py_INCREF(Py_None
); resultobj
= Py_None
;
13855 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13858 wxVisualAttributes result
;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "variant", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13866 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 wxVisualAttributes
* resultptr
;
13878 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13887 static PyObject
* ToggleButton_swigregister(PyObject
*self
, PyObject
*args
) {
13889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13890 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
13892 return Py_BuildValue((char *)"");
13894 static int _wrap_NOTEBOOK_NAME_set(PyObject
*_val
) {
13895 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
13900 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
13905 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13907 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
13914 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13918 PyObject
* obj0
= 0 ;
13919 char *kwnames
[] = {
13920 (char *) "self", NULL
13923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
13924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
13940 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13941 PyObject
*resultobj
;
13942 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13945 PyObject
* obj0
= 0 ;
13946 PyObject
* obj1
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "self",(char *) "n", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
13952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= wxPyMake_wxObject(result
);
13972 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_FromInt((int)result
);
13998 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14002 wxString
*arg3
= 0 ;
14004 bool temp3
= False
;
14005 PyObject
* obj0
= 0 ;
14006 PyObject
* obj1
= 0 ;
14007 PyObject
* obj2
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "self",(char *) "n",(char *) "strText", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 arg3
= wxString_in_helper(obj2
);
14019 if (arg3
== NULL
) SWIG_fail
;
14023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14024 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14026 wxPyEndAllowThreads(__tstate
);
14027 if (PyErr_Occurred()) SWIG_fail
;
14030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14046 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "n", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14060 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14061 if (PyErr_Occurred()) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14082 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14085 wxImageList
*arg2
= (wxImageList
*) 0 ;
14086 PyObject
* obj0
= 0 ;
14087 PyObject
* obj1
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self",(char *) "imageList", NULL
14092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->SetImageList(arg2
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 Py_INCREF(Py_None
); resultobj
= Py_None
;
14111 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14112 PyObject
*resultobj
;
14113 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14114 wxImageList
*arg2
= (wxImageList
*) 0 ;
14115 PyObject
* obj0
= 0 ;
14116 PyObject
* obj1
= 0 ;
14117 char *kwnames
[] = {
14118 (char *) "self",(char *) "imageList", NULL
14121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14125 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14128 (arg1
)->AssignImageList(arg2
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 Py_INCREF(Py_None
); resultobj
= Py_None
;
14140 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
;
14142 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14143 wxImageList
*result
;
14144 PyObject
* obj0
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= wxPyMake_wxObject(result
);
14168 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14169 PyObject
*resultobj
;
14170 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14173 PyObject
* obj0
= 0 ;
14174 PyObject
* obj1
= 0 ;
14175 char *kwnames
[] = {
14176 (char *) "self",(char *) "n", NULL
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14182 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_FromInt((int)result
);
14198 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 PyObject
* obj1
= 0 ;
14206 PyObject
* obj2
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self",(char *) "n",(char *) "imageId", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14216 arg3
= (int) SWIG_AsInt(obj2
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14222 wxPyEndAllowThreads(__tstate
);
14223 if (PyErr_Occurred()) SWIG_fail
;
14226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14234 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self",(char *) "size", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 Py_INCREF(Py_None
); resultobj
= Py_None
;
14266 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "sizePage", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14293 wxSize
* resultptr
;
14294 resultptr
= new wxSize((wxSize
&) result
);
14295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14303 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "n", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (bool)(arg1
)->DeletePage(arg2
);
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14335 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 PyObject
* obj1
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self",(char *) "n", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14353 result
= (bool)(arg1
)->RemovePage(arg2
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14367 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 char *kwnames
[] = {
14373 (char *) "self", NULL
14376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)(arg1
)->DeleteAllPages();
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14395 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14398 wxWindow
*arg2
= (wxWindow
*) 0 ;
14399 wxString
*arg3
= 0 ;
14400 bool arg4
= (bool) False
;
14401 int arg5
= (int) -1 ;
14403 bool temp3
= False
;
14404 PyObject
* obj0
= 0 ;
14405 PyObject
* obj1
= 0 ;
14406 PyObject
* obj2
= 0 ;
14407 PyObject
* obj3
= 0 ;
14408 PyObject
* obj4
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 arg3
= wxString_in_helper(obj2
);
14420 if (arg3
== NULL
) SWIG_fail
;
14424 arg4
= (bool) SWIG_AsBool(obj3
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14428 arg5
= (int) SWIG_AsInt(obj4
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14455 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14459 wxWindow
*arg3
= (wxWindow
*) 0 ;
14460 wxString
*arg4
= 0 ;
14461 bool arg5
= (bool) False
;
14462 int arg6
= (int) -1 ;
14464 bool temp4
= False
;
14465 PyObject
* obj0
= 0 ;
14466 PyObject
* obj1
= 0 ;
14467 PyObject
* obj2
= 0 ;
14468 PyObject
* obj3
= 0 ;
14469 PyObject
* obj4
= 0 ;
14470 PyObject
* obj5
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14480 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14483 arg4
= wxString_in_helper(obj3
);
14484 if (arg4
== NULL
) SWIG_fail
;
14488 arg5
= (bool) SWIG_AsBool(obj4
);
14489 if (PyErr_Occurred()) SWIG_fail
;
14492 arg6
= (int) SWIG_AsInt(obj5
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14519 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self",(char *) "n", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14533 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
14534 if (PyErr_Occurred()) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= (int)(arg1
)->SetSelection(arg2
);
14539 wxPyEndAllowThreads(__tstate
);
14540 if (PyErr_Occurred()) SWIG_fail
;
14542 resultobj
= SWIG_FromInt((int)result
);
14549 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14550 PyObject
*resultobj
;
14551 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14552 bool arg2
= (bool) True
;
14553 PyObject
* obj0
= 0 ;
14554 PyObject
* obj1
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self",(char *) "forward", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 arg2
= (bool) SWIG_AsBool(obj1
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14568 (arg1
)->AdvanceSelection(arg2
);
14570 wxPyEndAllowThreads(__tstate
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14583 wxVisualAttributes result
;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "variant", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14591 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 wxVisualAttributes
* resultptr
;
14603 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14612 static PyObject
* BookCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
14614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14615 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14617 return Py_BuildValue((char *)"");
14619 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14622 int arg2
= (int) 0 ;
14623 int arg3
= (int) -1 ;
14624 int arg4
= (int) -1 ;
14625 wxBookCtrlEvent
*result
;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 PyObject
* obj2
= 0 ;
14629 PyObject
* obj3
= 0 ;
14630 char *kwnames
[] = {
14631 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14636 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
14637 if (PyErr_Occurred()) SWIG_fail
;
14640 arg2
= (int) SWIG_AsInt(obj1
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14644 arg3
= (int) SWIG_AsInt(obj2
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14648 arg4
= (int) SWIG_AsInt(obj3
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14655 wxPyEndAllowThreads(__tstate
);
14656 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14665 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14666 PyObject
*resultobj
;
14667 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14669 PyObject
* obj0
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= SWIG_FromInt((int)result
);
14691 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
;
14693 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "nSel", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 arg2
= (int) SWIG_AsInt(obj1
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 (arg1
)->SetSelection(arg2
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 Py_INCREF(Py_None
); resultobj
= Py_None
;
14720 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_FromInt((int)result
);
14746 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "nOldSel", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 arg2
= (int) SWIG_AsInt(obj1
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 (arg1
)->SetOldSelection(arg2
);
14765 wxPyEndAllowThreads(__tstate
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14768 Py_INCREF(Py_None
); resultobj
= Py_None
;
14775 static PyObject
* BookCtrlEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14778 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
14780 return Py_BuildValue((char *)"");
14782 static PyObject
*_wrap_new_Notebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxWindow
*arg1
= (wxWindow
*) 0 ;
14785 int arg2
= (int) -1 ;
14786 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14787 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14788 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14789 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14790 long arg5
= (long) 0 ;
14791 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
14792 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14793 wxNotebook
*result
;
14796 bool temp6
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 PyObject
* obj2
= 0 ;
14800 PyObject
* obj3
= 0 ;
14801 PyObject
* obj4
= 0 ;
14802 PyObject
* obj5
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 arg2
= (int) SWIG_AsInt(obj1
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14823 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14827 arg5
= (long) SWIG_AsLong(obj4
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14832 arg6
= wxString_in_helper(obj5
);
14833 if (arg6
== NULL
) SWIG_fail
;
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14839 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14841 wxPyEndAllowThreads(__tstate
);
14842 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= wxPyMake_wxObject(result
);
14861 static PyObject
*_wrap_new_PreNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxNotebook
*result
;
14864 char *kwnames
[] = {
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxNotebook
*)new wxNotebook();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= wxPyMake_wxObject(result
);
14885 static PyObject
*_wrap_Notebook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14888 wxWindow
*arg2
= (wxWindow
*) 0 ;
14890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14894 long arg6
= (long) 0 ;
14895 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
14896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14900 bool temp7
= False
;
14901 PyObject
* obj0
= 0 ;
14902 PyObject
* obj1
= 0 ;
14903 PyObject
* obj2
= 0 ;
14904 PyObject
* obj3
= 0 ;
14905 PyObject
* obj4
= 0 ;
14906 PyObject
* obj5
= 0 ;
14907 PyObject
* obj6
= 0 ;
14908 char *kwnames
[] = {
14909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 arg3
= (int) SWIG_AsInt(obj2
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14932 arg6
= (long) SWIG_AsLong(obj5
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14937 arg7
= wxString_in_helper(obj6
);
14938 if (arg7
== NULL
) SWIG_fail
;
14943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14966 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14970 PyObject
* obj0
= 0 ;
14971 char *kwnames
[] = {
14972 (char *) "self", NULL
14975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
14976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
14977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14985 resultobj
= SWIG_FromInt((int)result
);
14992 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14993 PyObject
*resultobj
;
14994 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
14997 PyObject
* obj0
= 0 ;
14998 PyObject
* obj1
= 0 ;
14999 char *kwnames
[] = {
15000 (char *) "self",(char *) "padding", NULL
15003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 Py_INCREF(Py_None
); resultobj
= Py_None
;
15024 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15025 PyObject
*resultobj
;
15026 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "sz", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15040 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_Notebook_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15059 wxPoint
*arg2
= 0 ;
15060 long *arg3
= (long *) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self",(char *) "pt", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15082 wxPyEndAllowThreads(__tstate
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= SWIG_FromInt((int)result
);
15087 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15088 resultobj
= t_output_helper(resultobj
,o
);
15096 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self",(char *) "sizePage", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 wxSize
* resultptr
;
15124 resultptr
= new wxSize((wxSize
&) result
);
15125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15133 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15134 PyObject
*resultobj
;
15135 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15136 wxVisualAttributes result
;
15137 PyObject
* obj0
= 0 ;
15138 char *kwnames
[] = {
15139 (char *) "variant", NULL
15142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15144 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 wxVisualAttributes
* resultptr
;
15156 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15165 static PyObject
* Notebook_swigregister(PyObject
*self
, PyObject
*args
) {
15167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15168 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15170 return Py_BuildValue((char *)"");
15172 static PyObject
*_wrap_new_NotebookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15175 int arg2
= (int) 0 ;
15176 int arg3
= (int) -1 ;
15177 int arg4
= (int) -1 ;
15178 wxNotebookEvent
*result
;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15189 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15190 if (PyErr_Occurred()) SWIG_fail
;
15193 arg2
= (int) SWIG_AsInt(obj1
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15197 arg3
= (int) SWIG_AsInt(obj2
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 arg4
= (int) SWIG_AsInt(obj3
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15218 static PyObject
* NotebookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15221 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15223 return Py_BuildValue((char *)"");
15225 static PyObject
*_wrap_new_Listbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15226 PyObject
*resultobj
;
15227 wxWindow
*arg1
= (wxWindow
*) 0 ;
15228 int arg2
= (int) -1 ;
15229 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15230 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15231 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15232 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15233 long arg5
= (long) 0 ;
15234 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15235 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15236 wxListbook
*result
;
15239 bool temp6
= False
;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 PyObject
* obj2
= 0 ;
15243 PyObject
* obj3
= 0 ;
15244 PyObject
* obj4
= 0 ;
15245 PyObject
* obj5
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 arg2
= (int) SWIG_AsInt(obj1
);
15255 if (PyErr_Occurred()) SWIG_fail
;
15260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15266 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15270 arg5
= (long) SWIG_AsLong(obj4
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15275 arg6
= wxString_in_helper(obj5
);
15276 if (arg6
== NULL
) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15302 static PyObject
*_wrap_new_PreListbook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxListbook
*result
;
15305 char *kwnames
[] = {
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (wxListbook
*)new wxListbook();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15324 static PyObject
*_wrap_Listbook_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxListbook
*arg1
= (wxListbook
*) 0 ;
15327 wxWindow
*arg2
= (wxWindow
*) 0 ;
15329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15333 long arg6
= (long) 0 ;
15334 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15339 bool temp7
= False
;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 PyObject
* obj3
= 0 ;
15344 PyObject
* obj4
= 0 ;
15345 PyObject
* obj5
= 0 ;
15346 PyObject
* obj6
= 0 ;
15347 char *kwnames
[] = {
15348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 arg3
= (int) SWIG_AsInt(obj2
);
15357 if (PyErr_Occurred()) SWIG_fail
;
15361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15371 arg6
= (long) SWIG_AsLong(obj5
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15376 arg7
= wxString_in_helper(obj6
);
15377 if (arg7
== NULL
) SWIG_fail
;
15382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15383 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15385 wxPyEndAllowThreads(__tstate
);
15386 if (PyErr_Occurred()) SWIG_fail
;
15389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15405 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxListbook
*arg1
= (wxListbook
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15433 static PyObject
* Listbook_swigregister(PyObject
*self
, PyObject
*args
) {
15435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15436 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15438 return Py_BuildValue((char *)"");
15440 static PyObject
*_wrap_new_ListbookEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15443 int arg2
= (int) 0 ;
15444 int arg3
= (int) -1 ;
15445 int arg4
= (int) -1 ;
15446 wxListbookEvent
*result
;
15447 PyObject
* obj0
= 0 ;
15448 PyObject
* obj1
= 0 ;
15449 PyObject
* obj2
= 0 ;
15450 PyObject
* obj3
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15457 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 arg2
= (int) SWIG_AsInt(obj1
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15465 arg3
= (int) SWIG_AsInt(obj2
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15469 arg4
= (int) SWIG_AsInt(obj3
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15486 static PyObject
* ListbookEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15489 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15491 return Py_BuildValue((char *)"");
15493 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15494 PyObject
*resultobj
;
15495 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15496 wxBookCtrlSizer
*result
;
15497 PyObject
* obj0
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "nb", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15519 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15522 PyObject
* obj0
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15532 (arg1
)->RecalcSizes();
15534 wxPyEndAllowThreads(__tstate
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15537 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15545 PyObject
*resultobj
;
15546 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15548 PyObject
* obj0
= 0 ;
15549 char *kwnames
[] = {
15550 (char *) "self", NULL
15553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (arg1
)->CalcMin();
15560 wxPyEndAllowThreads(__tstate
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 wxSize
* resultptr
;
15565 resultptr
= new wxSize((wxSize
&) result
);
15566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15574 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15577 wxBookCtrl
*result
;
15578 PyObject
* obj0
= 0 ;
15579 char *kwnames
[] = {
15580 (char *) "self", NULL
15583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15600 static PyObject
* BookCtrlSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15603 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15605 return Py_BuildValue((char *)"");
15607 static PyObject
*_wrap_new_NotebookSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15610 wxNotebookSizer
*result
;
15611 PyObject
* obj0
= 0 ;
15612 char *kwnames
[] = {
15613 (char *) "nb", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15633 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15636 PyObject
* obj0
= 0 ;
15637 char *kwnames
[] = {
15638 (char *) "self", NULL
15641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15646 (arg1
)->RecalcSizes();
15648 wxPyEndAllowThreads(__tstate
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 Py_INCREF(Py_None
); resultobj
= Py_None
;
15658 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15662 PyObject
* obj0
= 0 ;
15663 char *kwnames
[] = {
15664 (char *) "self", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15672 result
= (arg1
)->CalcMin();
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 wxSize
* resultptr
;
15679 resultptr
= new wxSize((wxSize
&) result
);
15680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15688 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15691 wxNotebook
*result
;
15692 PyObject
* obj0
= 0 ;
15693 char *kwnames
[] = {
15694 (char *) "self", NULL
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
15698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15702 result
= (wxNotebook
*)(arg1
)->GetNotebook();
15704 wxPyEndAllowThreads(__tstate
);
15705 if (PyErr_Occurred()) SWIG_fail
;
15708 resultobj
= wxPyMake_wxObject(result
);
15716 static PyObject
* NotebookSizer_swigregister(PyObject
*self
, PyObject
*args
) {
15718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15719 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
15721 return Py_BuildValue((char *)"");
15723 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (int)(arg1
)->GetId();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_FromInt((int)result
);
15749 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (wxControl
*)(arg1
)->GetControl();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15769 resultobj
= wxPyMake_wxObject(result
);
15777 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
;
15779 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15780 wxToolBarBase
*result
;
15781 PyObject
* obj0
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= wxPyMake_wxObject(result
);
15805 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15809 PyObject
* obj0
= 0 ;
15810 char *kwnames
[] = {
15811 (char *) "self", NULL
15814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
15815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= (int)(arg1
)->IsButton();
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_FromInt((int)result
);
15831 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "self", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (int)(arg1
)->IsControl();
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_FromInt((int)result
);
15857 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15861 PyObject
* obj0
= 0 ;
15862 char *kwnames
[] = {
15863 (char *) "self", NULL
15866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
15867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= (int)(arg1
)->IsSeparator();
15873 wxPyEndAllowThreads(__tstate
);
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 resultobj
= SWIG_FromInt((int)result
);
15883 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 char *kwnames
[] = {
15889 (char *) "self", NULL
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
15893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (int)(arg1
)->GetStyle();
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_FromInt((int)result
);
15909 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (int)(arg1
)->GetKind();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_FromInt((int)result
);
15935 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
;
15937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 char *kwnames
[] = {
15941 (char *) "self", NULL
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 result
= (bool)(arg1
)->IsEnabled();
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15963 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
15974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 result
= (bool)(arg1
)->IsToggled();
15979 wxPyEndAllowThreads(__tstate
);
15980 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15991 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (bool)(arg1
)->CanBeToggled();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16035 result
= (wxBitmap
*) &_result_ref
;
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16042 wxBitmap
* resultptr
= new wxBitmap(*result
);
16043 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16051 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16067 result
= (wxBitmap
*) &_result_ref
;
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16074 wxBitmap
* resultptr
= new wxBitmap(*result
);
16075 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16083 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= (arg1
)->GetBitmap();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 wxBitmap
* resultptr
;
16104 resultptr
= new wxBitmap((wxBitmap
&) result
);
16105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16113 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (arg1
)->GetLabel();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16145 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char *kwnames
[] = {
16151 (char *) "self", NULL
16154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16159 result
= (arg1
)->GetShortHelp();
16161 wxPyEndAllowThreads(__tstate
);
16162 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16177 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16178 PyObject
*resultobj
;
16179 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16181 PyObject
* obj0
= 0 ;
16182 char *kwnames
[] = {
16183 (char *) "self", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 result
= (arg1
)->GetLongHelp();
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16209 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16214 PyObject
* obj0
= 0 ;
16215 PyObject
* obj1
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self",(char *) "enable", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16223 arg2
= (bool) SWIG_AsBool(obj1
);
16224 if (PyErr_Occurred()) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (bool)(arg1
)->Enable(arg2
);
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16244 PyObject
* obj0
= 0 ;
16245 char *kwnames
[] = {
16246 (char *) "self", NULL
16249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 Py_INCREF(Py_None
); resultobj
= Py_None
;
16266 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 PyObject
* obj1
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self",(char *) "toggle", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 arg2
= (bool) SWIG_AsBool(obj1
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (bool)(arg1
)->SetToggle(arg2
);
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16301 wxString
*arg2
= 0 ;
16303 bool temp2
= False
;
16304 PyObject
* obj0
= 0 ;
16305 PyObject
* obj1
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self",(char *) "help", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 arg2
= wxString_in_helper(obj1
);
16315 if (arg2
== NULL
) SWIG_fail
;
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16320 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16342 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16343 PyObject
*resultobj
;
16344 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16345 wxString
*arg2
= 0 ;
16347 bool temp2
= False
;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "help", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16358 arg2
= wxString_in_helper(obj1
);
16359 if (arg2
== NULL
) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16366 wxPyEndAllowThreads(__tstate
);
16367 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16386 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16389 wxBitmap
*arg2
= 0 ;
16390 PyObject
* obj0
= 0 ;
16391 PyObject
* obj1
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self",(char *) "bmp", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16402 if (arg2
== NULL
) {
16403 PyErr_SetString(PyExc_TypeError
,"null reference");
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16423 wxBitmap
*arg2
= 0 ;
16424 PyObject
* obj0
= 0 ;
16425 PyObject
* obj1
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self",(char *) "bmp", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16433 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16436 if (arg2
== NULL
) {
16437 PyErr_SetString(PyExc_TypeError
,"null reference");
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 Py_INCREF(Py_None
); resultobj
= Py_None
;
16454 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16455 PyObject
*resultobj
;
16456 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16457 wxString
*arg2
= 0 ;
16458 bool temp2
= False
;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self",(char *) "label", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 arg2
= wxString_in_helper(obj1
);
16470 if (arg2
== NULL
) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 (arg1
)->SetLabel((wxString
const &)*arg2
);
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 Py_INCREF(Py_None
); resultobj
= Py_None
;
16495 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 Py_INCREF(Py_None
); resultobj
= Py_None
;
16520 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16523 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self",(char *) "tbar", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 (arg1
)->Attach(arg2
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 Py_INCREF(Py_None
); resultobj
= Py_None
;
16549 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16553 PyObject
* obj0
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
;
16575 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16578 PyObject
*arg2
= (PyObject
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 PyObject
* obj1
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self",(char *) "clientData", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 Py_INCREF(Py_None
); resultobj
= Py_None
;
16603 static PyObject
* ToolBarToolBase_swigregister(PyObject
*self
, PyObject
*args
) {
16605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16606 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16608 return Py_BuildValue((char *)"");
16610 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16611 PyObject
*resultobj
;
16612 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16614 wxString
*arg3
= 0 ;
16615 wxBitmap
*arg4
= 0 ;
16616 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16617 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16618 int arg6
= (int) wxITEM_NORMAL
;
16619 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16621 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16622 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16623 PyObject
*arg9
= (PyObject
*) NULL
;
16624 wxToolBarToolBase
*result
;
16625 bool temp3
= False
;
16626 bool temp7
= False
;
16627 bool temp8
= False
;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 PyObject
* obj2
= 0 ;
16631 PyObject
* obj3
= 0 ;
16632 PyObject
* obj4
= 0 ;
16633 PyObject
* obj5
= 0 ;
16634 PyObject
* obj6
= 0 ;
16635 PyObject
* obj7
= 0 ;
16636 PyObject
* obj8
= 0 ;
16637 char *kwnames
[] = {
16638 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 arg2
= (int) SWIG_AsInt(obj1
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 arg3
= wxString_in_helper(obj2
);
16648 if (arg3
== NULL
) SWIG_fail
;
16651 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16654 if (arg4
== NULL
) {
16655 PyErr_SetString(PyExc_TypeError
,"null reference");
16659 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16662 if (arg5
== NULL
) {
16663 PyErr_SetString(PyExc_TypeError
,"null reference");
16668 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16673 arg7
= wxString_in_helper(obj6
);
16674 if (arg7
== NULL
) SWIG_fail
;
16680 arg8
= wxString_in_helper(obj7
);
16681 if (arg8
== NULL
) SWIG_fail
;
16689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16690 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
16692 wxPyEndAllowThreads(__tstate
);
16693 if (PyErr_Occurred()) SWIG_fail
;
16696 resultobj
= wxPyMake_wxObject(result
);
16728 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16733 wxString
*arg4
= 0 ;
16734 wxBitmap
*arg5
= 0 ;
16735 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
16736 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
16737 int arg7
= (int) wxITEM_NORMAL
;
16738 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16739 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16740 wxString
const &arg9_defvalue
= wxPyEmptyString
;
16741 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
16742 PyObject
*arg10
= (PyObject
*) NULL
;
16743 wxToolBarToolBase
*result
;
16744 bool temp4
= False
;
16745 bool temp8
= False
;
16746 bool temp9
= False
;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 PyObject
* obj2
= 0 ;
16750 PyObject
* obj3
= 0 ;
16751 PyObject
* obj4
= 0 ;
16752 PyObject
* obj5
= 0 ;
16753 PyObject
* obj6
= 0 ;
16754 PyObject
* obj7
= 0 ;
16755 PyObject
* obj8
= 0 ;
16756 PyObject
* obj9
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16764 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16766 arg3
= (int) SWIG_AsInt(obj2
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16769 arg4
= wxString_in_helper(obj3
);
16770 if (arg4
== NULL
) SWIG_fail
;
16773 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16774 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16776 if (arg5
== NULL
) {
16777 PyErr_SetString(PyExc_TypeError
,"null reference");
16781 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
16782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16784 if (arg6
== NULL
) {
16785 PyErr_SetString(PyExc_TypeError
,"null reference");
16790 arg7
= (wxItemKind
) SWIG_AsInt(obj6
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16795 arg8
= wxString_in_helper(obj7
);
16796 if (arg8
== NULL
) SWIG_fail
;
16802 arg9
= wxString_in_helper(obj8
);
16803 if (arg9
== NULL
) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 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
);
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 resultobj
= wxPyMake_wxObject(result
);
16850 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16853 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
16854 wxToolBarToolBase
*result
;
16855 PyObject
* obj0
= 0 ;
16856 PyObject
* obj1
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self",(char *) "tool", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
16865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= wxPyMake_wxObject(result
);
16882 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16886 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
16887 wxToolBarToolBase
*result
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 PyObject
* obj2
= 0 ;
16891 char *kwnames
[] = {
16892 (char *) "self",(char *) "pos",(char *) "tool", NULL
16895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16900 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
16901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= wxPyMake_wxObject(result
);
16918 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16919 PyObject
*resultobj
;
16920 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16921 wxControl
*arg2
= (wxControl
*) 0 ;
16922 wxToolBarToolBase
*result
;
16923 PyObject
* obj0
= 0 ;
16924 PyObject
* obj1
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self",(char *) "control", NULL
16929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
16930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
16933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= wxPyMake_wxObject(result
);
16950 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16954 wxControl
*arg3
= (wxControl
*) 0 ;
16955 wxToolBarToolBase
*result
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 PyObject
* obj2
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self",(char *) "pos",(char *) "control", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16968 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
16969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16972 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
16974 wxPyEndAllowThreads(__tstate
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= wxPyMake_wxObject(result
);
16986 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "id", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17004 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= wxPyMake_wxObject(result
);
17018 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17019 PyObject
*resultobj
;
17020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17021 wxToolBarToolBase
*result
;
17022 PyObject
* obj0
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17038 resultobj
= wxPyMake_wxObject(result
);
17046 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17050 wxToolBarToolBase
*result
;
17051 PyObject
* obj0
= 0 ;
17052 PyObject
* obj1
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self",(char *) "pos", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17061 if (PyErr_Occurred()) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= wxPyMake_wxObject(result
);
17078 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17082 wxToolBarToolBase
*result
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "self",(char *) "id", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 arg2
= (int) SWIG_AsInt(obj1
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= wxPyMake_wxObject(result
);
17110 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "pos", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17124 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17142 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17147 PyObject
* obj0
= 0 ;
17148 PyObject
* obj1
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self",(char *) "id", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17156 arg2
= (int) SWIG_AsInt(obj1
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17160 result
= (bool)(arg1
)->DeleteTool(arg2
);
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17174 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17177 PyObject
* obj0
= 0 ;
17178 char *kwnames
[] = {
17179 (char *) "self", NULL
17182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 (arg1
)->ClearTools();
17189 wxPyEndAllowThreads(__tstate
);
17190 if (PyErr_Occurred()) SWIG_fail
;
17192 Py_INCREF(Py_None
); resultobj
= Py_None
;
17199 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17200 PyObject
*resultobj
;
17201 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (bool)(arg1
)->Realize();
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17227 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17228 PyObject
*resultobj
;
17229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17232 PyObject
* obj0
= 0 ;
17233 PyObject
* obj1
= 0 ;
17234 PyObject
* obj2
= 0 ;
17235 char *kwnames
[] = {
17236 (char *) "self",(char *) "id",(char *) "enable", NULL
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17242 arg2
= (int) SWIG_AsInt(obj1
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17244 arg3
= (bool) SWIG_AsBool(obj2
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 (arg1
)->EnableTool(arg2
,arg3
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 Py_INCREF(Py_None
); resultobj
= Py_None
;
17260 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self",(char *) "id",(char *) "toggle", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17275 arg2
= (int) SWIG_AsInt(obj1
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17277 arg3
= (bool) SWIG_AsBool(obj2
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->ToggleTool(arg2
,arg3
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17286 Py_INCREF(Py_None
); resultobj
= Py_None
;
17293 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 PyObject
* obj2
= 0 ;
17301 char *kwnames
[] = {
17302 (char *) "self",(char *) "id",(char *) "toggle", NULL
17305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 arg2
= (int) SWIG_AsInt(obj1
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17310 arg3
= (bool) SWIG_AsBool(obj2
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17314 (arg1
)->SetToggle(arg2
,arg3
);
17316 wxPyEndAllowThreads(__tstate
);
17317 if (PyErr_Occurred()) SWIG_fail
;
17319 Py_INCREF(Py_None
); resultobj
= Py_None
;
17326 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 PyObject
* obj1
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self",(char *) "id", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17340 arg2
= (int) SWIG_AsInt(obj1
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= result
;
17356 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17360 PyObject
*arg3
= (PyObject
*) 0 ;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 PyObject
* obj2
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self",(char *) "id",(char *) "clientData", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 arg2
= (int) SWIG_AsInt(obj1
);
17372 if (PyErr_Occurred()) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17388 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17389 PyObject
*resultobj
;
17390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 char *kwnames
[] = {
17396 (char *) "self",(char *) "id", NULL
17399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17402 arg2
= (int) SWIG_AsInt(obj1
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_FromInt((int)result
);
17418 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
;
17420 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17423 PyObject
* obj0
= 0 ;
17424 PyObject
* obj1
= 0 ;
17425 char *kwnames
[] = {
17426 (char *) "self",(char *) "id", NULL
17429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (int) SWIG_AsInt(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (bool)(arg1
)->GetToolState(arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17450 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "self",(char *) "id", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 arg2
= (int) SWIG_AsInt(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17482 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17486 wxString
*arg3
= 0 ;
17487 bool temp3
= False
;
17488 PyObject
* obj0
= 0 ;
17489 PyObject
* obj1
= 0 ;
17490 PyObject
* obj2
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self",(char *) "id",(char *) "helpString", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 arg2
= (int) SWIG_AsInt(obj1
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 arg3
= wxString_in_helper(obj2
);
17502 if (arg3
== NULL
) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17527 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self",(char *) "id", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17541 arg2
= (int) SWIG_AsInt(obj1
);
17542 if (PyErr_Occurred()) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 result
= (arg1
)->GetToolShortHelp(arg2
);
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17563 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17567 wxString
*arg3
= 0 ;
17568 bool temp3
= False
;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 PyObject
* obj2
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self",(char *) "id",(char *) "helpString", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17579 arg2
= (int) SWIG_AsInt(obj1
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 arg3
= wxString_in_helper(obj2
);
17583 if (arg3
== NULL
) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char *kwnames
[] = {
17616 (char *) "self",(char *) "id", NULL
17619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17622 arg2
= (int) SWIG_AsInt(obj1
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (arg1
)->GetToolLongHelp(arg2
);
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17635 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17644 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self",(char *) "x",(char *) "y", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17659 arg2
= (int) SWIG_AsInt(obj1
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17661 arg3
= (int) SWIG_AsInt(obj2
);
17662 if (PyErr_Occurred()) SWIG_fail
;
17664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17665 (arg1
)->SetMargins(arg2
,arg3
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 Py_INCREF(Py_None
); resultobj
= Py_None
;
17677 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
;
17679 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "size", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 (arg1
)->SetMargins((wxSize
const &)*arg2
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 Py_INCREF(Py_None
); resultobj
= Py_None
;
17709 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "packing", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 arg2
= (int) SWIG_AsInt(obj1
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 (arg1
)->SetToolPacking(arg2
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 Py_INCREF(Py_None
); resultobj
= Py_None
;
17738 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17739 PyObject
*resultobj
;
17740 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17742 PyObject
* obj0
= 0 ;
17743 PyObject
* obj1
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "separation", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17751 arg2
= (int) SWIG_AsInt(obj1
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17755 (arg1
)->SetToolSeparation(arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 Py_INCREF(Py_None
); resultobj
= Py_None
;
17767 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17771 PyObject
* obj0
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17781 result
= (arg1
)->GetToolMargins();
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17787 wxSize
* resultptr
;
17788 resultptr
= new wxSize((wxSize
&) result
);
17789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17797 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (arg1
)->GetMargins();
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17817 wxSize
* resultptr
;
17818 resultptr
= new wxSize((wxSize
&) result
);
17819 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17827 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17828 PyObject
*resultobj
;
17829 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17831 PyObject
* obj0
= 0 ;
17832 char *kwnames
[] = {
17833 (char *) "self", NULL
17836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
17837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17841 result
= (int)(arg1
)->GetToolPacking();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_FromInt((int)result
);
17853 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17857 PyObject
* obj0
= 0 ;
17858 char *kwnames
[] = {
17859 (char *) "self", NULL
17862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
17863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17867 result
= (int)(arg1
)->GetToolSeparation();
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_FromInt((int)result
);
17879 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "nRows", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 arg2
= (int) SWIG_AsInt(obj1
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 (arg1
)->SetRows(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 Py_INCREF(Py_None
); resultobj
= Py_None
;
17908 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
;
17910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 PyObject
* obj1
= 0 ;
17915 PyObject
* obj2
= 0 ;
17916 char *kwnames
[] = {
17917 (char *) "self",(char *) "rows",(char *) "cols", NULL
17920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17923 arg2
= (int) SWIG_AsInt(obj1
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17925 arg3
= (int) SWIG_AsInt(obj2
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 Py_INCREF(Py_None
); resultobj
= Py_None
;
17941 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 result
= (int)(arg1
)->GetMaxRows();
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_FromInt((int)result
);
17967 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17971 PyObject
* obj0
= 0 ;
17972 char *kwnames
[] = {
17973 (char *) "self", NULL
17976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
17977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (int)(arg1
)->GetMaxCols();
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_FromInt((int)result
);
17993 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self",(char *) "size", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 result
= (arg1
)->GetToolBitmapSize();
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18045 wxSize
* resultptr
;
18046 resultptr
= new wxSize((wxSize
&) result
);
18047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18055 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18059 PyObject
* obj0
= 0 ;
18060 char *kwnames
[] = {
18061 (char *) "self", NULL
18064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18069 result
= (arg1
)->GetToolSize();
18071 wxPyEndAllowThreads(__tstate
);
18072 if (PyErr_Occurred()) SWIG_fail
;
18075 wxSize
* resultptr
;
18076 resultptr
= new wxSize((wxSize
&) result
);
18077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18085 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18090 wxToolBarToolBase
*result
;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 PyObject
* obj2
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "x",(char *) "y", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 arg2
= (int) SWIG_AsInt(obj1
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18103 arg3
= (int) SWIG_AsInt(obj2
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= wxPyMake_wxObject(result
);
18121 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18125 wxToolBarToolBase
*result
;
18126 PyObject
* obj0
= 0 ;
18127 PyObject
* obj1
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "toolid", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 arg2
= (int) SWIG_AsInt(obj1
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= wxPyMake_wxObject(result
);
18153 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 char *kwnames
[] = {
18159 (char *) "self", NULL
18162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 result
= (bool)(arg1
)->IsVertical();
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18181 static PyObject
* ToolBarBase_swigregister(PyObject
*self
, PyObject
*args
) {
18183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18184 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18186 return Py_BuildValue((char *)"");
18188 static PyObject
*_wrap_new_ToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxWindow
*arg1
= (wxWindow
*) 0 ;
18192 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18193 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18194 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18195 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18196 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18197 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18198 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18202 bool temp6
= False
;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 PyObject
* obj2
= 0 ;
18206 PyObject
* obj3
= 0 ;
18207 PyObject
* obj4
= 0 ;
18208 PyObject
* obj5
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 arg2
= (int) SWIG_AsInt(obj1
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18221 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18227 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18231 arg5
= (long) SWIG_AsLong(obj4
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18236 arg6
= wxString_in_helper(obj5
);
18237 if (arg6
== NULL
) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18249 resultobj
= wxPyMake_wxObject(result
);
18265 static PyObject
*_wrap_new_PreToolBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18268 char *kwnames
[] = {
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18275 result
= (wxToolBar
*)new wxToolBar();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= wxPyMake_wxObject(result
);
18289 static PyObject
*_wrap_ToolBar_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
;
18291 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18292 wxWindow
*arg2
= (wxWindow
*) 0 ;
18294 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18295 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18296 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18297 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18298 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18299 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18300 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18304 bool temp7
= False
;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18307 PyObject
* obj2
= 0 ;
18308 PyObject
* obj3
= 0 ;
18309 PyObject
* obj4
= 0 ;
18310 PyObject
* obj5
= 0 ;
18311 PyObject
* obj6
= 0 ;
18312 char *kwnames
[] = {
18313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 arg3
= (int) SWIG_AsInt(obj2
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18326 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18332 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18336 arg6
= (long) SWIG_AsLong(obj5
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18341 arg7
= wxString_in_helper(obj6
);
18342 if (arg7
== NULL
) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18375 wxToolBarToolBase
*result
;
18376 PyObject
* obj0
= 0 ;
18377 PyObject
* obj1
= 0 ;
18378 PyObject
* obj2
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "self",(char *) "x",(char *) "y", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18386 arg2
= (int) SWIG_AsInt(obj1
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18388 arg3
= (int) SWIG_AsInt(obj2
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18398 resultobj
= wxPyMake_wxObject(result
);
18406 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18407 PyObject
*resultobj
;
18408 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18409 wxVisualAttributes result
;
18410 PyObject
* obj0
= 0 ;
18411 char *kwnames
[] = {
18412 (char *) "variant", NULL
18415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18417 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 wxVisualAttributes
* resultptr
;
18429 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18438 static PyObject
* ToolBar_swigregister(PyObject
*self
, PyObject
*args
) {
18440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18441 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18443 return Py_BuildValue((char *)"");
18445 static int _wrap_ListCtrlNameStr_set(PyObject
*_val
) {
18446 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18451 static PyObject
*_wrap_ListCtrlNameStr_get() {
18456 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18458 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18465 static PyObject
*_wrap_new_ListItemAttr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxColour
const &arg1_defvalue
= wxNullColour
;
18468 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18469 wxColour
const &arg2_defvalue
= wxNullColour
;
18470 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18471 wxFont
const &arg3_defvalue
= wxNullFont
;
18472 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18473 wxListItemAttr
*result
;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 PyObject
* obj2
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18487 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18493 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18497 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18500 if (arg3
== NULL
) {
18501 PyErr_SetString(PyExc_TypeError
,"null reference");
18506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18507 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18509 wxPyEndAllowThreads(__tstate
);
18510 if (PyErr_Occurred()) SWIG_fail
;
18512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18519 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18520 PyObject
*resultobj
;
18521 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18522 wxColour
*arg2
= 0 ;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 char *kwnames
[] = {
18527 (char *) "self",(char *) "colText", NULL
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18539 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18541 wxPyEndAllowThreads(__tstate
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 Py_INCREF(Py_None
); resultobj
= Py_None
;
18551 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18552 PyObject
*resultobj
;
18553 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18554 wxColour
*arg2
= 0 ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 char *kwnames
[] = {
18559 (char *) "self",(char *) "colBack", NULL
18562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 Py_INCREF(Py_None
); resultobj
= Py_None
;
18583 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 PyObject
* obj1
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self",(char *) "font", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18599 if (arg2
== NULL
) {
18600 PyErr_SetString(PyExc_TypeError
,"null reference");
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 (arg1
)->SetFont((wxFont
const &)*arg2
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 Py_INCREF(Py_None
); resultobj
= Py_None
;
18617 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (bool)(arg1
)->HasTextColour();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18645 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18659 result
= (bool)(arg1
)->HasBackgroundColour();
18661 wxPyEndAllowThreads(__tstate
);
18662 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18673 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
;
18675 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "self", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 result
= (bool)(arg1
)->HasFont();
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18701 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (arg1
)->GetTextColour();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 wxColour
* resultptr
;
18722 resultptr
= new wxColour((wxColour
&) result
);
18723 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18731 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (arg1
)->GetBackgroundColour();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 wxColour
* resultptr
;
18752 resultptr
= new wxColour((wxColour
&) result
);
18753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
18761 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (arg1
)->GetFont();
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18781 wxFont
* resultptr
;
18782 resultptr
= new wxFont((wxFont
&) result
);
18783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
18791 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 wxListItemAttr_Destroy(arg1
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 Py_INCREF(Py_None
); resultobj
= Py_None
;
18816 static PyObject
* ListItemAttr_swigregister(PyObject
*self
, PyObject
*args
) {
18818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18819 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
18821 return Py_BuildValue((char *)"");
18823 static PyObject
*_wrap_new_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxListItem
*result
;
18826 char *kwnames
[] = {
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 result
= (wxListItem
*)new wxListItem();
18835 wxPyEndAllowThreads(__tstate
);
18836 if (PyErr_Occurred()) SWIG_fail
;
18839 resultobj
= wxPyMake_wxObject(result
);
18847 static PyObject
*_wrap_delete_ListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
;
18849 wxListItem
*arg1
= (wxListItem
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 Py_INCREF(Py_None
); resultobj
= Py_None
;
18872 static PyObject
*_wrap_ListItem_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxListItem
*arg1
= (wxListItem
*) 0 ;
18875 PyObject
* obj0
= 0 ;
18876 char *kwnames
[] = {
18877 (char *) "self", NULL
18880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
18881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 Py_INCREF(Py_None
); resultobj
= Py_None
;
18897 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18898 PyObject
*resultobj
;
18899 wxListItem
*arg1
= (wxListItem
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 (arg1
)->ClearAttributes();
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_ListItem_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxListItem
*arg1
= (wxListItem
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "mask", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 arg2
= (long) SWIG_AsLong(obj1
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18939 (arg1
)->SetMask(arg2
);
18941 wxPyEndAllowThreads(__tstate
);
18942 if (PyErr_Occurred()) SWIG_fail
;
18944 Py_INCREF(Py_None
); resultobj
= Py_None
;
18951 static PyObject
*_wrap_ListItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18952 PyObject
*resultobj
;
18953 wxListItem
*arg1
= (wxListItem
*) 0 ;
18955 PyObject
* obj0
= 0 ;
18956 PyObject
* obj1
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self",(char *) "id", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 arg2
= (long) SWIG_AsLong(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18968 (arg1
)->SetId(arg2
);
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18973 Py_INCREF(Py_None
); resultobj
= Py_None
;
18980 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxListItem
*arg1
= (wxListItem
*) 0 ;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "col", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
18992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18993 arg2
= (int) SWIG_AsInt(obj1
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 (arg1
)->SetColumn(arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 Py_INCREF(Py_None
); resultobj
= Py_None
;
19009 static PyObject
*_wrap_ListItem_SetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxListItem
*arg1
= (wxListItem
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 PyObject
* obj1
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self",(char *) "state", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 arg2
= (long) SWIG_AsLong(obj1
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 (arg1
)->SetState(arg2
);
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 Py_INCREF(Py_None
); resultobj
= Py_None
;
19038 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxListItem
*arg1
= (wxListItem
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self",(char *) "stateMask", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19051 arg2
= (long) SWIG_AsLong(obj1
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 (arg1
)->SetStateMask(arg2
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 Py_INCREF(Py_None
); resultobj
= Py_None
;
19067 static PyObject
*_wrap_ListItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19068 PyObject
*resultobj
;
19069 wxListItem
*arg1
= (wxListItem
*) 0 ;
19070 wxString
*arg2
= 0 ;
19071 bool temp2
= False
;
19072 PyObject
* obj0
= 0 ;
19073 PyObject
* obj1
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self",(char *) "text", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 arg2
= wxString_in_helper(obj1
);
19083 if (arg2
== NULL
) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->SetText((wxString
const &)*arg2
);
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19093 Py_INCREF(Py_None
); resultobj
= Py_None
;
19108 static PyObject
*_wrap_ListItem_SetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItem
*arg1
= (wxListItem
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "image", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 arg2
= (int) SWIG_AsInt(obj1
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 (arg1
)->SetImage(arg2
);
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19130 Py_INCREF(Py_None
); resultobj
= Py_None
;
19137 static PyObject
*_wrap_ListItem_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxListItem
*arg1
= (wxListItem
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 PyObject
* obj1
= 0 ;
19143 char *kwnames
[] = {
19144 (char *) "self",(char *) "data", NULL
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19150 arg2
= (long) SWIG_AsLong(obj1
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 (arg1
)->SetData(arg2
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 Py_INCREF(Py_None
); resultobj
= Py_None
;
19166 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxListItem
*arg1
= (wxListItem
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "width", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19179 arg2
= (int) SWIG_AsInt(obj1
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19183 (arg1
)->SetWidth(arg2
);
19185 wxPyEndAllowThreads(__tstate
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 Py_INCREF(Py_None
); resultobj
= Py_None
;
19195 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxListItem
*arg1
= (wxListItem
*) 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "align", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= (wxListColumnFormat
) SWIG_AsInt(obj1
);
19209 if (PyErr_Occurred()) SWIG_fail
;
19211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19212 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19214 wxPyEndAllowThreads(__tstate
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 Py_INCREF(Py_None
); resultobj
= Py_None
;
19224 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListItem
*arg1
= (wxListItem
*) 0 ;
19227 wxColour
*arg2
= 0 ;
19229 PyObject
* obj0
= 0 ;
19230 PyObject
* obj1
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "colText", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19246 wxPyEndAllowThreads(__tstate
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19249 Py_INCREF(Py_None
); resultobj
= Py_None
;
19256 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxListItem
*arg1
= (wxListItem
*) 0 ;
19259 wxColour
*arg2
= 0 ;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "colBack", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19288 static PyObject
*_wrap_ListItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19289 PyObject
*resultobj
;
19290 wxListItem
*arg1
= (wxListItem
*) 0 ;
19292 PyObject
* obj0
= 0 ;
19293 PyObject
* obj1
= 0 ;
19294 char *kwnames
[] = {
19295 (char *) "self",(char *) "font", NULL
19298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19304 if (arg2
== NULL
) {
19305 PyErr_SetString(PyExc_TypeError
,"null reference");
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->SetFont((wxFont
const &)*arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_ListItem_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxListItem
*arg1
= (wxListItem
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 result
= (long)(arg1
)->GetMask();
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 resultobj
= SWIG_FromLong((long)result
);
19348 static PyObject
*_wrap_ListItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxListItem
*arg1
= (wxListItem
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (long)(arg1
)->GetId();
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_FromLong((long)result
);
19374 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19375 PyObject
*resultobj
;
19376 wxListItem
*arg1
= (wxListItem
*) 0 ;
19378 PyObject
* obj0
= 0 ;
19379 char *kwnames
[] = {
19380 (char *) "self", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= (int)(arg1
)->GetColumn();
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 resultobj
= SWIG_FromInt((int)result
);
19400 static PyObject
*_wrap_ListItem_GetState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxListItem
*arg1
= (wxListItem
*) 0 ;
19404 PyObject
* obj0
= 0 ;
19405 char *kwnames
[] = {
19406 (char *) "self", NULL
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (long)(arg1
)->GetState();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= SWIG_FromLong((long)result
);
19426 static PyObject
*_wrap_ListItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxListItem
*arg1
= (wxListItem
*) 0 ;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 wxString
const &_result_ref
= (arg1
)->GetText();
19442 result
= (wxString
*) &_result_ref
;
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19461 static PyObject
*_wrap_ListItem_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxListItem
*arg1
= (wxListItem
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (int)(arg1
)->GetImage();
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_FromInt((int)result
);
19487 static PyObject
*_wrap_ListItem_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxListItem
*arg1
= (wxListItem
*) 0 ;
19491 PyObject
* obj0
= 0 ;
19492 char *kwnames
[] = {
19493 (char *) "self", NULL
19496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 result
= (long)(arg1
)->GetData();
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= SWIG_FromLong((long)result
);
19513 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxListItem
*arg1
= (wxListItem
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (int)(arg1
)->GetWidth();
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_FromInt((int)result
);
19539 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19540 PyObject
*resultobj
;
19541 wxListItem
*arg1
= (wxListItem
*) 0 ;
19543 PyObject
* obj0
= 0 ;
19544 char *kwnames
[] = {
19545 (char *) "self", NULL
19548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 result
= (int)(arg1
)->GetAlign();
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_FromInt((int)result
);
19565 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListItem
*arg1
= (wxListItem
*) 0 ;
19568 wxListItemAttr
*result
;
19569 PyObject
* obj0
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19591 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListItem
*arg1
= (wxListItem
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 char *kwnames
[] = {
19597 (char *) "self", NULL
19600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (bool)(arg1
)->HasAttributes();
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19619 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxListItem
*arg1
= (wxListItem
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19639 wxColour
* resultptr
;
19640 resultptr
= new wxColour((wxColour
&) result
);
19641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19649 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListItem
*arg1
= (wxListItem
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 wxColour
* resultptr
;
19670 resultptr
= new wxColour((wxColour
&) result
);
19671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19679 static PyObject
*_wrap_ListItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxListItem
*arg1
= (wxListItem
*) 0 ;
19683 PyObject
* obj0
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 result
= ((wxListItem
const *)arg1
)->GetFont();
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19699 wxFont
* resultptr
;
19700 resultptr
= new wxFont((wxFont
&) result
);
19701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19709 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxListItem
*arg1
= (wxListItem
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 PyObject
* obj1
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self",(char *) "m_mask", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 arg2
= (long) SWIG_AsLong(obj1
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19724 if (arg1
) (arg1
)->m_mask
= arg2
;
19726 Py_INCREF(Py_None
); resultobj
= Py_None
;
19733 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
;
19735 wxListItem
*arg1
= (wxListItem
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 char *kwnames
[] = {
19739 (char *) "self", NULL
19742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
19743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19745 result
= (long) ((arg1
)->m_mask
);
19747 resultobj
= SWIG_FromLong((long)result
);
19754 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
;
19756 wxListItem
*arg1
= (wxListItem
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char *kwnames
[] = {
19761 (char *) "self",(char *) "m_itemId", NULL
19764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19767 arg2
= (long) SWIG_AsLong(obj1
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19769 if (arg1
) (arg1
)->m_itemId
= arg2
;
19771 Py_INCREF(Py_None
); resultobj
= Py_None
;
19778 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
;
19780 wxListItem
*arg1
= (wxListItem
*) 0 ;
19782 PyObject
* obj0
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 result
= (long) ((arg1
)->m_itemId
);
19792 resultobj
= SWIG_FromLong((long)result
);
19799 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxListItem
*arg1
= (wxListItem
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "m_col", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 arg2
= (int) SWIG_AsInt(obj1
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19814 if (arg1
) (arg1
)->m_col
= arg2
;
19816 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxListItem
*arg1
= (wxListItem
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 char *kwnames
[] = {
19829 (char *) "self", NULL
19832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
19833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19835 result
= (int) ((arg1
)->m_col
);
19837 resultobj
= SWIG_FromInt((int)result
);
19844 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19845 PyObject
*resultobj
;
19846 wxListItem
*arg1
= (wxListItem
*) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 char *kwnames
[] = {
19851 (char *) "self",(char *) "m_state", NULL
19854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 arg2
= (long) SWIG_AsLong(obj1
);
19858 if (PyErr_Occurred()) SWIG_fail
;
19859 if (arg1
) (arg1
)->m_state
= arg2
;
19861 Py_INCREF(Py_None
); resultobj
= Py_None
;
19868 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19869 PyObject
*resultobj
;
19870 wxListItem
*arg1
= (wxListItem
*) 0 ;
19872 PyObject
* obj0
= 0 ;
19873 char *kwnames
[] = {
19874 (char *) "self", NULL
19877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
19878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 result
= (long) ((arg1
)->m_state
);
19882 resultobj
= SWIG_FromLong((long)result
);
19889 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxListItem
*arg1
= (wxListItem
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char *kwnames
[] = {
19896 (char *) "self",(char *) "m_stateMask", NULL
19899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 arg2
= (long) SWIG_AsLong(obj1
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19904 if (arg1
) (arg1
)->m_stateMask
= arg2
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxListItem
*arg1
= (wxListItem
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19925 result
= (long) ((arg1
)->m_stateMask
);
19927 resultobj
= SWIG_FromLong((long)result
);
19934 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxListItem
*arg1
= (wxListItem
*) 0 ;
19937 wxString
*arg2
= (wxString
*) 0 ;
19938 bool temp2
= False
;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "m_text", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19949 arg2
= wxString_in_helper(obj1
);
19950 if (arg2
== NULL
) SWIG_fail
;
19953 if (arg1
) (arg1
)->m_text
= *arg2
;
19955 Py_INCREF(Py_None
); resultobj
= Py_None
;
19970 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxListItem
*arg1
= (wxListItem
*) 0 ;
19974 PyObject
* obj0
= 0 ;
19975 char *kwnames
[] = {
19976 (char *) "self", NULL
19979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
19980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19982 result
= (wxString
*)& ((arg1
)->m_text
);
19986 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19988 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19997 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
;
19999 wxListItem
*arg1
= (wxListItem
*) 0 ;
20001 PyObject
* obj0
= 0 ;
20002 PyObject
* obj1
= 0 ;
20003 char *kwnames
[] = {
20004 (char *) "self",(char *) "m_image", NULL
20007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20010 arg2
= (int) SWIG_AsInt(obj1
);
20011 if (PyErr_Occurred()) SWIG_fail
;
20012 if (arg1
) (arg1
)->m_image
= arg2
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxListItem
*arg1
= (wxListItem
*) 0 ;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 result
= (int) ((arg1
)->m_image
);
20035 resultobj
= SWIG_FromInt((int)result
);
20042 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxListItem
*arg1
= (wxListItem
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self",(char *) "m_data", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 arg2
= (long) SWIG_AsLong(obj1
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20057 if (arg1
) (arg1
)->m_data
= arg2
;
20059 Py_INCREF(Py_None
); resultobj
= Py_None
;
20066 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxListItem
*arg1
= (wxListItem
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 result
= (long) ((arg1
)->m_data
);
20080 resultobj
= SWIG_FromLong((long)result
);
20087 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20088 PyObject
*resultobj
;
20089 wxListItem
*arg1
= (wxListItem
*) 0 ;
20091 PyObject
* obj0
= 0 ;
20092 PyObject
* obj1
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self",(char *) "m_format", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20100 arg2
= (int) SWIG_AsInt(obj1
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20102 if (arg1
) (arg1
)->m_format
= arg2
;
20104 Py_INCREF(Py_None
); resultobj
= Py_None
;
20111 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxListItem
*arg1
= (wxListItem
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20123 result
= (int) ((arg1
)->m_format
);
20125 resultobj
= SWIG_FromInt((int)result
);
20132 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxListItem
*arg1
= (wxListItem
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 PyObject
* obj1
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "self",(char *) "m_width", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20145 arg2
= (int) SWIG_AsInt(obj1
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20147 if (arg1
) (arg1
)->m_width
= arg2
;
20149 Py_INCREF(Py_None
); resultobj
= Py_None
;
20156 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
;
20158 wxListItem
*arg1
= (wxListItem
*) 0 ;
20160 PyObject
* obj0
= 0 ;
20161 char *kwnames
[] = {
20162 (char *) "self", NULL
20165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 result
= (int) ((arg1
)->m_width
);
20170 resultobj
= SWIG_FromInt((int)result
);
20177 static PyObject
* ListItem_swigregister(PyObject
*self
, PyObject
*args
) {
20179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20180 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20182 return Py_BuildValue((char *)"");
20184 static PyObject
*_wrap_new_ListEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20187 int arg2
= (int) 0 ;
20188 wxListEvent
*result
;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "commandType",(char *) "id", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20197 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20201 arg2
= (int) SWIG_AsInt(obj1
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20218 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 PyObject
* obj1
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "m_code", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 arg2
= (int) SWIG_AsInt(obj1
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20233 if (arg1
) (arg1
)->m_code
= arg2
;
20235 Py_INCREF(Py_None
); resultobj
= Py_None
;
20242 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20243 PyObject
*resultobj
;
20244 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20246 PyObject
* obj0
= 0 ;
20247 char *kwnames
[] = {
20248 (char *) "self", NULL
20251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20254 result
= (int) ((arg1
)->m_code
);
20256 resultobj
= SWIG_FromInt((int)result
);
20263 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 PyObject
* obj1
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self",(char *) "m_oldItemIndex", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 arg2
= (long) SWIG_AsLong(obj1
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20278 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20280 Py_INCREF(Py_None
); resultobj
= Py_None
;
20287 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20299 result
= (long) ((arg1
)->m_oldItemIndex
);
20301 resultobj
= SWIG_FromLong((long)result
);
20308 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 PyObject
* obj1
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self",(char *) "m_itemIndex", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 arg2
= (long) SWIG_AsLong(obj1
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20323 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20325 Py_INCREF(Py_None
); resultobj
= Py_None
;
20332 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 result
= (long) ((arg1
)->m_itemIndex
);
20346 resultobj
= SWIG_FromLong((long)result
);
20353 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20354 PyObject
*resultobj
;
20355 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20357 PyObject
* obj0
= 0 ;
20358 PyObject
* obj1
= 0 ;
20359 char *kwnames
[] = {
20360 (char *) "self",(char *) "m_col", NULL
20363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20366 arg2
= (int) SWIG_AsInt(obj1
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20368 if (arg1
) (arg1
)->m_col
= arg2
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20389 result
= (int) ((arg1
)->m_col
);
20391 resultobj
= SWIG_FromInt((int)result
);
20398 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20401 wxPoint
*arg2
= (wxPoint
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "m_pointDrag", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20434 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20443 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20446 wxListItem
*result
;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 result
= (wxListItem
*)& ((arg1
)->m_item
);
20458 resultobj
= wxPyMake_wxObject(result
);
20466 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (int)(arg1
)->GetKeyCode();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_FromInt((int)result
);
20492 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20496 PyObject
* obj0
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= (long)(arg1
)->GetIndex();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= SWIG_FromLong((long)result
);
20518 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20519 PyObject
*resultobj
;
20520 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20522 PyObject
* obj0
= 0 ;
20523 char *kwnames
[] = {
20524 (char *) "self", NULL
20527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (int)(arg1
)->GetColumn();
20534 wxPyEndAllowThreads(__tstate
);
20535 if (PyErr_Occurred()) SWIG_fail
;
20537 resultobj
= SWIG_FromInt((int)result
);
20544 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20545 PyObject
*resultobj
;
20546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (arg1
)->GetPoint();
20560 wxPyEndAllowThreads(__tstate
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20564 wxPoint
* resultptr
;
20565 resultptr
= new wxPoint((wxPoint
&) result
);
20566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20574 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20589 wxString
const &_result_ref
= (arg1
)->GetLabel();
20590 result
= (wxString
*) &_result_ref
;
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20600 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20609 static PyObject
*_wrap_ListEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 wxString
const &_result_ref
= (arg1
)->GetText();
20625 result
= (wxString
*) &_result_ref
;
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20644 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (int)(arg1
)->GetImage();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_FromInt((int)result
);
20670 static PyObject
*_wrap_ListEvent_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (long)(arg1
)->GetData();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= SWIG_FromLong((long)result
);
20696 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20700 PyObject
* obj0
= 0 ;
20701 char *kwnames
[] = {
20702 (char *) "self", NULL
20705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
20706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (long)(arg1
)->GetMask();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_FromLong((long)result
);
20722 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20725 wxListItem
*result
;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 wxListItem
const &_result_ref
= (arg1
)->GetItem();
20738 result
= (wxListItem
*) &_result_ref
;
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
20751 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20765 result
= (long)(arg1
)->GetCacheFrom();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20770 resultobj
= SWIG_FromLong((long)result
);
20777 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20778 PyObject
*resultobj
;
20779 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 char *kwnames
[] = {
20783 (char *) "self", NULL
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
20787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (long)(arg1
)->GetCacheTo();
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20796 resultobj
= SWIG_FromLong((long)result
);
20803 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20804 PyObject
*resultobj
;
20805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20807 PyObject
* obj0
= 0 ;
20808 char *kwnames
[] = {
20809 (char *) "self", NULL
20812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
20813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
20819 wxPyEndAllowThreads(__tstate
);
20820 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20831 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 PyObject
* obj1
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self",(char *) "editCancelled", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 arg2
= (bool) SWIG_AsBool(obj1
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 (arg1
)->SetEditCanceled(arg2
);
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 Py_INCREF(Py_None
); resultobj
= Py_None
;
20860 static PyObject
* ListEvent_swigregister(PyObject
*self
, PyObject
*args
) {
20862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20863 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
20865 return Py_BuildValue((char *)"");
20867 static PyObject
*_wrap_new_ListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20868 PyObject
*resultobj
;
20869 wxWindow
*arg1
= (wxWindow
*) 0 ;
20870 int arg2
= (int) -1 ;
20871 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20872 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20873 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20874 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20875 long arg5
= (long) wxLC_ICON
;
20876 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
20877 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
20878 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
20879 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20880 wxPyListCtrl
*result
;
20883 bool temp7
= False
;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 PyObject
* obj3
= 0 ;
20888 PyObject
* obj4
= 0 ;
20889 PyObject
* obj5
= 0 ;
20890 PyObject
* obj6
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20899 arg2
= (int) SWIG_AsInt(obj1
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20905 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20911 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20915 arg5
= (long) SWIG_AsLong(obj4
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20919 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20922 if (arg6
== NULL
) {
20923 PyErr_SetString(PyExc_TypeError
,"null reference");
20929 arg7
= wxString_in_helper(obj6
);
20930 if (arg7
== NULL
) SWIG_fail
;
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20956 static PyObject
*_wrap_new_PreListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxPyListCtrl
*result
;
20959 char *kwnames
[] = {
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (wxPyListCtrl
*)new wxPyListCtrl();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
20978 static PyObject
*_wrap_ListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
20981 wxWindow
*arg2
= (wxWindow
*) 0 ;
20982 int arg3
= (int) -1 ;
20983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20987 long arg6
= (long) wxLC_ICON
;
20988 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
20989 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
20990 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
20991 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20995 bool temp8
= False
;
20996 PyObject
* obj0
= 0 ;
20997 PyObject
* obj1
= 0 ;
20998 PyObject
* obj2
= 0 ;
20999 PyObject
* obj3
= 0 ;
21000 PyObject
* obj4
= 0 ;
21001 PyObject
* obj5
= 0 ;
21002 PyObject
* obj6
= 0 ;
21003 PyObject
* obj7
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21014 arg3
= (int) SWIG_AsInt(obj2
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21020 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21026 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21030 arg6
= (long) SWIG_AsLong(obj5
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21034 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21037 if (arg7
== NULL
) {
21038 PyErr_SetString(PyExc_TypeError
,"null reference");
21044 arg8
= wxString_in_helper(obj7
);
21045 if (arg8
== NULL
) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21073 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21076 PyObject
*arg2
= (PyObject
*) 0 ;
21077 PyObject
*arg3
= (PyObject
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 PyObject
* obj2
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self",(char *) "self",(char *) "_class", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 Py_INCREF(Py_None
); resultobj
= Py_None
;
21104 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21107 wxColour
*arg2
= 0 ;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self",(char *) "col", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21139 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21142 wxColour
*arg2
= 0 ;
21145 PyObject
* obj0
= 0 ;
21146 PyObject
* obj1
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self",(char *) "col", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21162 wxPyEndAllowThreads(__tstate
);
21163 if (PyErr_Occurred()) SWIG_fail
;
21166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21174 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21178 wxListItem
*result
;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "col", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21188 arg2
= (int) SWIG_AsInt(obj1
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= wxPyMake_wxObject(result
);
21206 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21210 wxListItem
*arg3
= 0 ;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 PyObject
* obj2
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "col",(char *) "item", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 arg2
= (int) SWIG_AsInt(obj1
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21224 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21227 if (arg3
== NULL
) {
21228 PyErr_SetString(PyExc_TypeError
,"null reference");
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21247 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self",(char *) "col", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21261 arg2
= (int) SWIG_AsInt(obj1
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_FromInt((int)result
);
21277 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 PyObject
* obj2
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "col",(char *) "width", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21293 arg2
= (int) SWIG_AsInt(obj1
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21295 arg3
= (int) SWIG_AsInt(obj2
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21313 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 resultobj
= SWIG_FromInt((int)result
);
21339 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 wxRect
* resultptr
;
21360 resultptr
= new wxRect((wxRect
&) result
);
21361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21369 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21373 int arg3
= (int) 0 ;
21374 wxListItem
*result
;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self",(char *) "itemId",(char *) "col", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21385 arg2
= (long) SWIG_AsLong(obj1
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 arg3
= (int) SWIG_AsInt(obj2
);
21389 if (PyErr_Occurred()) SWIG_fail
;
21392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21393 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21395 wxPyEndAllowThreads(__tstate
);
21396 if (PyErr_Occurred()) SWIG_fail
;
21399 resultobj
= wxPyMake_wxObject(result
);
21407 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21410 wxListItem
*arg2
= 0 ;
21412 PyObject
* obj0
= 0 ;
21413 PyObject
* obj1
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self",(char *) "info", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21424 if (arg2
== NULL
) {
21425 PyErr_SetString(PyExc_TypeError
,"null reference");
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)(arg1
)->SetItem(*arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21444 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21449 wxString
*arg4
= 0 ;
21450 int arg5
= (int) -1 ;
21452 bool temp4
= False
;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 PyObject
* obj2
= 0 ;
21456 PyObject
* obj3
= 0 ;
21457 PyObject
* obj4
= 0 ;
21458 char *kwnames
[] = {
21459 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 arg2
= (long) SWIG_AsLong(obj1
);
21466 if (PyErr_Occurred()) SWIG_fail
;
21467 arg3
= (int) SWIG_AsInt(obj2
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 arg4
= wxString_in_helper(obj3
);
21471 if (arg4
== NULL
) SWIG_fail
;
21475 arg5
= (int) SWIG_AsInt(obj4
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21480 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21482 wxPyEndAllowThreads(__tstate
);
21483 if (PyErr_Occurred()) SWIG_fail
;
21485 resultobj
= SWIG_FromLong((long)result
);
21500 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 char *kwnames
[] = {
21510 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21516 arg2
= (long) SWIG_AsLong(obj1
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21518 arg3
= (long) SWIG_AsLong(obj2
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_FromInt((int)result
);
21534 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
;
21536 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 PyObject
* obj2
= 0 ;
21544 PyObject
* obj3
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 arg2
= (long) SWIG_AsLong(obj1
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21554 arg3
= (long) SWIG_AsLong(obj2
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21556 arg4
= (long) SWIG_AsLong(obj3
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21574 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21576 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 arg2
= (long) SWIG_AsLong(obj1
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21594 arg3
= (int) SWIG_AsInt(obj2
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21596 arg4
= (int) SWIG_AsInt(obj3
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21614 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21619 PyObject
* obj0
= 0 ;
21620 PyObject
* obj1
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "item", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 arg2
= (long) SWIG_AsLong(obj1
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21634 wxPyEndAllowThreads(__tstate
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21650 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21654 wxString
*arg3
= 0 ;
21655 bool temp3
= False
;
21656 PyObject
* obj0
= 0 ;
21657 PyObject
* obj1
= 0 ;
21658 PyObject
* obj2
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self",(char *) "item",(char *) "str", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21666 arg2
= (long) SWIG_AsLong(obj1
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 arg3
= wxString_in_helper(obj2
);
21670 if (arg3
== NULL
) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char *kwnames
[] = {
21703 (char *) "self",(char *) "item", NULL
21706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
21707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 arg2
= (long) SWIG_AsLong(obj1
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_FromLong((long)result
);
21725 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21726 PyObject
*resultobj
;
21727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 PyObject
* obj2
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "item",(char *) "data", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 arg2
= (long) SWIG_AsLong(obj1
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21743 arg3
= (long) SWIG_AsLong(obj2
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21747 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
21749 wxPyEndAllowThreads(__tstate
);
21750 if (PyErr_Occurred()) SWIG_fail
;
21753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21761 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "item", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 arg2
= (long) SWIG_AsLong(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 wxPoint
* resultptr
;
21786 resultptr
= new wxPoint((wxPoint
&) result
);
21787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21795 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21799 int arg3
= (int) wxLIST_RECT_BOUNDS
;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 PyObject
* obj2
= 0 ;
21804 char *kwnames
[] = {
21805 (char *) "self",(char *) "item",(char *) "code", NULL
21808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21811 arg2
= (long) SWIG_AsLong(obj1
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 arg3
= (int) SWIG_AsInt(obj2
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21819 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21825 wxRect
* resultptr
;
21826 resultptr
= new wxRect((wxRect
&) result
);
21827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21835 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21839 wxPoint
*arg3
= 0 ;
21842 PyObject
* obj0
= 0 ;
21843 PyObject
* obj1
= 0 ;
21844 PyObject
* obj2
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "item",(char *) "pos", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 arg2
= (long) SWIG_AsLong(obj1
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21856 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21874 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= SWIG_FromInt((int)result
);
21900 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_FromInt((int)result
);
21926 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "self", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
21936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 wxSize
* resultptr
;
21947 resultptr
= new wxSize((wxSize
&) result
);
21948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21956 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21957 PyObject
*resultobj
;
21958 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21960 bool arg3
= (bool) False
;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 PyObject
* obj2
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 arg2
= (int) SWIG_AsInt(obj1
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 arg3
= (bool) SWIG_AsBool(obj2
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21979 (arg1
)->SetItemSpacing(arg2
,arg3
);
21981 wxPyEndAllowThreads(__tstate
);
21982 if (PyErr_Occurred()) SWIG_fail
;
21984 Py_INCREF(Py_None
); resultobj
= Py_None
;
21991 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 resultobj
= SWIG_FromInt((int)result
);
22017 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22021 PyObject
* obj0
= 0 ;
22022 char *kwnames
[] = {
22023 (char *) "self", NULL
22026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22037 wxColour
* resultptr
;
22038 resultptr
= new wxColour((wxColour
&) result
);
22039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22047 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22048 PyObject
*resultobj
;
22049 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22050 wxColour
*arg2
= 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "col", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_FromLong((long)result
);
22105 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 bool arg3
= (bool) True
;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "style",(char *) "add", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg2
= (long) SWIG_AsLong(obj1
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 arg3
= (bool) SWIG_AsBool(obj2
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetSingleStyle(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "style", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 arg2
= (long) SWIG_AsLong(obj1
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->SetWindowStyleFlag(arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22173 int arg3
= (int) wxLIST_NEXT_ALL
;
22174 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 PyObject
* obj2
= 0 ;
22179 PyObject
* obj3
= 0 ;
22180 char *kwnames
[] = {
22181 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 arg2
= (long) SWIG_AsLong(obj1
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 arg3
= (int) SWIG_AsInt(obj2
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 arg4
= (int) SWIG_AsInt(obj3
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22204 resultobj
= SWIG_FromLong((long)result
);
22211 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22212 PyObject
*resultobj
;
22213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22215 wxImageList
*result
;
22216 PyObject
* obj0
= 0 ;
22217 PyObject
* obj1
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self",(char *) "which", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22225 arg2
= (int) SWIG_AsInt(obj1
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22235 resultobj
= wxPyMake_wxObject(result
);
22243 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22246 wxImageList
*arg2
= (wxImageList
*) 0 ;
22248 PyObject
* obj0
= 0 ;
22249 PyObject
* obj1
= 0 ;
22250 PyObject
* obj2
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self",(char *) "imageList",(char *) "which", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22258 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 arg3
= (int) SWIG_AsInt(obj2
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22264 (arg1
)->SetImageList(arg2
,arg3
);
22266 wxPyEndAllowThreads(__tstate
);
22267 if (PyErr_Occurred()) SWIG_fail
;
22269 Py_INCREF(Py_None
); resultobj
= Py_None
;
22276 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22279 wxImageList
*arg2
= (wxImageList
*) 0 ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 char *kwnames
[] = {
22285 (char *) "self",(char *) "imageList",(char *) "which", NULL
22288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22292 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22293 arg3
= (int) SWIG_AsInt(obj2
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 (arg1
)->AssignImageList(arg2
,arg3
);
22299 wxPyEndAllowThreads(__tstate
);
22300 if (PyErr_Occurred()) SWIG_fail
;
22302 Py_INCREF(Py_None
); resultobj
= Py_None
;
22309 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22337 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22341 PyObject
* obj0
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22365 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22366 PyObject
*resultobj
;
22367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self",(char *) "item", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 arg2
= (long) SWIG_AsLong(obj1
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->RefreshItem(arg2
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22399 PyObject
* obj0
= 0 ;
22400 PyObject
* obj1
= 0 ;
22401 PyObject
* obj2
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 arg2
= (long) SWIG_AsLong(obj1
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22411 arg3
= (long) SWIG_AsLong(obj2
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 (arg1
)->RefreshItems(arg2
,arg3
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 Py_INCREF(Py_None
); resultobj
= Py_None
;
22427 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
;
22429 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22430 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22432 PyObject
* obj0
= 0 ;
22433 PyObject
* obj1
= 0 ;
22434 char *kwnames
[] = {
22435 (char *) "self",(char *) "flag", NULL
22438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22442 arg2
= (int) SWIG_AsInt(obj1
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 result
= (bool)(arg1
)->Arrange(arg2
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22461 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "item", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22475 arg2
= (long) SWIG_AsLong(obj1
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= (bool)(arg1
)->DeleteItem(arg2
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22493 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= (bool)(arg1
)->DeleteAllItems();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22521 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22526 PyObject
* obj0
= 0 ;
22527 PyObject
* obj1
= 0 ;
22528 char *kwnames
[] = {
22529 (char *) "self",(char *) "col", NULL
22532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22535 arg2
= (int) SWIG_AsInt(obj1
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22553 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (bool)(arg1
)->DeleteAllColumns();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22581 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 (arg1
)->ClearAll();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 Py_INCREF(Py_None
); resultobj
= Py_None
;
22606 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 PyObject
* obj1
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self",(char *) "item", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 arg2
= (long) SWIG_AsLong(obj1
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->EditLabel(arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "item", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22649 arg2
= (long) SWIG_AsLong(obj1
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22667 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22671 wxString
*arg3
= 0 ;
22672 bool arg4
= (bool) False
;
22674 bool temp3
= False
;
22675 PyObject
* obj0
= 0 ;
22676 PyObject
* obj1
= 0 ;
22677 PyObject
* obj2
= 0 ;
22678 PyObject
* obj3
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22686 arg2
= (long) SWIG_AsLong(obj1
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 arg3
= wxString_in_helper(obj2
);
22690 if (arg3
== NULL
) SWIG_fail
;
22694 arg4
= (bool) SWIG_AsBool(obj3
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_FromLong((long)result
);
22719 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22725 PyObject
* obj0
= 0 ;
22726 PyObject
* obj1
= 0 ;
22727 PyObject
* obj2
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "start",(char *) "data", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22735 arg2
= (long) SWIG_AsLong(obj1
);
22736 if (PyErr_Occurred()) SWIG_fail
;
22737 arg3
= (long) SWIG_AsLong(obj2
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_FromLong((long)result
);
22753 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22757 wxPoint
*arg3
= 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 PyObject
* obj2
= 0 ;
22764 PyObject
* obj3
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22772 arg2
= (long) SWIG_AsLong(obj1
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22778 arg4
= (int) SWIG_AsInt(obj3
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_FromLong((long)result
);
22794 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22797 wxPoint
*arg2
= 0 ;
22802 PyObject
* obj0
= 0 ;
22803 PyObject
* obj1
= 0 ;
22804 char *kwnames
[] = {
22805 (char *) "self",(char *) "point", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22814 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 resultobj
= SWIG_FromLong((long)result
);
22825 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22826 resultobj
= t_output_helper(resultobj
,o
);
22834 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22837 wxListItem
*arg2
= 0 ;
22839 PyObject
* obj0
= 0 ;
22840 PyObject
* obj1
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self",(char *) "info", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22851 if (arg2
== NULL
) {
22852 PyErr_SetString(PyExc_TypeError
,"null reference");
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (long)(arg1
)->InsertItem(*arg2
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= SWIG_FromLong((long)result
);
22869 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22873 wxString
*arg3
= 0 ;
22875 bool temp3
= False
;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 PyObject
* obj2
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self",(char *) "index",(char *) "label", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 arg2
= (long) SWIG_AsLong(obj1
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 arg3
= wxString_in_helper(obj2
);
22890 if (arg3
== NULL
) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_FromLong((long)result
);
22915 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 PyObject
* obj1
= 0 ;
22923 PyObject
* obj2
= 0 ;
22924 char *kwnames
[] = {
22925 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22931 arg2
= (long) SWIG_AsLong(obj1
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22933 arg3
= (int) SWIG_AsInt(obj2
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= SWIG_FromLong((long)result
);
22949 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22953 wxString
*arg3
= 0 ;
22956 bool temp3
= False
;
22957 PyObject
* obj0
= 0 ;
22958 PyObject
* obj1
= 0 ;
22959 PyObject
* obj2
= 0 ;
22960 PyObject
* obj3
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 arg2
= (long) SWIG_AsLong(obj1
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 arg3
= wxString_in_helper(obj2
);
22972 if (arg3
== NULL
) SWIG_fail
;
22975 arg4
= (int) SWIG_AsInt(obj3
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= SWIG_FromLong((long)result
);
22999 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
;
23001 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23003 wxListItem
*arg3
= 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 PyObject
* obj2
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "col",(char *) "info", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 arg2
= (long) SWIG_AsLong(obj1
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23017 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23020 if (arg3
== NULL
) {
23021 PyErr_SetString(PyExc_TypeError
,"null reference");
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= SWIG_FromLong((long)result
);
23038 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23042 wxString
*arg3
= 0 ;
23043 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23044 int arg5
= (int) -1 ;
23046 bool temp3
= False
;
23047 PyObject
* obj0
= 0 ;
23048 PyObject
* obj1
= 0 ;
23049 PyObject
* obj2
= 0 ;
23050 PyObject
* obj3
= 0 ;
23051 PyObject
* obj4
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 arg2
= (long) SWIG_AsLong(obj1
);
23060 if (PyErr_Occurred()) SWIG_fail
;
23062 arg3
= wxString_in_helper(obj2
);
23063 if (arg3
== NULL
) SWIG_fail
;
23067 arg4
= (int) SWIG_AsInt(obj3
);
23068 if (PyErr_Occurred()) SWIG_fail
;
23071 arg5
= (int) SWIG_AsInt(obj4
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 resultobj
= SWIG_FromLong((long)result
);
23096 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self",(char *) "count", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 arg2
= (long) SWIG_AsLong(obj1
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 (arg1
)->SetItemCount(arg2
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 Py_INCREF(Py_None
); resultobj
= Py_None
;
23125 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
;
23127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 PyObject
* obj2
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "dx",(char *) "dy", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 arg2
= (int) SWIG_AsInt(obj1
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23143 arg3
= (int) SWIG_AsInt(obj2
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23161 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23165 wxColour
*arg3
= 0 ;
23167 PyObject
* obj0
= 0 ;
23168 PyObject
* obj1
= 0 ;
23169 PyObject
* obj2
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "item",(char *) "col", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 arg2
= (long) SWIG_AsLong(obj1
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23181 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 Py_INCREF(Py_None
); resultobj
= Py_None
;
23197 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23202 PyObject
* obj0
= 0 ;
23203 PyObject
* obj1
= 0 ;
23204 char *kwnames
[] = {
23205 (char *) "self",(char *) "item", NULL
23208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 arg2
= (long) SWIG_AsLong(obj1
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23221 wxColour
* resultptr
;
23222 resultptr
= new wxColour((wxColour
&) result
);
23223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23231 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23232 PyObject
*resultobj
;
23233 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23235 wxColour
*arg3
= 0 ;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 PyObject
* obj2
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self",(char *) "item",(char *) "col", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23247 arg2
= (long) SWIG_AsLong(obj1
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23251 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 Py_INCREF(Py_None
); resultobj
= Py_None
;
23267 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23268 PyObject
*resultobj
;
23269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 PyObject
* obj1
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self",(char *) "item", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 arg2
= (long) SWIG_AsLong(obj1
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23285 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 wxColour
* resultptr
;
23292 resultptr
= new wxColour((wxColour
&) result
);
23293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23301 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23304 PyObject
*arg2
= (PyObject
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "func", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23332 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23336 PyObject
* obj0
= 0 ;
23337 char *kwnames
[] = {
23338 (char *) "self", NULL
23341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= wxPyMake_wxObject(result
);
23360 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23361 PyObject
*resultobj
;
23362 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23363 wxVisualAttributes result
;
23364 PyObject
* obj0
= 0 ;
23365 char *kwnames
[] = {
23366 (char *) "variant", NULL
23369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23371 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23378 wxPyEndAllowThreads(__tstate
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23382 wxVisualAttributes
* resultptr
;
23383 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23392 static PyObject
* ListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
23394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23395 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23397 return Py_BuildValue((char *)"");
23399 static PyObject
*_wrap_new_ListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23400 PyObject
*resultobj
;
23401 wxWindow
*arg1
= (wxWindow
*) 0 ;
23402 int arg2
= (int) -1 ;
23403 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23404 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23405 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23406 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23407 long arg5
= (long) wxLC_REPORT
;
23408 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23409 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23410 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23411 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23412 wxListView
*result
;
23415 bool temp7
= False
;
23416 PyObject
* obj0
= 0 ;
23417 PyObject
* obj1
= 0 ;
23418 PyObject
* obj2
= 0 ;
23419 PyObject
* obj3
= 0 ;
23420 PyObject
* obj4
= 0 ;
23421 PyObject
* obj5
= 0 ;
23422 PyObject
* obj6
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 arg2
= (int) SWIG_AsInt(obj1
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23437 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23443 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23447 arg5
= (long) SWIG_AsLong(obj4
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23454 if (arg6
== NULL
) {
23455 PyErr_SetString(PyExc_TypeError
,"null reference");
23461 arg7
= wxString_in_helper(obj6
);
23462 if (arg7
== NULL
) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23488 static PyObject
*_wrap_new_PreListView(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23489 PyObject
*resultobj
;
23490 wxListView
*result
;
23491 char *kwnames
[] = {
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (wxListView
*)new wxListView();
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23510 static PyObject
*_wrap_ListView_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxListView
*arg1
= (wxListView
*) 0 ;
23513 wxWindow
*arg2
= (wxWindow
*) 0 ;
23514 int arg3
= (int) -1 ;
23515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23519 long arg6
= (long) wxLC_REPORT
;
23520 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23521 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23522 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23523 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23527 bool temp8
= False
;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj2
= 0 ;
23531 PyObject
* obj3
= 0 ;
23532 PyObject
* obj4
= 0 ;
23533 PyObject
* obj5
= 0 ;
23534 PyObject
* obj6
= 0 ;
23535 PyObject
* obj7
= 0 ;
23536 char *kwnames
[] = {
23537 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23546 arg3
= (int) SWIG_AsInt(obj2
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23552 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23558 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23562 arg6
= (long) SWIG_AsLong(obj5
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23569 if (arg7
== NULL
) {
23570 PyErr_SetString(PyExc_TypeError
,"null reference");
23576 arg8
= wxString_in_helper(obj7
);
23577 if (arg8
== NULL
) SWIG_fail
;
23582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23583 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23605 static PyObject
*_wrap_ListView_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxListView
*arg1
= (wxListView
*) 0 ;
23609 bool arg3
= (bool) True
;
23610 PyObject
* obj0
= 0 ;
23611 PyObject
* obj1
= 0 ;
23612 PyObject
* obj2
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "n",(char *) "on", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 arg2
= (long) SWIG_AsLong(obj1
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 arg3
= (bool) SWIG_AsBool(obj2
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 (arg1
)->Select(arg2
,arg3
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 Py_INCREF(Py_None
); resultobj
= Py_None
;
23640 static PyObject
*_wrap_ListView_Focus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxListView
*arg1
= (wxListView
*) 0 ;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj1
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "index", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23653 arg2
= (long) SWIG_AsLong(obj1
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 (arg1
)->Focus(arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 Py_INCREF(Py_None
); resultobj
= Py_None
;
23669 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23670 PyObject
*resultobj
;
23671 wxListView
*arg1
= (wxListView
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_FromLong((long)result
);
23695 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxListView
*arg1
= (wxListView
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self",(char *) "item", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23709 arg2
= (long) SWIG_AsLong(obj1
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_FromLong((long)result
);
23725 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxListView
*arg1
= (wxListView
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23739 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= SWIG_FromLong((long)result
);
23751 static PyObject
*_wrap_ListView_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxListView
*arg1
= (wxListView
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 char *kwnames
[] = {
23759 (char *) "self",(char *) "index", NULL
23762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
23763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 arg2
= (long) SWIG_AsLong(obj1
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23769 result
= (bool)(arg1
)->IsSelected(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23783 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxListView
*arg1
= (wxListView
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 PyObject
* obj2
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self",(char *) "col",(char *) "image", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 arg2
= (int) SWIG_AsInt(obj1
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23800 arg3
= (int) SWIG_AsInt(obj2
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23804 (arg1
)->SetColumnImage(arg2
,arg3
);
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 Py_INCREF(Py_None
); resultobj
= Py_None
;
23816 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23817 PyObject
*resultobj
;
23818 wxListView
*arg1
= (wxListView
*) 0 ;
23820 PyObject
* obj0
= 0 ;
23821 PyObject
* obj1
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self",(char *) "col", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23829 arg2
= (int) SWIG_AsInt(obj1
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 (arg1
)->ClearColumnImage(arg2
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 Py_INCREF(Py_None
); resultobj
= Py_None
;
23845 static PyObject
* ListView_swigregister(PyObject
*self
, PyObject
*args
) {
23847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23848 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
23850 return Py_BuildValue((char *)"");
23852 static int _wrap_TreeCtrlNameStr_set(PyObject
*_val
) {
23853 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
23858 static PyObject
*_wrap_TreeCtrlNameStr_get() {
23863 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23865 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
23872 static PyObject
*_wrap_new_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxTreeItemId
*result
;
23875 char *kwnames
[] = {
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (wxTreeItemId
*)new wxTreeItemId();
23884 wxPyEndAllowThreads(__tstate
);
23885 if (PyErr_Occurred()) SWIG_fail
;
23887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
23894 static PyObject
*_wrap_delete_TreeItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23897 PyObject
* obj0
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23912 Py_INCREF(Py_None
); resultobj
= Py_None
;
23919 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23950 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "other", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23965 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
23967 wxPyEndAllowThreads(__tstate
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23979 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
23982 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
23984 PyObject
* obj0
= 0 ;
23985 PyObject
* obj1
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self",(char *) "other", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24011 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24014 void *arg2
= (void *) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self",(char *) "m_pItem", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24025 if (arg1
) (arg1
)->m_pItem
= arg2
;
24027 Py_INCREF(Py_None
); resultobj
= Py_None
;
24034 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 result
= (void *) ((arg1
)->m_pItem
);
24048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24055 static PyObject
* TreeItemId_swigregister(PyObject
*self
, PyObject
*args
) {
24057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24058 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24060 return Py_BuildValue((char *)"");
24062 static PyObject
*_wrap_new_TreeItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24064 PyObject
*arg1
= (PyObject
*) NULL
;
24065 wxPyTreeItemData
*result
;
24066 PyObject
* obj0
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "obj", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24077 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24089 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 char *kwnames
[] = {
24095 (char *) "self", NULL
24098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24103 result
= (PyObject
*)(arg1
)->GetData();
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= result
;
24115 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24118 PyObject
*arg2
= (PyObject
*) 0 ;
24119 PyObject
* obj0
= 0 ;
24120 PyObject
* obj1
= 0 ;
24121 char *kwnames
[] = {
24122 (char *) "self",(char *) "obj", NULL
24125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetData(arg2
);
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24143 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24146 wxTreeItemId
*result
;
24147 PyObject
* obj0
= 0 ;
24148 char *kwnames
[] = {
24149 (char *) "self", NULL
24152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24159 result
= (wxTreeItemId
*) &_result_ref
;
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24172 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24175 wxTreeItemId
*arg2
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self",(char *) "id", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24188 if (arg2
== NULL
) {
24189 PyErr_SetString(PyExc_TypeError
,"null reference");
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 wxPyTreeItemData_Destroy(arg1
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 Py_INCREF(Py_None
); resultobj
= Py_None
;
24231 static PyObject
* TreeItemData_swigregister(PyObject
*self
, PyObject
*args
) {
24233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24234 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24236 return Py_BuildValue((char *)"");
24238 static PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24241 int arg2
= (int) 0 ;
24242 wxTreeEvent
*result
;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "commandType",(char *) "id", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24251 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 arg2
= (int) SWIG_AsInt(obj1
);
24256 if (PyErr_Occurred()) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24272 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24273 PyObject
*resultobj
;
24274 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24275 wxTreeItemId result
;
24276 PyObject
* obj0
= 0 ;
24277 char *kwnames
[] = {
24278 (char *) "self", NULL
24281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24292 wxTreeItemId
* resultptr
;
24293 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24302 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
;
24304 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24305 wxTreeItemId
*arg2
= 0 ;
24306 PyObject
* obj0
= 0 ;
24307 PyObject
* obj1
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self",(char *) "item", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24318 if (arg2
== NULL
) {
24319 PyErr_SetString(PyExc_TypeError
,"null reference");
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 Py_INCREF(Py_None
); resultobj
= Py_None
;
24336 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24339 wxTreeItemId result
;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 wxTreeItemId
* resultptr
;
24357 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24366 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24369 wxTreeItemId
*arg2
= 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "item", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24382 if (arg2
== NULL
) {
24383 PyErr_SetString(PyExc_TypeError
,"null reference");
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 Py_INCREF(Py_None
); resultobj
= Py_None
;
24400 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24404 PyObject
* obj0
= 0 ;
24405 char *kwnames
[] = {
24406 (char *) "self", NULL
24409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24416 wxPyEndAllowThreads(__tstate
);
24417 if (PyErr_Occurred()) SWIG_fail
;
24420 wxPoint
* resultptr
;
24421 resultptr
= new wxPoint((wxPoint
&) result
);
24422 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24430 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24433 wxPoint
*arg2
= 0 ;
24435 PyObject
* obj0
= 0 ;
24436 PyObject
* obj1
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "pt", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24446 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24465 wxKeyEvent
*result
;
24466 PyObject
* obj0
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24477 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24478 result
= (wxKeyEvent
*) &_result_ref
;
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24491 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 char *kwnames
[] = {
24497 (char *) "self", NULL
24500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_FromInt((int)result
);
24517 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24520 wxKeyEvent
*arg2
= 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "evt", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24533 if (arg2
== NULL
) {
24534 PyErr_SetString(PyExc_TypeError
,"null reference");
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 Py_INCREF(Py_None
); resultobj
= Py_None
;
24551 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24555 PyObject
* obj0
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24567 result
= (wxString
*) &_result_ref
;
24570 wxPyEndAllowThreads(__tstate
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24577 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24586 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24589 wxString
*arg2
= 0 ;
24590 bool temp2
= False
;
24591 PyObject
* obj0
= 0 ;
24592 PyObject
* obj1
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self",(char *) "label", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24601 arg2
= wxString_in_helper(obj1
);
24602 if (arg2
== NULL
) SWIG_fail
;
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->SetLabel((wxString
const &)*arg2
);
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24612 Py_INCREF(Py_None
); resultobj
= Py_None
;
24627 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24655 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self",(char *) "editCancelled", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 arg2
= (bool) SWIG_AsBool(obj1
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24672 (arg1
)->SetEditCanceled(arg2
);
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 Py_INCREF(Py_None
); resultobj
= Py_None
;
24684 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24685 PyObject
*resultobj
;
24686 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24687 wxString
*arg2
= 0 ;
24688 bool temp2
= False
;
24689 PyObject
* obj0
= 0 ;
24690 PyObject
* obj1
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "toolTip", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 arg2
= wxString_in_helper(obj1
);
24700 if (arg2
== NULL
) SWIG_fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24710 Py_INCREF(Py_None
); resultobj
= Py_None
;
24725 static PyObject
* TreeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
24727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24728 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
24730 return Py_BuildValue((char *)"");
24732 static PyObject
*_wrap_new_TreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
;
24734 wxWindow
*arg1
= (wxWindow
*) 0 ;
24735 int arg2
= (int) -1 ;
24736 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24737 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24738 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24739 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24740 long arg5
= (long) wxTR_DEFAULT_STYLE
;
24741 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24742 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24743 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
24744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24745 wxPyTreeCtrl
*result
;
24748 bool temp7
= False
;
24749 PyObject
* obj0
= 0 ;
24750 PyObject
* obj1
= 0 ;
24751 PyObject
* obj2
= 0 ;
24752 PyObject
* obj3
= 0 ;
24753 PyObject
* obj4
= 0 ;
24754 PyObject
* obj5
= 0 ;
24755 PyObject
* obj6
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 arg2
= (int) SWIG_AsInt(obj1
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24770 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24776 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24780 arg5
= (long) SWIG_AsLong(obj4
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24784 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24787 if (arg6
== NULL
) {
24788 PyErr_SetString(PyExc_TypeError
,"null reference");
24794 arg7
= wxString_in_helper(obj6
);
24795 if (arg7
== NULL
) SWIG_fail
;
24800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24801 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24803 wxPyEndAllowThreads(__tstate
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= wxPyMake_wxObject(result
);
24823 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxPyTreeCtrl
*result
;
24826 char *kwnames
[] = {
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= wxPyMake_wxObject(result
);
24847 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24850 wxWindow
*arg2
= (wxWindow
*) 0 ;
24851 int arg3
= (int) -1 ;
24852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24856 long arg6
= (long) wxTR_DEFAULT_STYLE
;
24857 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24858 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24859 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
24860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24864 bool temp8
= False
;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 PyObject
* obj2
= 0 ;
24868 PyObject
* obj3
= 0 ;
24869 PyObject
* obj4
= 0 ;
24870 PyObject
* obj5
= 0 ;
24871 PyObject
* obj6
= 0 ;
24872 PyObject
* obj7
= 0 ;
24873 char *kwnames
[] = {
24874 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24883 arg3
= (int) SWIG_AsInt(obj2
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24889 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24895 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24899 arg6
= (long) SWIG_AsLong(obj5
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24906 if (arg7
== NULL
) {
24907 PyErr_SetString(PyExc_TypeError
,"null reference");
24913 arg8
= wxString_in_helper(obj7
);
24914 if (arg8
== NULL
) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24942 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24945 PyObject
*arg2
= (PyObject
*) 0 ;
24946 PyObject
*arg3
= (PyObject
*) 0 ;
24947 PyObject
* obj0
= 0 ;
24948 PyObject
* obj1
= 0 ;
24949 PyObject
* obj2
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self",(char *) "self",(char *) "_class", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24961 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24963 wxPyEndAllowThreads(__tstate
);
24964 if (PyErr_Occurred()) SWIG_fail
;
24966 Py_INCREF(Py_None
); resultobj
= Py_None
;
24973 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24974 PyObject
*resultobj
;
24975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
24977 PyObject
* obj0
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24999 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25002 unsigned int result
;
25003 PyObject
* obj0
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25025 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25028 unsigned int arg2
;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "self",(char *) "indent", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25038 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->SetIndent(arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25054 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25057 unsigned int result
;
25058 PyObject
* obj0
= 0 ;
25059 char *kwnames
[] = {
25060 (char *) "self", NULL
25063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25070 wxPyEndAllowThreads(__tstate
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
25080 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25083 unsigned int arg2
;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self",(char *) "spacing", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
25094 if (PyErr_Occurred()) SWIG_fail
;
25096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25097 (arg1
)->SetSpacing(arg2
);
25099 wxPyEndAllowThreads(__tstate
);
25100 if (PyErr_Occurred()) SWIG_fail
;
25102 Py_INCREF(Py_None
); resultobj
= Py_None
;
25109 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25110 PyObject
*resultobj
;
25111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25112 wxImageList
*result
;
25113 PyObject
* obj0
= 0 ;
25114 char *kwnames
[] = {
25115 (char *) "self", NULL
25118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 resultobj
= wxPyMake_wxObject(result
);
25137 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25140 wxImageList
*result
;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25157 resultobj
= wxPyMake_wxObject(result
);
25165 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25168 wxImageList
*arg2
= (wxImageList
*) 0 ;
25169 PyObject
* obj0
= 0 ;
25170 PyObject
* obj1
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self",(char *) "imageList", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 (arg1
)->SetImageList(arg2
);
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 Py_INCREF(Py_None
); resultobj
= Py_None
;
25194 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25197 wxImageList
*arg2
= (wxImageList
*) 0 ;
25198 PyObject
* obj0
= 0 ;
25199 PyObject
* obj1
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self",(char *) "imageList", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->SetStateImageList(arg2
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 Py_INCREF(Py_None
); resultobj
= Py_None
;
25223 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25226 wxImageList
*arg2
= (wxImageList
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char *kwnames
[] = {
25230 (char *) "self",(char *) "imageList", NULL
25233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25237 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25240 (arg1
)->AssignImageList(arg2
);
25242 wxPyEndAllowThreads(__tstate
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25245 Py_INCREF(Py_None
); resultobj
= Py_None
;
25252 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25255 wxImageList
*arg2
= (wxImageList
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "imageList", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25266 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25269 (arg1
)->AssignStateImageList(arg2
);
25271 wxPyEndAllowThreads(__tstate
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25274 Py_INCREF(Py_None
); resultobj
= Py_None
;
25281 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25282 PyObject
*resultobj
;
25283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25284 wxTreeItemId
*arg2
= 0 ;
25286 PyObject
* obj0
= 0 ;
25287 PyObject
* obj1
= 0 ;
25288 char *kwnames
[] = {
25289 (char *) "self",(char *) "item", NULL
25292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25298 if (arg2
== NULL
) {
25299 PyErr_SetString(PyExc_TypeError
,"null reference");
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25322 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25325 wxTreeItemId
*arg2
= 0 ;
25326 int arg3
= (int) wxTreeItemIcon_Normal
;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 PyObject
* obj2
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self",(char *) "item",(char *) "which", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25341 if (arg2
== NULL
) {
25342 PyErr_SetString(PyExc_TypeError
,"null reference");
25346 arg3
= (wxTreeItemIcon
) SWIG_AsInt(obj2
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 resultobj
= SWIG_FromInt((int)result
);
25363 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25366 wxTreeItemId
*arg2
= 0 ;
25367 wxPyTreeItemData
*result
;
25368 PyObject
* obj0
= 0 ;
25369 PyObject
* obj1
= 0 ;
25370 char *kwnames
[] = {
25371 (char *) "self",(char *) "item", NULL
25374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25380 if (arg2
== NULL
) {
25381 PyErr_SetString(PyExc_TypeError
,"null reference");
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25398 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
;
25400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25401 wxTreeItemId
*arg2
= 0 ;
25403 PyObject
* obj0
= 0 ;
25404 PyObject
* obj1
= 0 ;
25405 char *kwnames
[] = {
25406 (char *) "self",(char *) "item", NULL
25409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25415 if (arg2
== NULL
) {
25416 PyErr_SetString(PyExc_TypeError
,"null reference");
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= result
;
25433 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25436 wxTreeItemId
*arg2
= 0 ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "item", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25450 if (arg2
== NULL
) {
25451 PyErr_SetString(PyExc_TypeError
,"null reference");
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25462 wxColour
* resultptr
;
25463 resultptr
= new wxColour((wxColour
&) result
);
25464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25472 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
;
25474 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25475 wxTreeItemId
*arg2
= 0 ;
25477 PyObject
* obj0
= 0 ;
25478 PyObject
* obj1
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "self",(char *) "item", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25489 if (arg2
== NULL
) {
25490 PyErr_SetString(PyExc_TypeError
,"null reference");
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25501 wxColour
* resultptr
;
25502 resultptr
= new wxColour((wxColour
&) result
);
25503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25511 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25514 wxTreeItemId
*arg2
= 0 ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "item", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25528 if (arg2
== NULL
) {
25529 PyErr_SetString(PyExc_TypeError
,"null reference");
25533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25540 wxFont
* resultptr
;
25541 resultptr
= new wxFont((wxFont
&) result
);
25542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25550 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25551 PyObject
*resultobj
;
25552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25553 wxTreeItemId
*arg2
= 0 ;
25554 wxString
*arg3
= 0 ;
25555 bool temp3
= False
;
25556 PyObject
* obj0
= 0 ;
25557 PyObject
* obj1
= 0 ;
25558 PyObject
* obj2
= 0 ;
25559 char *kwnames
[] = {
25560 (char *) "self",(char *) "item",(char *) "text", NULL
25563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25569 if (arg2
== NULL
) {
25570 PyErr_SetString(PyExc_TypeError
,"null reference");
25574 arg3
= wxString_in_helper(obj2
);
25575 if (arg3
== NULL
) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 Py_INCREF(Py_None
); resultobj
= Py_None
;
25600 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
;
25602 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25603 wxTreeItemId
*arg2
= 0 ;
25605 int arg4
= (int) wxTreeItemIcon_Normal
;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 PyObject
* obj2
= 0 ;
25609 PyObject
* obj3
= 0 ;
25610 char *kwnames
[] = {
25611 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25620 if (arg2
== NULL
) {
25621 PyErr_SetString(PyExc_TypeError
,"null reference");
25624 arg3
= (int) SWIG_AsInt(obj2
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 arg4
= (wxTreeItemIcon
) SWIG_AsInt(obj3
);
25628 if (PyErr_Occurred()) SWIG_fail
;
25631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25632 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 Py_INCREF(Py_None
); resultobj
= Py_None
;
25644 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25645 PyObject
*resultobj
;
25646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25647 wxTreeItemId
*arg2
= 0 ;
25648 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 PyObject
* obj2
= 0 ;
25652 char *kwnames
[] = {
25653 (char *) "self",(char *) "item",(char *) "data", NULL
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25660 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25662 if (arg2
== NULL
) {
25663 PyErr_SetString(PyExc_TypeError
,"null reference");
25666 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
25667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25670 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 Py_INCREF(Py_None
); resultobj
= Py_None
;
25682 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25683 PyObject
*resultobj
;
25684 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25685 wxTreeItemId
*arg2
= 0 ;
25686 PyObject
*arg3
= (PyObject
*) 0 ;
25687 PyObject
* obj0
= 0 ;
25688 PyObject
* obj1
= 0 ;
25689 PyObject
* obj2
= 0 ;
25690 char *kwnames
[] = {
25691 (char *) "self",(char *) "item",(char *) "obj", NULL
25694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25700 if (arg2
== NULL
) {
25701 PyErr_SetString(PyExc_TypeError
,"null reference");
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25712 Py_INCREF(Py_None
); resultobj
= Py_None
;
25719 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25720 PyObject
*resultobj
;
25721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25722 wxTreeItemId
*arg2
= 0 ;
25723 bool arg3
= (bool) True
;
25724 PyObject
* obj0
= 0 ;
25725 PyObject
* obj1
= 0 ;
25726 PyObject
* obj2
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "item",(char *) "has", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25737 if (arg2
== NULL
) {
25738 PyErr_SetString(PyExc_TypeError
,"null reference");
25742 arg3
= (bool) SWIG_AsBool(obj2
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25747 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25762 wxTreeItemId
*arg2
= 0 ;
25763 bool arg3
= (bool) True
;
25764 PyObject
* obj0
= 0 ;
25765 PyObject
* obj1
= 0 ;
25766 PyObject
* obj2
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self",(char *) "item",(char *) "bold", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25777 if (arg2
== NULL
) {
25778 PyErr_SetString(PyExc_TypeError
,"null reference");
25782 arg3
= (bool) SWIG_AsBool(obj2
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 Py_INCREF(Py_None
); resultobj
= Py_None
;
25799 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25802 wxTreeItemId
*arg2
= 0 ;
25803 wxColour
*arg3
= 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "item",(char *) "col", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25818 if (arg2
== NULL
) {
25819 PyErr_SetString(PyExc_TypeError
,"null reference");
25824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 Py_INCREF(Py_None
); resultobj
= Py_None
;
25840 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25843 wxTreeItemId
*arg2
= 0 ;
25844 wxColour
*arg3
= 0 ;
25846 PyObject
* obj0
= 0 ;
25847 PyObject
* obj1
= 0 ;
25848 PyObject
* obj2
= 0 ;
25849 char *kwnames
[] = {
25850 (char *) "self",(char *) "item",(char *) "col", NULL
25853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25859 if (arg2
== NULL
) {
25860 PyErr_SetString(PyExc_TypeError
,"null reference");
25865 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
25868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25869 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
25871 wxPyEndAllowThreads(__tstate
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 Py_INCREF(Py_None
); resultobj
= Py_None
;
25881 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
;
25883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25884 wxTreeItemId
*arg2
= 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 PyObject
* obj2
= 0 ;
25889 char *kwnames
[] = {
25890 (char *) "self",(char *) "item",(char *) "font", NULL
25893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25897 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25899 if (arg2
== NULL
) {
25900 PyErr_SetString(PyExc_TypeError
,"null reference");
25903 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25906 if (arg3
== NULL
) {
25907 PyErr_SetString(PyExc_TypeError
,"null reference");
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
25914 wxPyEndAllowThreads(__tstate
);
25915 if (PyErr_Occurred()) SWIG_fail
;
25917 Py_INCREF(Py_None
); resultobj
= Py_None
;
25924 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25927 wxTreeItemId
*arg2
= 0 ;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "item", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25941 if (arg2
== NULL
) {
25942 PyErr_SetString(PyExc_TypeError
,"null reference");
25946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25947 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25961 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25962 PyObject
*resultobj
;
25963 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25964 wxTreeItemId
*arg2
= 0 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 char *kwnames
[] = {
25969 (char *) "self",(char *) "item", NULL
25972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
25973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25976 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25978 if (arg2
== NULL
) {
25979 PyErr_SetString(PyExc_TypeError
,"null reference");
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25998 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26001 wxTreeItemId
*arg2
= 0 ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj1
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "item", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26015 if (arg2
== NULL
) {
26016 PyErr_SetString(PyExc_TypeError
,"null reference");
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26035 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
;
26037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26038 wxTreeItemId
*arg2
= 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 char *kwnames
[] = {
26043 (char *) "self",(char *) "item", NULL
26046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26052 if (arg2
== NULL
) {
26053 PyErr_SetString(PyExc_TypeError
,"null reference");
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26072 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26075 wxTreeItemId
*arg2
= 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "item", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26089 if (arg2
== NULL
) {
26090 PyErr_SetString(PyExc_TypeError
,"null reference");
26094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26095 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26109 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26112 wxTreeItemId
*arg2
= 0 ;
26113 bool arg3
= (bool) True
;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 PyObject
* obj2
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "item",(char *) "recursively", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26128 if (arg2
== NULL
) {
26129 PyErr_SetString(PyExc_TypeError
,"null reference");
26133 arg3
= (bool) SWIG_AsBool(obj2
);
26134 if (PyErr_Occurred()) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
26150 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26153 wxTreeItemId result
;
26154 PyObject
* obj0
= 0 ;
26155 char *kwnames
[] = {
26156 (char *) "self", NULL
26159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 wxTreeItemId
* resultptr
;
26171 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26180 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26183 wxTreeItemId result
;
26184 PyObject
* obj0
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "self", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26200 wxTreeItemId
* resultptr
;
26201 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26210 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26211 PyObject
*resultobj
;
26212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26214 PyObject
* obj0
= 0 ;
26215 char *kwnames
[] = {
26216 (char *) "self", NULL
26219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= result
;
26236 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26239 wxTreeItemId
*arg2
= 0 ;
26240 wxTreeItemId result
;
26241 PyObject
* obj0
= 0 ;
26242 PyObject
* obj1
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self",(char *) "item", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26250 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26251 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26253 if (arg2
== NULL
) {
26254 PyErr_SetString(PyExc_TypeError
,"null reference");
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26261 wxPyEndAllowThreads(__tstate
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 wxTreeItemId
* resultptr
;
26266 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26275 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26278 wxTreeItemId
*arg2
= 0 ;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "item", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26292 if (arg2
== NULL
) {
26293 PyErr_SetString(PyExc_TypeError
,"null reference");
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= result
;
26310 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26313 wxTreeItemId
*arg2
= 0 ;
26314 void *arg3
= (void *) 0 ;
26316 PyObject
* obj0
= 0 ;
26317 PyObject
* obj1
= 0 ;
26318 PyObject
* obj2
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "item",(char *) "cookie", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26329 if (arg2
== NULL
) {
26330 PyErr_SetString(PyExc_TypeError
,"null reference");
26333 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= result
;
26348 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26351 wxTreeItemId
*arg2
= 0 ;
26352 wxTreeItemId result
;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "item", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26365 if (arg2
== NULL
) {
26366 PyErr_SetString(PyExc_TypeError
,"null reference");
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26377 wxTreeItemId
* resultptr
;
26378 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26387 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26390 wxTreeItemId
*arg2
= 0 ;
26391 wxTreeItemId result
;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self",(char *) "item", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26404 if (arg2
== NULL
) {
26405 PyErr_SetString(PyExc_TypeError
,"null reference");
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxTreeItemId
* resultptr
;
26417 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26426 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26429 wxTreeItemId
*arg2
= 0 ;
26430 wxTreeItemId result
;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self",(char *) "item", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26443 if (arg2
== NULL
) {
26444 PyErr_SetString(PyExc_TypeError
,"null reference");
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 wxTreeItemId
* resultptr
;
26456 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26465 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26468 wxTreeItemId result
;
26469 PyObject
* obj0
= 0 ;
26470 char *kwnames
[] = {
26471 (char *) "self", NULL
26474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 wxTreeItemId
* resultptr
;
26486 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26495 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26498 wxTreeItemId
*arg2
= 0 ;
26499 wxTreeItemId result
;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "item", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26512 if (arg2
== NULL
) {
26513 PyErr_SetString(PyExc_TypeError
,"null reference");
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26524 wxTreeItemId
* resultptr
;
26525 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26534 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26537 wxTreeItemId
*arg2
= 0 ;
26538 wxTreeItemId result
;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "item", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26551 if (arg2
== NULL
) {
26552 PyErr_SetString(PyExc_TypeError
,"null reference");
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26557 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26563 wxTreeItemId
* resultptr
;
26564 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26573 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
;
26575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26576 wxString
*arg2
= 0 ;
26577 int arg3
= (int) -1 ;
26578 int arg4
= (int) -1 ;
26579 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26580 wxTreeItemId result
;
26581 bool temp2
= False
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 PyObject
* obj2
= 0 ;
26585 PyObject
* obj3
= 0 ;
26586 PyObject
* obj4
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 arg2
= wxString_in_helper(obj1
);
26596 if (arg2
== NULL
) SWIG_fail
;
26600 arg3
= (int) SWIG_AsInt(obj2
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 arg4
= (int) SWIG_AsInt(obj3
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26619 wxTreeItemId
* resultptr
;
26620 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26637 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26640 wxTreeItemId
*arg2
= 0 ;
26641 wxString
*arg3
= 0 ;
26642 int arg4
= (int) -1 ;
26643 int arg5
= (int) -1 ;
26644 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26645 wxTreeItemId result
;
26646 bool temp3
= False
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 PyObject
* obj2
= 0 ;
26650 PyObject
* obj3
= 0 ;
26651 PyObject
* obj4
= 0 ;
26652 PyObject
* obj5
= 0 ;
26653 char *kwnames
[] = {
26654 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26663 if (arg2
== NULL
) {
26664 PyErr_SetString(PyExc_TypeError
,"null reference");
26668 arg3
= wxString_in_helper(obj2
);
26669 if (arg3
== NULL
) SWIG_fail
;
26673 arg4
= (int) SWIG_AsInt(obj3
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26677 arg5
= (int) SWIG_AsInt(obj4
);
26678 if (PyErr_Occurred()) SWIG_fail
;
26681 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 wxTreeItemId
* resultptr
;
26693 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26710 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26711 PyObject
*resultobj
;
26712 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26713 wxTreeItemId
*arg2
= 0 ;
26714 wxTreeItemId
*arg3
= 0 ;
26715 wxString
*arg4
= 0 ;
26716 int arg5
= (int) -1 ;
26717 int arg6
= (int) -1 ;
26718 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26719 wxTreeItemId result
;
26720 bool temp4
= False
;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 PyObject
* obj2
= 0 ;
26724 PyObject
* obj3
= 0 ;
26725 PyObject
* obj4
= 0 ;
26726 PyObject
* obj5
= 0 ;
26727 PyObject
* obj6
= 0 ;
26728 char *kwnames
[] = {
26729 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26738 if (arg2
== NULL
) {
26739 PyErr_SetString(PyExc_TypeError
,"null reference");
26742 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26745 if (arg3
== NULL
) {
26746 PyErr_SetString(PyExc_TypeError
,"null reference");
26750 arg4
= wxString_in_helper(obj3
);
26751 if (arg4
== NULL
) SWIG_fail
;
26755 arg5
= (int) SWIG_AsInt(obj4
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 arg6
= (int) SWIG_AsInt(obj5
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26763 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26768 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26770 wxPyEndAllowThreads(__tstate
);
26771 if (PyErr_Occurred()) SWIG_fail
;
26774 wxTreeItemId
* resultptr
;
26775 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26792 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26793 PyObject
*resultobj
;
26794 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26795 wxTreeItemId
*arg2
= 0 ;
26797 wxString
*arg4
= 0 ;
26798 int arg5
= (int) -1 ;
26799 int arg6
= (int) -1 ;
26800 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
26801 wxTreeItemId result
;
26802 bool temp4
= False
;
26803 PyObject
* obj0
= 0 ;
26804 PyObject
* obj1
= 0 ;
26805 PyObject
* obj2
= 0 ;
26806 PyObject
* obj3
= 0 ;
26807 PyObject
* obj4
= 0 ;
26808 PyObject
* obj5
= 0 ;
26809 PyObject
* obj6
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
26815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26820 if (arg2
== NULL
) {
26821 PyErr_SetString(PyExc_TypeError
,"null reference");
26824 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 arg4
= wxString_in_helper(obj3
);
26828 if (arg4
== NULL
) SWIG_fail
;
26832 arg5
= (int) SWIG_AsInt(obj4
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26836 arg6
= (int) SWIG_AsInt(obj5
);
26837 if (PyErr_Occurred()) SWIG_fail
;
26840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26845 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26851 wxTreeItemId
* resultptr
;
26852 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26869 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26872 wxTreeItemId
*arg2
= 0 ;
26873 wxString
*arg3
= 0 ;
26874 int arg4
= (int) -1 ;
26875 int arg5
= (int) -1 ;
26876 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26877 wxTreeItemId result
;
26878 bool temp3
= False
;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 PyObject
* obj2
= 0 ;
26882 PyObject
* obj3
= 0 ;
26883 PyObject
* obj4
= 0 ;
26884 PyObject
* obj5
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26895 if (arg2
== NULL
) {
26896 PyErr_SetString(PyExc_TypeError
,"null reference");
26900 arg3
= wxString_in_helper(obj2
);
26901 if (arg3
== NULL
) SWIG_fail
;
26905 arg4
= (int) SWIG_AsInt(obj3
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 arg5
= (int) SWIG_AsInt(obj4
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26913 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
26914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26924 wxTreeItemId
* resultptr
;
26925 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26942 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26943 PyObject
*resultobj
;
26944 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26945 wxTreeItemId
*arg2
= 0 ;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 char *kwnames
[] = {
26949 (char *) "self",(char *) "item", NULL
26952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
26953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26956 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26958 if (arg2
== NULL
) {
26959 PyErr_SetString(PyExc_TypeError
,"null reference");
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 Py_INCREF(Py_None
); resultobj
= Py_None
;
26976 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26979 wxTreeItemId
*arg2
= 0 ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 char *kwnames
[] = {
26983 (char *) "self",(char *) "item", NULL
26986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26992 if (arg2
== NULL
) {
26993 PyErr_SetString(PyExc_TypeError
,"null reference");
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27000 wxPyEndAllowThreads(__tstate
);
27001 if (PyErr_Occurred()) SWIG_fail
;
27003 Py_INCREF(Py_None
); resultobj
= Py_None
;
27010 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 char *kwnames
[] = {
27015 (char *) "self", NULL
27018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 (arg1
)->DeleteAllItems();
27025 wxPyEndAllowThreads(__tstate
);
27026 if (PyErr_Occurred()) SWIG_fail
;
27028 Py_INCREF(Py_None
); resultobj
= Py_None
;
27035 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27036 PyObject
*resultobj
;
27037 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27038 wxTreeItemId
*arg2
= 0 ;
27039 PyObject
* obj0
= 0 ;
27040 PyObject
* obj1
= 0 ;
27041 char *kwnames
[] = {
27042 (char *) "self",(char *) "item", NULL
27045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27051 if (arg2
== NULL
) {
27052 PyErr_SetString(PyExc_TypeError
,"null reference");
27056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27057 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27062 Py_INCREF(Py_None
); resultobj
= Py_None
;
27069 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27070 PyObject
*resultobj
;
27071 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27072 wxTreeItemId
*arg2
= 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "item", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27085 if (arg2
== NULL
) {
27086 PyErr_SetString(PyExc_TypeError
,"null reference");
27090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27091 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27093 wxPyEndAllowThreads(__tstate
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27096 Py_INCREF(Py_None
); resultobj
= Py_None
;
27103 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27106 wxTreeItemId
*arg2
= 0 ;
27107 PyObject
* obj0
= 0 ;
27108 PyObject
* obj1
= 0 ;
27109 char *kwnames
[] = {
27110 (char *) "self",(char *) "item", NULL
27113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27119 if (arg2
== NULL
) {
27120 PyErr_SetString(PyExc_TypeError
,"null reference");
27124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27127 wxPyEndAllowThreads(__tstate
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27130 Py_INCREF(Py_None
); resultobj
= Py_None
;
27137 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27140 wxTreeItemId
*arg2
= 0 ;
27141 PyObject
* obj0
= 0 ;
27142 PyObject
* obj1
= 0 ;
27143 char *kwnames
[] = {
27144 (char *) "self",(char *) "item", NULL
27147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27153 if (arg2
== NULL
) {
27154 PyErr_SetString(PyExc_TypeError
,"null reference");
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27161 wxPyEndAllowThreads(__tstate
);
27162 if (PyErr_Occurred()) SWIG_fail
;
27164 Py_INCREF(Py_None
); resultobj
= Py_None
;
27171 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27172 PyObject
*resultobj
;
27173 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27174 PyObject
* obj0
= 0 ;
27175 char *kwnames
[] = {
27176 (char *) "self", NULL
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 (arg1
)->Unselect();
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27189 Py_INCREF(Py_None
); resultobj
= Py_None
;
27196 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27197 PyObject
*resultobj
;
27198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27199 wxTreeItemId
*arg2
= 0 ;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self",(char *) "item", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27212 if (arg2
== NULL
) {
27213 PyErr_SetString(PyExc_TypeError
,"null reference");
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 Py_INCREF(Py_None
); resultobj
= Py_None
;
27230 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 (arg1
)->UnselectAll();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 Py_INCREF(Py_None
); resultobj
= Py_None
;
27255 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27258 wxTreeItemId
*arg2
= 0 ;
27259 bool arg3
= (bool) True
;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 PyObject
* obj2
= 0 ;
27263 char *kwnames
[] = {
27264 (char *) "self",(char *) "item",(char *) "select", NULL
27267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27273 if (arg2
== NULL
) {
27274 PyErr_SetString(PyExc_TypeError
,"null reference");
27278 arg3
= (bool) SWIG_AsBool(obj2
);
27279 if (PyErr_Occurred()) SWIG_fail
;
27282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27283 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 Py_INCREF(Py_None
); resultobj
= Py_None
;
27295 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27296 PyObject
*resultobj
;
27297 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27298 wxTreeItemId
*arg2
= 0 ;
27299 PyObject
* obj0
= 0 ;
27300 PyObject
* obj1
= 0 ;
27301 char *kwnames
[] = {
27302 (char *) "self",(char *) "item", NULL
27305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27311 if (arg2
== NULL
) {
27312 PyErr_SetString(PyExc_TypeError
,"null reference");
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 Py_INCREF(Py_None
); resultobj
= Py_None
;
27329 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27330 PyObject
*resultobj
;
27331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27332 wxTreeItemId
*arg2
= 0 ;
27333 PyObject
* obj0
= 0 ;
27334 PyObject
* obj1
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self",(char *) "item", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27345 if (arg2
== NULL
) {
27346 PyErr_SetString(PyExc_TypeError
,"null reference");
27350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27351 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 Py_INCREF(Py_None
); resultobj
= Py_None
;
27363 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27364 PyObject
*resultobj
;
27365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27366 wxTreeItemId
*arg2
= 0 ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char *kwnames
[] = {
27370 (char *) "self",(char *) "item", NULL
27373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27379 if (arg2
== NULL
) {
27380 PyErr_SetString(PyExc_TypeError
,"null reference");
27384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 Py_INCREF(Py_None
); resultobj
= Py_None
;
27397 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
;
27399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27400 wxTreeItemId
*arg2
= 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "item", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27413 if (arg2
== NULL
) {
27414 PyErr_SetString(PyExc_TypeError
,"null reference");
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27424 Py_INCREF(Py_None
); resultobj
= Py_None
;
27431 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27434 wxTextCtrl
*result
;
27435 PyObject
* obj0
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27445 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= wxPyMake_wxObject(result
);
27459 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
;
27461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27462 wxTreeItemId
*arg2
= 0 ;
27463 PyObject
* obj0
= 0 ;
27464 PyObject
* obj1
= 0 ;
27465 char *kwnames
[] = {
27466 (char *) "self",(char *) "item", NULL
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27475 if (arg2
== NULL
) {
27476 PyErr_SetString(PyExc_TypeError
,"null reference");
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27483 wxPyEndAllowThreads(__tstate
);
27484 if (PyErr_Occurred()) SWIG_fail
;
27486 Py_INCREF(Py_None
); resultobj
= Py_None
;
27493 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27494 PyObject
*resultobj
;
27495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27496 wxPoint
*arg2
= 0 ;
27498 wxTreeItemId result
;
27501 PyObject
* obj0
= 0 ;
27502 PyObject
* obj1
= 0 ;
27503 char *kwnames
[] = {
27504 (char *) "self",(char *) "point", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 wxTreeItemId
* resultptr
;
27524 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27528 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
27529 resultobj
= t_output_helper(resultobj
,o
);
27537 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27540 wxTreeItemId
*arg2
= 0 ;
27541 bool arg3
= (bool) False
;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 PyObject
* obj2
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27556 if (arg2
== NULL
) {
27557 PyErr_SetString(PyExc_TypeError
,"null reference");
27561 arg3
= (bool) SWIG_AsBool(obj2
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= result
;
27578 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27581 wxVisualAttributes result
;
27582 PyObject
* obj0
= 0 ;
27583 char *kwnames
[] = {
27584 (char *) "variant", NULL
27587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27589 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
27590 if (PyErr_Occurred()) SWIG_fail
;
27593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27594 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27600 wxVisualAttributes
* resultptr
;
27601 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27610 static PyObject
* TreeCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
27612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27613 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27615 return Py_BuildValue((char *)"");
27617 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*_val
) {
27618 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27623 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27628 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27630 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27637 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxWindow
*arg1
= (wxWindow
*) 0 ;
27640 int arg2
= (int) (int)-1 ;
27641 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27642 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27647 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27648 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27650 int arg8
= (int) 0 ;
27651 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27652 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27653 wxGenericDirCtrl
*result
;
27654 bool temp3
= False
;
27657 bool temp7
= False
;
27658 bool temp9
= False
;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 PyObject
* obj2
= 0 ;
27662 PyObject
* obj3
= 0 ;
27663 PyObject
* obj4
= 0 ;
27664 PyObject
* obj5
= 0 ;
27665 PyObject
* obj6
= 0 ;
27666 PyObject
* obj7
= 0 ;
27667 PyObject
* obj8
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
27673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27676 arg2
= (int const) SWIG_AsInt(obj1
);
27677 if (PyErr_Occurred()) SWIG_fail
;
27681 arg3
= wxString_in_helper(obj2
);
27682 if (arg3
== NULL
) SWIG_fail
;
27689 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27695 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27699 arg6
= (long) SWIG_AsLong(obj5
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27704 arg7
= wxString_in_helper(obj6
);
27705 if (arg7
== NULL
) SWIG_fail
;
27710 arg8
= (int) SWIG_AsInt(obj7
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27715 arg9
= wxString_in_helper(obj8
);
27716 if (arg9
== NULL
) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27758 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxGenericDirCtrl
*result
;
27761 char *kwnames
[] = {
27765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
27767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27768 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
27770 wxPyEndAllowThreads(__tstate
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
27780 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
;
27782 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27783 wxWindow
*arg2
= (wxWindow
*) 0 ;
27784 int arg3
= (int) (int)-1 ;
27785 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
27786 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
27788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
27789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
27790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
27791 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27792 wxString
const &arg8_defvalue
= wxPyEmptyString
;
27793 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
27794 int arg9
= (int) 0 ;
27795 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
27796 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
27798 bool temp4
= False
;
27801 bool temp8
= False
;
27802 bool temp10
= False
;
27803 PyObject
* obj0
= 0 ;
27804 PyObject
* obj1
= 0 ;
27805 PyObject
* obj2
= 0 ;
27806 PyObject
* obj3
= 0 ;
27807 PyObject
* obj4
= 0 ;
27808 PyObject
* obj5
= 0 ;
27809 PyObject
* obj6
= 0 ;
27810 PyObject
* obj7
= 0 ;
27811 PyObject
* obj8
= 0 ;
27812 PyObject
* obj9
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 arg3
= (int const) SWIG_AsInt(obj2
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27828 arg4
= wxString_in_helper(obj3
);
27829 if (arg4
== NULL
) SWIG_fail
;
27836 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
27842 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
27846 arg7
= (long) SWIG_AsLong(obj6
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27851 arg8
= wxString_in_helper(obj7
);
27852 if (arg8
== NULL
) SWIG_fail
;
27857 arg9
= (int) SWIG_AsInt(obj8
);
27858 if (PyErr_Occurred()) SWIG_fail
;
27862 arg10
= wxString_in_helper(obj9
);
27863 if (arg10
== NULL
) SWIG_fail
;
27868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27869 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
27871 wxPyEndAllowThreads(__tstate
);
27872 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27907 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27910 wxString
*arg2
= 0 ;
27912 bool temp2
= False
;
27913 PyObject
* obj0
= 0 ;
27914 PyObject
* obj1
= 0 ;
27915 char *kwnames
[] = {
27916 (char *) "self",(char *) "path", NULL
27919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27923 arg2
= wxString_in_helper(obj1
);
27924 if (arg2
== NULL
) SWIG_fail
;
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
27931 wxPyEndAllowThreads(__tstate
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27951 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27955 PyObject
* obj0
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "self", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
27961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
27967 wxPyEndAllowThreads(__tstate
);
27968 if (PyErr_Occurred()) SWIG_fail
;
27972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27983 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
;
27985 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
27986 wxString
*arg2
= 0 ;
27987 bool temp2
= False
;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "path", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27998 arg2
= wxString_in_helper(obj1
);
27999 if (arg2
== NULL
) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 Py_INCREF(Py_None
); resultobj
= Py_None
;
28024 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28025 PyObject
*resultobj
;
28026 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28028 PyObject
* obj0
= 0 ;
28029 char *kwnames
[] = {
28030 (char *) "self", NULL
28033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28056 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
;
28058 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28060 PyObject
* obj0
= 0 ;
28061 char *kwnames
[] = {
28062 (char *) "self", NULL
28065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28070 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28072 wxPyEndAllowThreads(__tstate
);
28073 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28088 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28091 wxString
*arg2
= 0 ;
28092 bool temp2
= False
;
28093 PyObject
* obj0
= 0 ;
28094 PyObject
* obj1
= 0 ;
28095 char *kwnames
[] = {
28096 (char *) "self",(char *) "path", NULL
28099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28103 arg2
= wxString_in_helper(obj1
);
28104 if (arg2
== NULL
) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 (arg1
)->SetPath((wxString
const &)*arg2
);
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28114 Py_INCREF(Py_None
); resultobj
= Py_None
;
28129 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self",(char *) "show", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28142 arg2
= (bool) SWIG_AsBool(obj1
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 (arg1
)->ShowHidden(arg2
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 Py_INCREF(Py_None
); resultobj
= Py_None
;
28158 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
;
28160 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28162 PyObject
* obj0
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 result
= (bool)(arg1
)->GetShowHidden();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28186 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28187 PyObject
*resultobj
;
28188 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 char *kwnames
[] = {
28192 (char *) "self", NULL
28195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28218 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28221 wxString
*arg2
= 0 ;
28222 bool temp2
= False
;
28223 PyObject
* obj0
= 0 ;
28224 PyObject
* obj1
= 0 ;
28225 char *kwnames
[] = {
28226 (char *) "self",(char *) "filter", NULL
28229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28233 arg2
= wxString_in_helper(obj1
);
28234 if (arg2
== NULL
) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 (arg1
)->SetFilter((wxString
const &)*arg2
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 Py_INCREF(Py_None
); resultobj
= Py_None
;
28259 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
;
28261 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28263 PyObject
* obj0
= 0 ;
28264 char *kwnames
[] = {
28265 (char *) "self", NULL
28268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28275 wxPyEndAllowThreads(__tstate
);
28276 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= SWIG_FromInt((int)result
);
28285 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28286 PyObject
*resultobj
;
28287 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "n", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 arg2
= (int) SWIG_AsInt(obj1
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 (arg1
)->SetFilterIndex(arg2
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 Py_INCREF(Py_None
); resultobj
= Py_None
;
28314 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28315 PyObject
*resultobj
;
28316 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28317 wxTreeItemId result
;
28318 PyObject
* obj0
= 0 ;
28319 char *kwnames
[] = {
28320 (char *) "self", NULL
28323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28328 result
= (arg1
)->GetRootId();
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 wxTreeItemId
* resultptr
;
28335 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28336 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28344 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28347 wxPyTreeCtrl
*result
;
28348 PyObject
* obj0
= 0 ;
28349 char *kwnames
[] = {
28350 (char *) "self", NULL
28353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28358 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28364 resultobj
= wxPyMake_wxObject(result
);
28372 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28373 PyObject
*resultobj
;
28374 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28375 wxDirFilterListCtrl
*result
;
28376 PyObject
* obj0
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28398 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28401 wxTreeItemId arg2
;
28402 wxString
*arg3
= 0 ;
28404 wxTreeItemId result
;
28405 wxTreeItemId
*argp2
;
28406 bool temp3
= False
;
28408 PyObject
* obj0
= 0 ;
28409 PyObject
* obj1
= 0 ;
28410 PyObject
* obj2
= 0 ;
28411 char *kwnames
[] = {
28412 (char *) "self",(char *) "parentId",(char *) "path", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28420 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28423 arg3
= wxString_in_helper(obj2
);
28424 if (arg3
== NULL
) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28435 wxTreeItemId
* resultptr
;
28436 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28440 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
28441 resultobj
= t_output_helper(resultobj
,o
);
28457 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28460 PyObject
* obj0
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 (arg1
)->DoResize();
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 Py_INCREF(Py_None
); resultobj
= Py_None
;
28482 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28485 PyObject
* obj0
= 0 ;
28486 char *kwnames
[] = {
28487 (char *) "self", NULL
28490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->ReCreateTree();
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28507 static PyObject
* GenericDirCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28510 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28512 return Py_BuildValue((char *)"");
28514 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28515 PyObject
*resultobj
;
28516 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28517 int arg2
= (int) (int)-1 ;
28518 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28519 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28520 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28521 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28522 long arg5
= (long) 0 ;
28523 wxDirFilterListCtrl
*result
;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 PyObject
* obj2
= 0 ;
28529 PyObject
* obj3
= 0 ;
28530 PyObject
* obj4
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28539 arg2
= (int const) SWIG_AsInt(obj1
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28555 arg5
= (long) SWIG_AsLong(obj4
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28560 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28572 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28574 wxDirFilterListCtrl
*result
;
28575 char *kwnames
[] = {
28579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28594 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
;
28596 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28597 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28598 int arg3
= (int) (int)-1 ;
28599 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28600 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28601 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28602 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28603 long arg6
= (long) 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 PyObject
* obj2
= 0 ;
28610 PyObject
* obj3
= 0 ;
28611 PyObject
* obj4
= 0 ;
28612 PyObject
* obj5
= 0 ;
28613 char *kwnames
[] = {
28614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28623 arg3
= (int const) SWIG_AsInt(obj2
);
28624 if (PyErr_Occurred()) SWIG_fail
;
28629 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28635 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28639 arg6
= (long) SWIG_AsLong(obj5
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28658 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28659 PyObject
*resultobj
;
28660 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28661 wxString
*arg2
= 0 ;
28663 bool temp2
= False
;
28664 PyObject
* obj0
= 0 ;
28665 PyObject
* obj1
= 0 ;
28666 PyObject
* obj2
= 0 ;
28667 char *kwnames
[] = {
28668 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28675 arg2
= wxString_in_helper(obj1
);
28676 if (arg2
== NULL
) SWIG_fail
;
28679 arg3
= (int) SWIG_AsInt(obj2
);
28680 if (PyErr_Occurred()) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 Py_INCREF(Py_None
); resultobj
= Py_None
;
28703 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
28705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28706 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
28708 return Py_BuildValue((char *)"");
28710 static PyObject
*_wrap_new_PyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28711 PyObject
*resultobj
;
28712 wxWindow
*arg1
= (wxWindow
*) 0 ;
28714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28718 long arg5
= (long) 0 ;
28719 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28720 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28721 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28722 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28723 wxPyControl
*result
;
28726 bool temp7
= False
;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 PyObject
* obj2
= 0 ;
28730 PyObject
* obj3
= 0 ;
28731 PyObject
* obj4
= 0 ;
28732 PyObject
* obj5
= 0 ;
28733 PyObject
* obj6
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
28739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28741 arg2
= (int const) SWIG_AsInt(obj1
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28756 arg5
= (long) SWIG_AsLong(obj4
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28760 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
28761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28763 if (arg6
== NULL
) {
28764 PyErr_SetString(PyExc_TypeError
,"null reference");
28770 arg7
= wxString_in_helper(obj6
);
28771 if (arg7
== NULL
) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28797 static PyObject
*_wrap_new_PrePyControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28798 PyObject
*resultobj
;
28799 wxPyControl
*result
;
28800 char *kwnames
[] = {
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
28806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28807 result
= (wxPyControl
*)new wxPyControl();
28809 wxPyEndAllowThreads(__tstate
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
28819 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28820 PyObject
*resultobj
;
28821 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28822 PyObject
*arg2
= (PyObject
*) 0 ;
28823 PyObject
*arg3
= (PyObject
*) 0 ;
28824 PyObject
* obj0
= 0 ;
28825 PyObject
* obj1
= 0 ;
28826 PyObject
* obj2
= 0 ;
28827 char *kwnames
[] = {
28828 (char *) "self",(char *) "self",(char *) "_class", NULL
28831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 Py_INCREF(Py_None
); resultobj
= Py_None
;
28850 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28855 PyObject
* obj0
= 0 ;
28856 PyObject
* obj1
= 0 ;
28857 char *kwnames
[] = {
28858 (char *) "self",(char *) "size", NULL
28861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
28862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28866 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28870 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 Py_INCREF(Py_None
); resultobj
= Py_None
;
28882 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
;
28884 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28889 PyObject
* obj0
= 0 ;
28890 PyObject
* obj1
= 0 ;
28891 PyObject
* obj2
= 0 ;
28892 PyObject
* obj3
= 0 ;
28893 PyObject
* obj4
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 arg2
= (int) SWIG_AsInt(obj1
);
28902 if (PyErr_Occurred()) SWIG_fail
;
28903 arg3
= (int) SWIG_AsInt(obj2
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28905 arg4
= (int) SWIG_AsInt(obj3
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28907 arg5
= (int) SWIG_AsInt(obj4
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28916 Py_INCREF(Py_None
); resultobj
= Py_None
;
28923 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28924 PyObject
*resultobj
;
28925 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28930 int arg6
= (int) wxSIZE_AUTO
;
28931 PyObject
* obj0
= 0 ;
28932 PyObject
* obj1
= 0 ;
28933 PyObject
* obj2
= 0 ;
28934 PyObject
* obj3
= 0 ;
28935 PyObject
* obj4
= 0 ;
28936 PyObject
* obj5
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 arg2
= (int) SWIG_AsInt(obj1
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28946 arg3
= (int) SWIG_AsInt(obj2
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28948 arg4
= (int) SWIG_AsInt(obj3
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28950 arg5
= (int) SWIG_AsInt(obj4
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 arg6
= (int) SWIG_AsInt(obj5
);
28954 if (PyErr_Occurred()) SWIG_fail
;
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
28960 wxPyEndAllowThreads(__tstate
);
28961 if (PyErr_Occurred()) SWIG_fail
;
28963 Py_INCREF(Py_None
); resultobj
= Py_None
;
28970 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28971 PyObject
*resultobj
;
28972 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self",(char *) "width",(char *) "height", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
28984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28985 arg2
= (int) SWIG_AsInt(obj1
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28987 arg3
= (int) SWIG_AsInt(obj2
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
28993 wxPyEndAllowThreads(__tstate
);
28994 if (PyErr_Occurred()) SWIG_fail
;
28996 Py_INCREF(Py_None
); resultobj
= Py_None
;
29003 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29004 PyObject
*resultobj
;
29005 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self",(char *) "x",(char *) "y", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29018 arg2
= (int) SWIG_AsInt(obj1
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29020 arg3
= (int) SWIG_AsInt(obj2
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29036 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29039 int *arg2
= (int *) 0 ;
29040 int *arg3
= (int *) 0 ;
29043 PyObject
* obj0
= 0 ;
29044 char *kwnames
[] = {
29045 (char *) "self", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 Py_INCREF(Py_None
); resultobj
= Py_None
;
29062 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29063 resultobj
= t_output_helper(resultobj
,o
);
29066 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29067 resultobj
= t_output_helper(resultobj
,o
);
29075 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29078 int *arg2
= (int *) 0 ;
29079 int *arg3
= (int *) 0 ;
29082 PyObject
* obj0
= 0 ;
29083 char *kwnames
[] = {
29084 (char *) "self", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29094 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29096 wxPyEndAllowThreads(__tstate
);
29097 if (PyErr_Occurred()) SWIG_fail
;
29099 Py_INCREF(Py_None
); resultobj
= Py_None
;
29101 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29102 resultobj
= t_output_helper(resultobj
,o
);
29105 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29106 resultobj
= t_output_helper(resultobj
,o
);
29114 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
;
29116 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29117 int *arg2
= (int *) 0 ;
29118 int *arg3
= (int *) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "self", NULL
29128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29135 wxPyEndAllowThreads(__tstate
);
29136 if (PyErr_Occurred()) SWIG_fail
;
29138 Py_INCREF(Py_None
); resultobj
= Py_None
;
29140 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
29141 resultobj
= t_output_helper(resultobj
,o
);
29144 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
29145 resultobj
= t_output_helper(resultobj
,o
);
29153 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29167 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29173 wxSize
* resultptr
;
29174 resultptr
= new wxSize((wxSize
&) result
);
29175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29183 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 wxSize
* resultptr
;
29204 resultptr
= new wxSize((wxSize
&) result
);
29205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29213 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29216 PyObject
* obj0
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 (arg1
)->base_InitDialog();
29228 wxPyEndAllowThreads(__tstate
);
29229 if (PyErr_Occurred()) SWIG_fail
;
29231 Py_INCREF(Py_None
); resultobj
= Py_None
;
29238 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29239 PyObject
*resultobj
;
29240 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29242 PyObject
* obj0
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29252 result
= (bool)(arg1
)->base_TransferDataToWindow();
29254 wxPyEndAllowThreads(__tstate
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29266 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29267 PyObject
*resultobj
;
29268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29270 PyObject
* obj0
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29294 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29298 PyObject
* obj0
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (bool)(arg1
)->base_Validate();
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29322 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29323 PyObject
*resultobj
;
29324 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29326 PyObject
* obj0
= 0 ;
29327 char *kwnames
[] = {
29328 (char *) "self", NULL
29331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29336 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29338 wxPyEndAllowThreads(__tstate
);
29339 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29350 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29354 PyObject
* obj0
= 0 ;
29355 char *kwnames
[] = {
29356 (char *) "self", NULL
29359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29364 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29366 wxPyEndAllowThreads(__tstate
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29378 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29382 PyObject
* obj0
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "self", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29392 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29398 wxSize
* resultptr
;
29399 resultptr
= new wxSize((wxSize
&) result
);
29400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29408 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
;
29410 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29411 wxWindow
*arg2
= (wxWindow
*) 0 ;
29412 PyObject
* obj0
= 0 ;
29413 PyObject
* obj1
= 0 ;
29414 char *kwnames
[] = {
29415 (char *) "self",(char *) "child", NULL
29418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 (arg1
)->base_AddChild(arg2
);
29427 wxPyEndAllowThreads(__tstate
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29430 Py_INCREF(Py_None
); resultobj
= Py_None
;
29437 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29438 PyObject
*resultobj
;
29439 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29440 wxWindow
*arg2
= (wxWindow
*) 0 ;
29441 PyObject
* obj0
= 0 ;
29442 PyObject
* obj1
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "child", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 (arg1
)->base_RemoveChild(arg2
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 Py_INCREF(Py_None
); resultobj
= Py_None
;
29466 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29468 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29470 PyObject
* obj0
= 0 ;
29471 char *kwnames
[] = {
29472 (char *) "self", NULL
29475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29480 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29494 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
;
29496 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29497 wxColour
*arg2
= 0 ;
29499 PyObject
* obj0
= 0 ;
29500 PyObject
* obj1
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self",(char *) "c", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29510 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 Py_INCREF(Py_None
); resultobj
= Py_None
;
29526 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29529 wxVisualAttributes result
;
29530 PyObject
* obj0
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (arg1
)->base_GetDefaultAttributes();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29546 wxVisualAttributes
* resultptr
;
29547 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29556 static PyObject
* PyControl_swigregister(PyObject
*self
, PyObject
*args
) {
29558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29559 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29561 return Py_BuildValue((char *)"");
29563 static PyObject
*_wrap_new_HelpEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29565 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29566 int arg2
= (int) 0 ;
29567 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29568 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29569 wxHelpEvent
*result
;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 PyObject
* obj2
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "type",(char *) "winid",(char *) "pt", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29580 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
29581 if (PyErr_Occurred()) SWIG_fail
;
29584 arg2
= (int) SWIG_AsInt(obj1
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29590 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29595 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29597 wxPyEndAllowThreads(__tstate
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29607 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 wxPoint
* resultptr
;
29628 resultptr
= new wxPoint((wxPoint
&) result
);
29629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29637 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29638 PyObject
*resultobj
;
29639 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29640 wxPoint
*arg2
= 0 ;
29642 PyObject
* obj0
= 0 ;
29643 PyObject
* obj1
= 0 ;
29644 char *kwnames
[] = {
29645 (char *) "self",(char *) "pos", NULL
29648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29657 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
29659 wxPyEndAllowThreads(__tstate
);
29660 if (PyErr_Occurred()) SWIG_fail
;
29662 Py_INCREF(Py_None
); resultobj
= Py_None
;
29669 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
29685 result
= (wxString
*) &_result_ref
;
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29693 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29695 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29704 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29707 wxString
*arg2
= 0 ;
29708 bool temp2
= False
;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "link", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29719 arg2
= wxString_in_helper(obj1
);
29720 if (arg2
== NULL
) SWIG_fail
;
29724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29725 (arg1
)->SetLink((wxString
const &)*arg2
);
29727 wxPyEndAllowThreads(__tstate
);
29728 if (PyErr_Occurred()) SWIG_fail
;
29730 Py_INCREF(Py_None
); resultobj
= Py_None
;
29745 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29746 PyObject
*resultobj
;
29747 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29749 PyObject
* obj0
= 0 ;
29750 char *kwnames
[] = {
29751 (char *) "self", NULL
29754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
29755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
29761 result
= (wxString
*) &_result_ref
;
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29771 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29780 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29781 PyObject
*resultobj
;
29782 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29783 wxString
*arg2
= 0 ;
29784 bool temp2
= False
;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self",(char *) "target", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
29792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 arg2
= wxString_in_helper(obj1
);
29796 if (arg2
== NULL
) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 (arg1
)->SetTarget((wxString
const &)*arg2
);
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 Py_INCREF(Py_None
); resultobj
= Py_None
;
29821 static PyObject
* HelpEvent_swigregister(PyObject
*self
, PyObject
*args
) {
29823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29824 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
29826 return Py_BuildValue((char *)"");
29828 static PyObject
*_wrap_new_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxWindow
*arg1
= (wxWindow
*) NULL
;
29831 bool arg2
= (bool) True
;
29832 wxContextHelp
*result
;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "window",(char *) "doNow", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29845 arg2
= (bool) SWIG_AsBool(obj1
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29850 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
29862 static PyObject
*_wrap_delete_ContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29863 PyObject
*resultobj
;
29864 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29865 PyObject
* obj0
= 0 ;
29866 char *kwnames
[] = {
29867 (char *) "self", NULL
29870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
29871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 wxPyEndAllowThreads(__tstate
);
29878 if (PyErr_Occurred()) SWIG_fail
;
29880 Py_INCREF(Py_None
); resultobj
= Py_None
;
29887 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29888 PyObject
*resultobj
;
29889 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29890 wxWindow
*arg2
= (wxWindow
*) NULL
;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self",(char *) "window", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
29899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29907 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
29909 wxPyEndAllowThreads(__tstate
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29921 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
;
29923 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
29925 PyObject
* obj0
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29935 result
= (bool)(arg1
)->EndContextHelp();
29937 wxPyEndAllowThreads(__tstate
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29949 static PyObject
* ContextHelp_swigregister(PyObject
*self
, PyObject
*args
) {
29951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29952 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
29954 return Py_BuildValue((char *)"");
29956 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
;
29958 wxWindow
*arg1
= (wxWindow
*) 0 ;
29959 int arg2
= (int) wxID_CONTEXT_HELP
;
29960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29964 long arg5
= (long) wxBU_AUTODRAW
;
29965 wxContextHelpButton
*result
;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 PyObject
* obj2
= 0 ;
29971 PyObject
* obj3
= 0 ;
29972 PyObject
* obj4
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29981 arg2
= (int) SWIG_AsInt(obj1
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29997 arg5
= (long) SWIG_AsLong(obj4
);
29998 if (PyErr_Occurred()) SWIG_fail
;
30001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30002 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30014 static PyObject
* ContextHelpButton_swigregister(PyObject
*self
, PyObject
*args
) {
30016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30017 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30019 return Py_BuildValue((char *)"");
30021 static PyObject
*_wrap_HelpProvider_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30024 wxHelpProvider
*result
;
30025 PyObject
* obj0
= 0 ;
30026 char *kwnames
[] = {
30027 (char *) "helpProvider", NULL
30030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30035 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30047 static PyObject
*_wrap_HelpProvider_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
;
30049 wxHelpProvider
*result
;
30050 char *kwnames
[] = {
30054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30057 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30069 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
;
30071 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30072 wxWindow
*arg2
= (wxWindow
*) 0 ;
30074 PyObject
* obj0
= 0 ;
30075 PyObject
* obj1
= 0 ;
30076 char *kwnames
[] = {
30077 (char *) "self",(char *) "window", NULL
30080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30089 wxPyEndAllowThreads(__tstate
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30096 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30105 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30108 wxWindow
*arg2
= (wxWindow
*) 0 ;
30110 PyObject
* obj0
= 0 ;
30111 PyObject
* obj1
= 0 ;
30112 char *kwnames
[] = {
30113 (char *) "self",(char *) "window", NULL
30116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30123 result
= (bool)(arg1
)->ShowHelp(arg2
);
30125 wxPyEndAllowThreads(__tstate
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30137 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
;
30139 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30140 wxWindow
*arg2
= (wxWindow
*) 0 ;
30141 wxString
*arg3
= 0 ;
30142 bool temp3
= False
;
30143 PyObject
* obj0
= 0 ;
30144 PyObject
* obj1
= 0 ;
30145 PyObject
* obj2
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "window",(char *) "text", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30156 arg3
= wxString_in_helper(obj2
);
30157 if (arg3
== NULL
) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 Py_INCREF(Py_None
); resultobj
= Py_None
;
30182 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
;
30184 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30186 wxString
*arg3
= 0 ;
30187 bool temp3
= False
;
30188 PyObject
* obj0
= 0 ;
30189 PyObject
* obj1
= 0 ;
30190 PyObject
* obj2
= 0 ;
30191 char *kwnames
[] = {
30192 (char *) "self",(char *) "id",(char *) "text", NULL
30195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30198 arg2
= (int) SWIG_AsInt(obj1
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 arg3
= wxString_in_helper(obj2
);
30202 if (arg3
== NULL
) SWIG_fail
;
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 Py_INCREF(Py_None
); resultobj
= Py_None
;
30227 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30228 PyObject
*resultobj
;
30229 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30230 wxWindow
*arg2
= (wxWindow
*) 0 ;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 char *kwnames
[] = {
30234 (char *) "self",(char *) "window", NULL
30237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 (arg1
)->RemoveHelp(arg2
);
30246 wxPyEndAllowThreads(__tstate
);
30247 if (PyErr_Occurred()) SWIG_fail
;
30249 Py_INCREF(Py_None
); resultobj
= Py_None
;
30256 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
;
30258 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30259 PyObject
* obj0
= 0 ;
30260 char *kwnames
[] = {
30261 (char *) "self", NULL
30264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 wxHelpProvider_Destroy(arg1
);
30271 wxPyEndAllowThreads(__tstate
);
30272 if (PyErr_Occurred()) SWIG_fail
;
30274 Py_INCREF(Py_None
); resultobj
= Py_None
;
30281 static PyObject
* HelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30284 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30286 return Py_BuildValue((char *)"");
30288 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxSimpleHelpProvider
*result
;
30291 char *kwnames
[] = {
30295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30300 wxPyEndAllowThreads(__tstate
);
30301 if (PyErr_Occurred()) SWIG_fail
;
30303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30310 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*self
, PyObject
*args
) {
30312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30313 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30315 return Py_BuildValue((char *)"");
30317 static PyObject
*_wrap_new_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30318 PyObject
*resultobj
;
30319 wxBitmap
*arg1
= 0 ;
30320 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30321 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30322 wxGenericDragImage
*result
;
30323 PyObject
* obj0
= 0 ;
30324 PyObject
* obj1
= 0 ;
30325 char *kwnames
[] = {
30326 (char *) "image",(char *) "cursor", NULL
30329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30333 if (arg1
== NULL
) {
30334 PyErr_SetString(PyExc_TypeError
,"null reference");
30338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30341 if (arg2
== NULL
) {
30342 PyErr_SetString(PyExc_TypeError
,"null reference");
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30360 static PyObject
*_wrap_new_DragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30363 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30364 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30365 wxGenericDragImage
*result
;
30366 PyObject
* obj0
= 0 ;
30367 PyObject
* obj1
= 0 ;
30368 char *kwnames
[] = {
30369 (char *) "image",(char *) "cursor", NULL
30372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30374 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30376 if (arg1
== NULL
) {
30377 PyErr_SetString(PyExc_TypeError
,"null reference");
30381 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30384 if (arg2
== NULL
) {
30385 PyErr_SetString(PyExc_TypeError
,"null reference");
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30403 static PyObject
*_wrap_new_DragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxString
*arg1
= 0 ;
30406 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30407 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30408 wxGenericDragImage
*result
;
30409 bool temp1
= False
;
30410 PyObject
* obj0
= 0 ;
30411 PyObject
* obj1
= 0 ;
30412 char *kwnames
[] = {
30413 (char *) "str",(char *) "cursor", NULL
30416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30418 arg1
= wxString_in_helper(obj0
);
30419 if (arg1
== NULL
) SWIG_fail
;
30423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30426 if (arg2
== NULL
) {
30427 PyErr_SetString(PyExc_TypeError
,"null reference");
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30453 static PyObject
*_wrap_new_DragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30454 PyObject
*resultobj
;
30455 wxPyTreeCtrl
*arg1
= 0 ;
30456 wxTreeItemId
*arg2
= 0 ;
30457 wxGenericDragImage
*result
;
30458 PyObject
* obj0
= 0 ;
30459 PyObject
* obj1
= 0 ;
30460 char *kwnames
[] = {
30461 (char *) "treeCtrl",(char *) "id", NULL
30464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30468 if (arg1
== NULL
) {
30469 PyErr_SetString(PyExc_TypeError
,"null reference");
30472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30475 if (arg2
== NULL
) {
30476 PyErr_SetString(PyExc_TypeError
,"null reference");
30480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30481 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30493 static PyObject
*_wrap_new_DragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30494 PyObject
*resultobj
;
30495 wxPyListCtrl
*arg1
= 0 ;
30497 wxGenericDragImage
*result
;
30498 PyObject
* obj0
= 0 ;
30499 PyObject
* obj1
= 0 ;
30500 char *kwnames
[] = {
30501 (char *) "listCtrl",(char *) "id", NULL
30504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30508 if (arg1
== NULL
) {
30509 PyErr_SetString(PyExc_TypeError
,"null reference");
30512 arg2
= (long) SWIG_AsLong(obj1
);
30513 if (PyErr_Occurred()) SWIG_fail
;
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30518 wxPyEndAllowThreads(__tstate
);
30519 if (PyErr_Occurred()) SWIG_fail
;
30521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30528 static PyObject
*_wrap_delete_DragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
;
30530 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 char *kwnames
[] = {
30533 (char *) "self", NULL
30536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 wxPyEndAllowThreads(__tstate
);
30544 if (PyErr_Occurred()) SWIG_fail
;
30546 Py_INCREF(Py_None
); resultobj
= Py_None
;
30553 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30556 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30557 PyObject
* obj0
= 0 ;
30558 PyObject
* obj1
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self",(char *) "bitmap", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->SetBackingBitmap(arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30585 wxPoint
*arg2
= 0 ;
30586 wxWindow
*arg3
= (wxWindow
*) 0 ;
30587 bool arg4
= (bool) False
;
30588 wxRect
*arg5
= (wxRect
*) NULL
;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 PyObject
* obj2
= 0 ;
30594 PyObject
* obj3
= 0 ;
30595 PyObject
* obj4
= 0 ;
30596 char *kwnames
[] = {
30597 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30607 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30610 arg4
= (bool) SWIG_AsBool(obj3
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30614 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30633 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30636 wxPoint
*arg2
= 0 ;
30637 wxWindow
*arg3
= (wxWindow
*) 0 ;
30638 wxWindow
*arg4
= (wxWindow
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 PyObject
* obj2
= 0 ;
30644 PyObject
* obj3
= 0 ;
30645 char *kwnames
[] = {
30646 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30654 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30658 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
30659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30676 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
30686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30690 result
= (bool)(arg1
)->EndDrag();
30692 wxPyEndAllowThreads(__tstate
);
30693 if (PyErr_Occurred()) SWIG_fail
;
30696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30704 static PyObject
*_wrap_DragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30707 wxPoint
*arg2
= 0 ;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 char *kwnames
[] = {
30713 (char *) "self",(char *) "pt", NULL
30716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
30717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30725 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30739 static PyObject
*_wrap_DragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
;
30741 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30743 PyObject
* obj0
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "self", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
30749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (bool)(arg1
)->Show();
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30767 static PyObject
*_wrap_DragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30771 PyObject
* obj0
= 0 ;
30772 char *kwnames
[] = {
30773 (char *) "self", NULL
30776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
30777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30781 result
= (bool)(arg1
)->Hide();
30783 wxPyEndAllowThreads(__tstate
);
30784 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30795 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30796 PyObject
*resultobj
;
30797 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30798 wxPoint
*arg2
= 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "pos", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
30818 wxPyEndAllowThreads(__tstate
);
30819 if (PyErr_Occurred()) SWIG_fail
;
30822 wxRect
* resultptr
;
30823 resultptr
= new wxRect((wxRect
&) result
);
30824 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
30832 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
;
30834 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30836 wxPoint
*arg3
= 0 ;
30839 PyObject
* obj0
= 0 ;
30840 PyObject
* obj1
= 0 ;
30841 PyObject
* obj2
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "dc",(char *) "pos", NULL
30846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30852 if (arg2
== NULL
) {
30853 PyErr_SetString(PyExc_TypeError
,"null reference");
30858 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30876 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30880 wxMemoryDC
*arg3
= 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 PyObject
* obj3
= 0 ;
30890 PyObject
* obj4
= 0 ;
30891 char *kwnames
[] = {
30892 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
30899 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30901 if (arg2
== NULL
) {
30902 PyErr_SetString(PyExc_TypeError
,"null reference");
30905 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
30906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30908 if (arg3
== NULL
) {
30909 PyErr_SetString(PyExc_TypeError
,"null reference");
30914 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30918 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30936 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30939 wxPoint
*arg2
= 0 ;
30940 wxPoint
*arg3
= 0 ;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 PyObject
* obj2
= 0 ;
30949 PyObject
* obj3
= 0 ;
30950 PyObject
* obj4
= 0 ;
30951 char *kwnames
[] = {
30952 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30966 arg4
= (bool) SWIG_AsBool(obj3
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30968 arg5
= (bool) SWIG_AsBool(obj4
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30972 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30986 static PyObject
* DragImage_swigregister(PyObject
*self
, PyObject
*args
) {
30988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30989 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
30991 return Py_BuildValue((char *)"");
30993 static PyMethodDef SwigMethods
[] = {
30994 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
},
30995 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
},
30996 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
},
30997 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
},
30998 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
30999 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31000 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
},
31001 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31002 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
},
31003 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31004 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31005 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31006 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31007 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31008 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
},
31009 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
},
31010 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
},
31011 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
},
31012 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31013 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
},
31014 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
},
31015 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
},
31016 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31017 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
},
31018 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31019 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31020 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31021 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31022 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31023 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
},
31024 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
},
31025 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
},
31026 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31027 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
},
31028 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
},
31029 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
},
31030 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
},
31031 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31032 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31033 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31034 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31035 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
},
31036 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31037 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
},
31038 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31039 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31040 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31041 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31042 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31043 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31044 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31045 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31046 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31047 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31048 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31049 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
},
31050 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31051 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31052 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31053 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31054 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31055 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31056 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
},
31057 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
},
31058 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
},
31059 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
},
31060 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31061 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31062 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31063 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31064 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31065 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31066 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
},
31067 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31068 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
},
31069 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31070 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
},
31071 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31072 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
31073 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31074 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31075 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
},
31076 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31077 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
},
31078 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
},
31079 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31080 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
},
31081 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31082 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
},
31083 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
},
31084 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
},
31085 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
},
31086 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31087 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
},
31088 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31089 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31090 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
},
31091 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31092 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31093 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
31094 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31095 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
},
31096 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
},
31097 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
},
31098 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31099 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
},
31100 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
},
31101 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
},
31102 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31103 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31104 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
},
31105 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
},
31106 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31107 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31108 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31109 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
},
31110 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
},
31111 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31112 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31113 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
},
31114 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31115 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31116 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31117 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31118 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
},
31119 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31120 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
},
31121 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31122 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
31123 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
},
31124 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31125 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
31126 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
},
31127 { (char *)"new_TextAttr", _wrap_new_TextAttr
, METH_VARARGS
},
31128 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
},
31129 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
},
31130 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31131 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31132 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31133 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31134 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31135 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31136 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31137 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31138 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31139 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31140 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31141 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31142 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
},
31143 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31144 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31145 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
31146 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31147 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31148 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31149 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
},
31150 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
},
31151 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
},
31152 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
},
31153 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
31154 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
},
31155 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
},
31156 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
},
31157 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31158 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31159 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31160 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31161 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31162 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31163 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
},
31164 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
},
31165 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
},
31166 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
},
31167 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
},
31168 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
},
31169 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
},
31170 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31171 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31172 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31173 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
},
31174 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
},
31175 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
31176 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
31177 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
},
31178 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
},
31179 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
},
31180 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
},
31181 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
},
31182 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
},
31183 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31184 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31185 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31186 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
},
31187 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
},
31188 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
},
31189 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
},
31190 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31191 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
},
31192 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
},
31193 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
},
31194 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
},
31195 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
},
31196 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
},
31197 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
},
31198 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
},
31199 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
},
31200 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
},
31201 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31202 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
},
31203 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
},
31204 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
},
31205 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31206 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
},
31207 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
},
31208 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
},
31209 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31210 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31211 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
},
31212 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31213 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
31214 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
},
31215 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
},
31216 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
},
31217 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31218 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
},
31219 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31220 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31221 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
},
31222 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31223 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
},
31224 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31225 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
},
31226 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
31227 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31228 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
},
31229 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31230 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
},
31231 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31232 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31233 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31234 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31235 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31236 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31237 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31238 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31239 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31240 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31241 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
},
31242 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31243 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31244 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31245 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31246 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31247 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
},
31248 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31249 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31250 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31251 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31252 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31253 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
},
31254 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
},
31255 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31256 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31257 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
},
31258 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31259 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
},
31260 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
},
31261 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31262 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31263 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31264 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
31265 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31266 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
},
31267 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
},
31268 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
},
31269 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
},
31270 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
},
31271 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31272 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31273 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31274 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31275 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
},
31276 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31277 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
},
31278 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31279 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31280 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31281 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31282 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
},
31283 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
},
31284 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
},
31285 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
},
31286 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31287 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31288 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
},
31289 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
},
31290 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
},
31291 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
},
31292 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
},
31293 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31294 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31295 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
},
31296 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31297 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31298 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
},
31299 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31300 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
},
31301 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
},
31302 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
},
31303 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
},
31304 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
},
31305 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
},
31306 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31307 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31308 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
},
31309 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31310 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
},
31311 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
},
31312 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
31313 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
31314 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31315 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31316 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
},
31317 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
},
31318 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
},
31319 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31320 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31321 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
},
31322 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31323 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31324 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31325 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31326 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
},
31327 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
},
31328 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31329 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
},
31330 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
},
31331 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
},
31332 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
},
31333 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
},
31334 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31335 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
},
31336 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31337 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
},
31338 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
},
31339 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31340 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31341 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31342 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
},
31343 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
},
31344 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
},
31345 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31346 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31347 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
},
31348 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
},
31349 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
},
31350 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31351 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
},
31352 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31353 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
},
31354 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31355 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
},
31356 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
},
31357 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
},
31358 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
},
31359 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31360 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
},
31361 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
},
31362 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
},
31363 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
},
31364 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31365 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31366 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31367 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
},
31368 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
},
31369 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
31370 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
31371 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
},
31372 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
},
31373 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31374 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
},
31375 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31376 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
31377 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
},
31378 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31379 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
31380 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
31381 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31382 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
},
31383 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
},
31384 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31385 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31386 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31387 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31388 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31389 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31390 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
},
31391 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31392 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31393 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31394 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31395 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31396 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31397 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31398 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
},
31399 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
},
31400 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31401 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
31402 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
},
31403 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
},
31404 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
},
31405 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31406 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
},
31407 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
},
31408 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
},
31409 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
},
31410 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31411 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
31412 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
},
31413 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
},
31414 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
},
31415 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
},
31416 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
},
31417 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
},
31418 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
},
31419 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
},
31420 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31421 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
},
31422 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
},
31423 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
},
31424 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
},
31425 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31426 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
},
31427 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31428 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
},
31429 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
},
31430 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31431 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31432 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31433 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
},
31434 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
},
31435 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
},
31436 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
},
31437 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
31438 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
},
31439 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
},
31440 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
},
31441 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31442 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
},
31443 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
},
31444 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31445 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
},
31446 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
},
31447 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
},
31448 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31449 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
},
31450 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
},
31451 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
},
31452 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31453 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
},
31454 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
},
31455 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31456 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31457 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31458 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31459 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31460 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
},
31461 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31462 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31463 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31464 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31465 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
},
31466 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31467 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
},
31468 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
},
31469 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31470 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
31471 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31472 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31473 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
},
31474 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
},
31475 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
31476 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
},
31477 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31478 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31479 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31480 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31481 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31482 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
31483 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31484 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31485 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31486 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
},
31487 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31488 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31489 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31490 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
31491 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
},
31492 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31493 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31494 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31495 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31496 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
31497 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
},
31498 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
},
31499 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
},
31500 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
},
31501 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31502 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31503 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
},
31504 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
},
31505 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
},
31506 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
},
31507 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
},
31508 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
},
31509 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
},
31510 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
},
31511 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
},
31512 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
},
31513 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
},
31514 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
},
31515 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
},
31516 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
},
31517 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
},
31518 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
},
31519 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
},
31520 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
},
31521 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31522 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31523 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
},
31524 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
},
31525 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
},
31526 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
},
31527 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
},
31528 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
},
31529 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
},
31530 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31531 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
},
31532 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31533 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31534 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31535 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
31536 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
},
31537 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31538 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
},
31539 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31540 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
},
31541 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
},
31542 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31543 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31544 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
},
31545 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31546 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31547 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31548 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31549 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31550 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31551 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31552 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
},
31553 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31554 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
},
31555 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
},
31556 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
},
31557 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31558 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31559 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31560 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31561 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
},
31562 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31563 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31564 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31565 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31566 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31567 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31568 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
},
31569 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
},
31570 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31571 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
},
31572 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31573 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31574 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31575 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31576 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31577 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
},
31578 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
},
31579 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
31580 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
},
31581 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31582 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31583 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31584 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
},
31585 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
},
31586 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
},
31587 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
},
31588 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
},
31589 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
31590 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31591 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
},
31592 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
},
31593 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
},
31594 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31595 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31596 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
31597 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
},
31598 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
},
31599 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31600 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31601 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31602 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
},
31603 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
},
31604 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
},
31605 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
},
31606 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
},
31607 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
},
31608 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31609 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31610 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31611 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31612 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
},
31613 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
},
31614 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31615 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
},
31616 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
},
31617 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
},
31618 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
},
31619 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
},
31620 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
},
31621 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
},
31622 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
},
31623 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
},
31624 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31625 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31626 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
},
31627 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
},
31628 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31629 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
},
31630 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
31631 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
},
31632 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
},
31633 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
},
31634 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
},
31635 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
},
31636 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
},
31637 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
},
31638 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
},
31639 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
},
31640 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
},
31641 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31642 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
},
31643 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
},
31644 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
},
31645 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
},
31646 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31647 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
},
31648 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31649 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
},
31650 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31651 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
31652 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
31653 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31654 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
31655 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
},
31656 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
},
31657 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
31658 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
},
31659 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31660 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31661 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31662 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31663 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
31664 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31665 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
},
31666 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31667 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
},
31668 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31669 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31670 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
},
31671 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31672 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
},
31673 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
},
31674 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31675 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31676 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31677 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31678 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31679 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31680 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31681 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
},
31682 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
},
31683 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
},
31684 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
},
31685 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31686 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
},
31687 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
},
31688 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
31689 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
},
31690 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
31691 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
},
31692 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
},
31693 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
},
31694 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
},
31695 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
},
31696 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
},
31697 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
31698 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
},
31699 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
},
31700 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
},
31701 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
},
31702 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
},
31703 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
},
31704 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
},
31705 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
},
31706 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
},
31707 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
},
31708 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
},
31709 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
31710 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
31711 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
},
31712 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
31713 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
},
31714 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
},
31715 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
},
31716 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
},
31717 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
},
31718 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
},
31719 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
31720 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
},
31721 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
},
31722 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
},
31723 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
},
31724 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
},
31725 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
},
31726 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
},
31727 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
},
31728 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
},
31729 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
},
31730 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
31731 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
},
31732 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31733 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
},
31734 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31735 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31736 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31737 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
},
31738 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31739 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
},
31740 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
31741 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
},
31742 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
31743 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31744 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
},
31745 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31746 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
},
31747 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31748 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
},
31749 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
},
31750 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31751 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31752 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
},
31753 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
},
31754 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
},
31755 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
},
31756 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31757 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
},
31758 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
},
31759 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
},
31760 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
},
31761 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
},
31762 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
},
31763 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
31764 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31765 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
},
31766 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
},
31767 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31768 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31769 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
},
31770 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
31771 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31772 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
31773 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
31774 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
31775 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
31776 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31777 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
},
31778 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
31779 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
31780 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
31781 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
31782 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
31783 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
31784 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
},
31785 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
31786 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
},
31787 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
},
31788 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31789 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
31790 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
},
31791 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
},
31792 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31793 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
},
31794 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
},
31795 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31796 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31797 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31798 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
},
31799 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
},
31800 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
},
31801 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
},
31802 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
},
31803 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
},
31804 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
31805 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
},
31806 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
},
31807 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
},
31808 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
},
31809 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
31810 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
},
31811 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
},
31812 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
},
31813 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31814 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
},
31815 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
},
31816 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
31817 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
},
31818 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
},
31819 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
31820 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
31821 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
},
31822 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
31823 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
31824 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
31825 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
31826 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
31827 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31828 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
31829 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
31830 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
},
31835 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31837 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
31838 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31840 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
31841 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31843 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
31844 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
31846 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
31847 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31849 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
31850 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31852 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
31853 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
31855 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
31856 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31858 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
31859 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
31861 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
31862 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
31864 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
31865 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
31867 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31868 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31870 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31871 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31873 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31874 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31876 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31877 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31879 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31880 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31882 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
31883 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
31885 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31886 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31888 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31889 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31891 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31892 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31894 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
31895 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
31897 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
31898 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
31900 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31901 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31903 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31904 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31906 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
31907 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
31909 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
31910 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
31912 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
31913 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
31915 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
31916 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
31918 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31919 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31921 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31922 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31924 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31925 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31927 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31928 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31930 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31931 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31933 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31934 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31936 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31937 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31939 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31940 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31942 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31943 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31945 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31946 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31948 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31949 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31951 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31952 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31954 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31955 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31957 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31958 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31960 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31961 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31963 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31964 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31966 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31967 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31969 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31970 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31972 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31973 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31975 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31976 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31978 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31979 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31981 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31984 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31985 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31987 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31988 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31990 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31991 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31993 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
31994 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
31996 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
31997 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
31999 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32000 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32002 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32003 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32005 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32006 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32008 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32009 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32011 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32012 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32014 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32015 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32017 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32018 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32020 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32021 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32023 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32024 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32026 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32027 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32029 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32030 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32032 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32033 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32035 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32036 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32038 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32039 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32041 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32042 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32044 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32045 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32047 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32048 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32050 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32051 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32053 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32054 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32056 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32057 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32059 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32060 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32062 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32063 return (void *)((wxControl
*) ((wxGauge
*) x
));
32065 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32066 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32068 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32069 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32071 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32072 return (void *)((wxControl
*) ((wxButton
*) x
));
32074 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32075 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32077 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32078 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32080 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32081 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32083 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32084 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32086 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32087 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32089 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32090 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32092 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32093 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32095 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32096 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32098 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32099 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32101 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32102 return (void *)((wxControl
*) ((wxSlider
*) x
));
32104 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32105 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32107 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32108 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32110 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32111 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32113 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32114 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32116 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32117 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32119 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32120 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32122 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32123 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32125 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32126 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32128 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32129 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32131 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32132 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32134 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32135 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32137 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32138 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32140 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32143 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32146 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32147 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32149 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32150 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32152 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32155 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32156 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32158 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32161 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32164 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32165 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32167 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32168 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32170 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32173 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32176 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32179 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32182 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32185 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32186 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32188 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32189 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32191 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32194 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32197 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32200 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32203 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32206 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32209 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32212 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32215 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32216 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32218 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32221 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32224 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32227 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32230 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32233 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32236 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32239 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32242 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32245 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32248 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32251 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32254 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32257 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32260 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32261 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32263 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32264 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32266 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32267 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32269 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32270 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32272 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32273 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32275 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32276 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32278 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32279 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32281 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32282 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32284 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32285 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32287 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32288 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32290 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32293 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32294 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32296 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32299 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32302 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32303 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32305 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32306 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32308 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) ((wxSizer
*) x
));
32311 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32314 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32317 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32320 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32323 static void *_p_wxEventTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) ((wxEvent
*) x
));
32326 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32329 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32332 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32335 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32338 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32341 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32344 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32347 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32350 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32353 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32356 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32359 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32362 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32365 static void *_p_wxControlTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32368 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32371 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32374 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32377 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32380 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32383 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32386 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32389 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32392 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32395 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32398 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32401 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32404 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32407 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32410 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32413 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32416 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32419 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32422 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32425 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32428 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32431 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32434 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32437 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32440 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32443 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32446 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32449 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32452 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32455 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32458 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32461 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32464 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32467 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32470 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32473 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32476 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32479 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32482 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32485 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32488 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32491 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32494 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32497 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32500 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32503 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32506 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32509 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32512 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32515 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32518 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32521 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32524 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32527 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32530 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32533 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) ((wxListItem
*) x
));
32536 static void *_p_wxImageTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) ((wxImage
*) x
));
32539 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32542 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32545 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32548 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32551 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32554 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32557 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32560 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32563 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32566 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32569 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32572 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32575 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32578 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32581 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32584 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32587 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32590 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32593 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32596 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32599 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32602 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32605 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32608 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32611 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32614 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32617 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32620 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32623 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32626 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32629 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32632 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32635 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32638 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32639 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32641 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32642 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32644 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32645 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32647 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32648 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
32650 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
32651 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
32653 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
32654 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
32656 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32657 return (void *)((wxWindow
*) ((wxControl
*) x
));
32659 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
32660 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
32662 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
32663 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32665 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
32666 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
32668 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
32669 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
32671 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
32672 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
32674 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
32675 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
32677 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32678 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32680 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
32681 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
32683 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
32684 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
32686 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
32687 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32689 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
32690 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
32692 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
32693 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
32695 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
32696 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
32698 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
32699 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32701 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
32702 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32704 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
32705 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32707 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
32708 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32710 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
32711 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32713 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
32714 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
32716 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
32717 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
32719 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
32720 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
32722 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
32723 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
32725 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
32726 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
32728 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
32729 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
32731 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
32732 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
32734 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
32735 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32737 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
32738 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32740 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
32741 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
32743 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32744 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32746 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
32747 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32749 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
32750 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32752 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32753 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32755 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32756 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32758 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32759 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32761 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32762 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32764 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
32765 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32767 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
32768 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32770 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
32771 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
32773 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32774 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32776 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
32777 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32779 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
32780 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32782 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
32783 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
32785 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32786 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32788 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32789 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32791 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
32792 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32794 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
32795 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
32797 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
32798 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
32800 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
32801 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
32803 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
32804 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
32806 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}};
32807 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}};
32808 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}};
32809 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}};
32810 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}};
32811 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}};
32812 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}};
32813 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}};
32814 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}};
32815 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}};
32816 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}};
32817 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}};
32818 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}};
32819 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}};
32820 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}};
32821 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}};
32822 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}};
32823 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}};
32824 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}};
32825 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}};
32826 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32827 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}};
32828 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}};
32829 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}};
32830 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}};
32831 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}};
32832 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}};
32833 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}};
32834 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}};
32835 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}};
32836 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}};
32837 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}};
32838 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}};
32839 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}};
32840 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}};
32841 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}};
32842 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}};
32843 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}};
32844 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}};
32845 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}};
32846 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}};
32847 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}};
32848 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}};
32849 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}};
32850 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}};
32851 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}};
32852 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}};
32853 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}};
32854 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}};
32855 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}};
32856 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}};
32857 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}};
32858 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}};
32859 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}};
32860 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}};
32861 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}};
32862 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}};
32863 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}};
32864 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}};
32865 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}};
32866 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}};
32867 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}};
32868 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}};
32869 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}};
32870 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}};
32871 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}};
32872 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}};
32873 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}};
32874 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}};
32875 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}};
32876 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}};
32877 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}};
32878 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}};
32879 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}};
32880 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}};
32881 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}};
32882 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}};
32883 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}};
32884 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}};
32885 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32886 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}};
32887 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}};
32888 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}};
32889 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}};
32890 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}};
32892 static swig_type_info
*swig_types_initial
[] = {
32893 _swigt__p_wxTextUrlEvent
,
32894 _swigt__p_wxBookCtrlEvent
,
32896 _swigt__p_wxCheckBox
,
32897 _swigt__p_wxPyTreeCtrl
,
32899 _swigt__p_wxGenericDirCtrl
,
32901 _swigt__p_wxPyTreeItemData
,
32902 _swigt__p_wxItemContainer
,
32903 _swigt__p_wxPyListCtrl
,
32904 _swigt__p_wxDirFilterListCtrl
,
32905 _swigt__p_wxStaticLine
,
32906 _swigt__p_wxControl
,
32907 _swigt__p_wxPyControl
,
32909 _swigt__p_wxToolBarBase
,
32911 _swigt__p_wxToggleButton
,
32912 _swigt__p_wxRadioButton
,
32913 _swigt__p_wxChoice
,
32914 _swigt__p_wxMemoryDC
,
32915 _swigt__p_wxListItemAttr
,
32920 _swigt__p_wxListView
,
32922 _swigt__p_wxVisualAttributes
,
32923 _swigt__p_wxTextCtrl
,
32924 _swigt__p_wxNotebook
,
32925 _swigt__p_wxNotifyEvent
,
32926 _swigt__p_wxArrayString
,
32927 _swigt__p_wxListbook
,
32928 _swigt__p_wxStaticBitmap
,
32929 _swigt__p_wxSlider
,
32930 _swigt__p_wxStaticBox
,
32931 _swigt__p_wxArrayInt
,
32932 _swigt__p_wxContextHelp
,
32934 _swigt__p_wxEvtHandler
,
32935 _swigt__p_wxListEvent
,
32936 _swigt__p_wxCheckListBox
,
32937 _swigt__p_wxListBox
,
32938 _swigt__p_wxBookCtrl
,
32939 _swigt__p_wxSpinButton
,
32940 _swigt__p_wxButton
,
32941 _swigt__p_wxBitmapButton
,
32943 _swigt__p_wxContextHelpButton
,
32944 _swigt__p_wxRadioBox
,
32945 _swigt__p_wxScrollBar
,
32947 _swigt__p_wxTreeItemId
,
32948 _swigt__p_wxComboBox
,
32949 _swigt__p_wxHelpEvent
,
32950 _swigt__p_wxListItem
,
32951 _swigt__p_wxNotebookSizer
,
32952 _swigt__p_wxSpinEvent
,
32953 _swigt__p_wxGenericDragImage
,
32954 _swigt__p_wxSpinCtrl
,
32955 _swigt__p_wxImageList
,
32956 _swigt__p_wxHelpProvider
,
32957 _swigt__p_wxTextAttr
,
32958 _swigt__p_wxSimpleHelpProvider
,
32960 _swigt__p_wxListbookEvent
,
32961 _swigt__p_wxNotebookEvent
,
32962 _swigt__p_wxObject
,
32963 _swigt__p_wxCursor
,
32964 _swigt__p_wxKeyEvent
,
32965 _swigt__p_wxWindow
,
32966 _swigt__p_wxString
,
32967 _swigt__p_wxBitmap
,
32968 _swigt__p_wxTreeEvent
,
32969 _swigt__p_wxMouseEvent
,
32970 _swigt__p_wxCommandEvent
,
32971 _swigt__p_wxStaticText
,
32972 _swigt__p_wxControlWithItems
,
32973 _swigt__p_wxToolBarToolBase
,
32974 _swigt__p_wxColour
,
32975 _swigt__p_wxToolBar
,
32976 _swigt__p_wxBookCtrlSizer
,
32977 _swigt__p_wxValidator
,
32982 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32984 static swig_const_info swig_const_table
[] = {
32994 SWIGEXPORT(void) SWIG_init(void) {
32995 static PyObject
*SWIG_globals
= 0;
32996 static int typeinit
= 0;
32999 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33000 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33001 d
= PyModule_GetDict(m
);
33004 for (i
= 0; swig_types_initial
[i
]; i
++) {
33005 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33009 SWIG_InstallConstants(d
,swig_const_table
);
33011 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33012 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33013 PyDict_SetItemString(d
,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT
));
33014 PyDict_SetItemString(d
,"BU_TOP", SWIG_FromInt((int)wxBU_TOP
));
33015 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT
));
33016 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM
));
33017 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT
));
33018 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW
));
33019 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33020 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE
));
33021 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE
));
33022 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33023 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED
));
33024 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED
));
33025 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED
));
33026 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33027 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33028 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33029 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL
));
33030 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL
));
33031 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH
));
33032 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR
));
33033 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33034 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33035 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33036 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33037 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33038 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL
));
33039 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL
));
33040 PyDict_SetItemString(d
,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY
));
33041 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE
));
33042 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB
));
33043 PyDict_SetItemString(d
,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT
));
33044 PyDict_SetItemString(d
,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER
));
33045 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT
));
33046 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE
));
33047 PyDict_SetItemString(d
,"TE_RICH", SWIG_FromInt((int)wxTE_RICH
));
33048 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER
));
33049 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD
));
33050 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL
));
33051 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL
));
33052 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP
));
33053 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP
));
33054 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP
));
33055 PyDict_SetItemString(d
,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2
));
33056 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT
));
33057 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT
));
33058 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE
));
33059 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER
));
33060 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT
));
33061 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33062 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR
));
33063 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33064 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE
));
33065 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE
));
33066 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT
));
33067 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC
));
33068 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33069 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT
));
33070 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT
));
33071 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT
));
33072 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT
));
33073 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS
));
33074 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN
));
33075 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE
));
33076 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT
));
33077 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW
));
33078 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND
));
33079 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33080 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33081 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33082 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33083 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33084 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33085 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33086 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL
));
33087 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL
));
33088 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS
));
33089 PyDict_SetItemString(d
,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP
));
33090 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33091 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33092 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33093 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33094 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33095 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33096 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33097 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH
));
33098 PyDict_SetItemString(d
,"NB_TOP", SWIG_FromInt((int)wxNB_TOP
));
33099 PyDict_SetItemString(d
,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT
));
33100 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT
));
33101 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM
));
33102 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE
));
33103 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE
));
33104 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON
));
33105 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL
));
33106 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM
));
33107 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33108 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33109 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT
));
33110 PyDict_SetItemString(d
,"LB_TOP", SWIG_FromInt((int)wxLB_TOP
));
33111 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM
));
33112 PyDict_SetItemString(d
,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT
));
33113 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT
));
33114 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK
));
33115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33116 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33117 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON
));
33118 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR
));
33119 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL
));
33120 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL
));
33121 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL
));
33122 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS
));
33123 PyDict_SetItemString(d
,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT
));
33124 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE
));
33125 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS
));
33126 PyDict_SetItemString(d
,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT
));
33127 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER
));
33128 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN
));
33129 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT
));
33130 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT
));
33131 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33132 PyDict_SetItemString(d
,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES
));
33133 PyDict_SetItemString(d
,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES
));
33134 PyDict_SetItemString(d
,"LC_ICON", SWIG_FromInt((int)wxLC_ICON
));
33135 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON
));
33136 PyDict_SetItemString(d
,"LC_LIST", SWIG_FromInt((int)wxLC_LIST
));
33137 PyDict_SetItemString(d
,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT
));
33138 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP
));
33139 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT
));
33140 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE
));
33141 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL
));
33142 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS
));
33143 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER
));
33144 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER
));
33145 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL
));
33146 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING
));
33147 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING
));
33148 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE
));
33149 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN
));
33150 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT
));
33151 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE
));
33152 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT
));
33153 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE
));
33154 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA
));
33155 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM
));
33156 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH
));
33157 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT
));
33158 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE
));
33159 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED
));
33160 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED
));
33161 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED
));
33162 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT
));
33163 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED
));
33164 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED
));
33165 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE
));
33166 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED
));
33167 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE
));
33168 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE
));
33169 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW
));
33170 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE
));
33171 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON
));
33172 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL
));
33173 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT
));
33174 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33175 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT
));
33176 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT
));
33177 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM
));
33178 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE
));
33179 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL
));
33180 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW
));
33181 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT
));
33182 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT
));
33183 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT
));
33184 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT
));
33185 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP
));
33186 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33187 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT
));
33188 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT
));
33189 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE
));
33190 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER
));
33191 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE
));
33192 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER
));
33193 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS
));
33194 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON
));
33195 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL
));
33196 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP
));
33197 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN
));
33198 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT
));
33199 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT
));
33200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33209 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33212 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33213 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33214 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33215 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33216 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33217 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33218 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33219 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33220 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33221 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33223 // Map renamed classes back to their common name for OOR
33224 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33226 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33227 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS
));
33228 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS
));
33229 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES
));
33230 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT
));
33231 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE
));
33232 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE
));
33233 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED
));
33234 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33235 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS
));
33236 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT
));
33237 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES
));
33238 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT
));
33239 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE
));
33240 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS
));
33241 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS
));
33242 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS
));
33243 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal
));
33244 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected
));
33245 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded
));
33246 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded
));
33247 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max
));
33248 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE
));
33249 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW
));
33250 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE
));
33251 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON
));
33252 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON
));
33253 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT
));
33254 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL
));
33255 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT
));
33256 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33257 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT
));
33258 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT
));
33259 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33260 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33261 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM
));
33262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33268 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33269 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33270 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33271 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33272 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33273 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33274 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33275 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33276 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33277 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33278 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33279 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33280 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33281 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33283 // Map renamed classes back to their common name for OOR
33284 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33285 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33287 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33288 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY
));
33289 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST
));
33290 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS
));
33291 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL
));
33292 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS
));
33293 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP
));
33294 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP
));
33295 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33296 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33298 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");